metaoperatorset

package
v0.0.0-...-b2b7983 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2020 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Absent  = "absent"
	Present = "present"
)

States of common services

Variables

View Source
var DeleteFailed = &deployState{
	Type:    "Delete",
	Status:  "Failed",
	Reason:  "Delete subscription Failed",
	Message: "Delete subscription Failed",
}

DeleteFailed defines the desired state of delete subscription failed

View Source
var DeleteSuccessed = &deployState{
	Type:    "Delete",
	Status:  "Successed",
	Reason:  "Delete subscription successful",
	Message: "Delete subscription successful",
}

DeleteSuccessed defines the desired state of delete subscription successful

View Source
var InstallFailed = &deployState{
	Type:    "Install",
	Status:  "Failed",
	Reason:  "Install subscription Failed",
	Message: "Install subscription Failed",
}

InstallFailed defines the desired state of install subscription failed

View Source
var InstallSuccessed = &deployState{
	Type:    "Install",
	Status:  "Successed",
	Reason:  "Install subscription successful",
	Message: "Install subscription successful",
}

InstallSuccessed defines the desired state of install subscription successful

View Source
var UpdateFailed = &deployState{
	Type:    "Update",
	Status:  "Failed",
	Reason:  "Update subscription Failed",
	Message: "Update subscription Failed",
}

UpdateFailed defines the desired state of update subscription failed

View Source
var UpdateSuccessed = &deployState{
	Type:    "Update",
	Status:  "Successed",
	Reason:  "Update subscription successful",
	Message: "Update subscription successful",
}

UpdateSuccessed defines the desired state of update subscription successful

Functions

func Add

func Add(mgr manager.Manager) error

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

Types

type ReconcileMetaOperatorSet

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

ReconcileMetaOperatorSet reconciles a MetaOperatorSet object

func (*ReconcileMetaOperatorSet) Reconcile

Reconcile reads that state of the cluster for a MetaOperatorSet object and makes changes based on the state read and what is in the MetaOperatorSet.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.

Jump to

Keyboard shortcuts

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