Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReconcileClustersPhases ¶
func ReconcileClustersPhases( ctx context.Context, client client.Client, log logr.Logger, obj *akoov1alpha1.AKODeploymentConfig, normalPhases []ReconcileClusterPhase, deletePhases []ReconcileClusterPhase, ) (ctrl.Result, error)
reconcileClusters reconcile every cluster that matches the AKODeploymentConfig's selector by running through an array of phases
func ReconcilePhases ¶
func ReconcilePhases( ctx context.Context, log logr.Logger, obj *akoov1alpha1.AKODeploymentConfig, phases []ReconcilePhase, ) (ctrl.Result, error)
reconcilePhases runs each phase regardless of its error status. The aggregated error will be returned
Types ¶
type ReconcileClusterPhase ¶
type ReconcileClusterPhase func(context.Context, logr.Logger, *clusterv1.Cluster, *akoov1alpha1.AKODeploymentConfig) (ctrl.Result, error)
ReconcilePhase defines a per-cluster function that reconciles one aspect of AKODeploymentConfig
type ReconcilePhase ¶
type ReconcilePhase func(context.Context, logr.Logger, *akoov1alpha1.AKODeploymentConfig) (ctrl.Result, error)
ReconcilePhase defines a function that reconciles one aspect of AKODeploymentConfig
Click to show internal directories.
Click to hide internal directories.