controller

package
v0.0.0-...-be64ad0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PropagationReadyReason

type PropagationReadyReason string
const (
	BackendInitFailedPropagationReadyReason PropagationReadyReason = "BackendInitFailed"
	ConfigInitFailedPropagationReadyReason  PropagationReadyReason = "ConfigInitFailed"
	VersionMissingPropagationReadyReason    PropagationReadyReason = "VersionMissing"
	ReadyPropagationReadyReason             PropagationReadyReason = "Ready"
)

type PropagationReconciler

type PropagationReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	clients.PropagationClientset
}

PropagationReconciler reconciles a Propagation object

func (*PropagationReconciler) Reconcile

func (r *PropagationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*PropagationReconciler) SetReadyConditionFalse

func (r *PropagationReconciler) SetReadyConditionFalse(ctx context.Context, propagation *v1alpha1.Propagation, err error, reason PropagationReadyReason) (ctrl.Result, error)

func (*PropagationReconciler) SetupWithManager

func (r *PropagationReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL