controllers

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// InstallEventReason The name of the installation event
	InstallEventReason = "Installation"
	// DeinstallationEventReason The name of the deinstallation event
	DeinstallationEventReason = "Deinstallation"
	// UpgradeEventReason The name of the upgrade event
	UpgradeEventReason = "Upgrade"
	// DowngradeEventReason The name of the downgrade event
	DowngradeEventReason = "Downgrade"
	// RequeueEventReason The name of the requeue event
	RequeueEventReason = "Requeue"
	// FailedNameValidationEventReason The name of the event to validate spec.name and metadata.name of a component.
	FailedNameValidationEventReason = "FailedNameValidation"
	// Install represents the install-operation
	Install = operation("Install")
	// Upgrade represents the upgrade-operation
	Upgrade = operation("Upgrade")
	// Downgrade represents the downgrade-operation. Currently not supported.
	Downgrade = operation("Downgrade")
	// Delete represents the delete-operation
	Delete = operation("Delete")
	// Ignore represents the ignore-operation
	Ignore = operation("Ignore")
)

Variables

This section is empty.

Functions

func NewComponentDeleteManager

func NewComponentDeleteManager(componentClient componentInterface, helmClient helmClient) *componentDeleteManager

NewComponentDeleteManager creates a new instance of componentDeleteManager.

func NewComponentInstallManager

func NewComponentInstallManager(componentClient componentInterface, helmClient helmClient, recorder record.EventRecorder) *componentInstallManager

NewComponentInstallManager creates a new instance of componentInstallManager.

func NewComponentManager

func NewComponentManager(clientset componentInterface, helmClient helmClient, recorder record.EventRecorder) *componentManager

NewComponentManager creates a new instance of componentManager.

func NewComponentReconciler

func NewComponentReconciler(clientSet componentEcosystemInterface, helmClient helmClient, recorder record.EventRecorder, namespace string) *componentReconciler

NewComponentReconciler creates a new component reconciler.

func NewComponentRequeueHandler added in v0.1.0

func NewComponentRequeueHandler(clientSet componentEcosystemInterface, recorder record.EventRecorder, namespace string) *componentRequeueHandler

NewComponentRequeueHandler creates a new component requeue handler.

func NewComponentUpgradeManager

func NewComponentUpgradeManager(componentClient componentInterface, helmClient helmClient, recorder record.EventRecorder) *componentUpgradeManager

NewComponentUpgradeManager creates a new instance of componentUpgradeManager.

Types

type ComponentManager

type ComponentManager interface {
	// contains filtered or unexported methods
}

ComponentManager abstracts the simple component operations in a k8s CES.

Jump to

Keyboard shortcuts

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