controller

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2020 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new VMImport Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func GetConditionValues

func GetConditionValues(conditionList []conditions.Condition) map[conditions.ConditionType]corev1.ConditionStatus

GetConditionValues gets the conditions and put them into a map for easy comparison

func MarkCrHealthyMessage

func MarkCrHealthyMessage(cr *vmimportv1alpha1.VMImportConfig, reason, message string)

MarkCrHealthyMessage marks the passed in CR as healthy.

Types

type OperatorArgs

type OperatorArgs struct {
	OperatorVersion        string `required:"true" split_words:"true"`
	ControllerImage        string `required:"true" split_words:"true"`
	DeployClusterResources string `required:"true" split_words:"true"`
	PullPolicy             string `required:"true" split_words:"true"`
	Namespace              string
}

OperatorArgs contains the required parameters to generate all namespaced resources

type ReconcileVMImportConfig

type ReconcileVMImportConfig struct {
	// contains filtered or unexported fields
}

ReconcileVMImportConfig reconciles a VMImportConfig object

func (*ReconcileVMImportConfig) Reconcile

Reconcile reads that state of the cluster for a VMImportConfig object and makes changes based on the state read and what is in the VMImportConfig.Spec

Jump to

Keyboard shortcuts

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