Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ManagedUpgradePredicate ¶
ManagedUpgradePredicate is used for managing predicates of the UpgradeConfig
func StatusChangedPredicate ¶
StatusChangedPredicate is a function that executes predicates for an UpgradeConfig
Types ¶
type ReconcileUpgradeConfig ¶
type ReconcileUpgradeConfig struct { Client client.Client Scheme *runtime.Scheme MetricsClientBuilder metrics.MetricsBuilder ClusterUpgraderBuilder cub.ClusterUpgraderBuilder ValidationBuilder validation.ValidationBuilder ConfigManagerBuilder configmanager.ConfigManagerBuilder Scheduler scheduler.Scheduler CvClientBuilder cv.ClusterVersionBuilder EventManagerBuilder eventmanager.EventManagerBuilder UcMgrBuilder ucmgr.UpgradeConfigManagerBuilder DvoClientBuilder dvo.DvoClientBuilder }
ReconcileUpgradeConfig reconciles a UpgradeConfig object
func (*ReconcileUpgradeConfig) Reconcile ¶
func (r *ReconcileUpgradeConfig) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a UpgradeConfig object and makes changes based on the state read and what is in the UpgradeConfig.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
func (*ReconcileUpgradeConfig) SetupWithManager ¶
func (r *ReconcileUpgradeConfig) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.