Documentation
¶
Index ¶
- type PropagationReadyReason
- type PropagationReconciler
- func (r *PropagationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *PropagationReconciler) SetReadyConditionFalse(ctx context.Context, propagation *v1alpha1.Propagation, err error, ...) (ctrl.Result, error)
- func (r *PropagationReconciler) SetupWithManager(mgr ctrl.Manager) error
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.
Click to show internal directories.
Click to hide internal directories.