upgradeconfig

package
v0.0.0-...-a56079f Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ManagedUpgradePredicate

func ManagedUpgradePredicate() predicate.Predicate

ManagedUpgradePredicate is used for managing predicates of the UpgradeConfig

func StatusChangedPredicate

func StatusChangedPredicate() predicate.Predicate

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
}

ReconcileUpgradeConfig reconciles a UpgradeConfig object

func (*ReconcileUpgradeConfig) Reconcile

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.

Jump to

Keyboard shortcuts

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