phases

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

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

ReconcilePhase defines a per-cluster function that reconciles one aspect of AKODeploymentConfig

type ReconcilePhase

ReconcilePhase defines a function that reconciles one aspect of AKODeploymentConfig

Jump to

Keyboard shortcuts

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