deadmanssnitch

package
v0.0.0-...-be237b4 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// DeadMansSnitchFinalizer is used on ClusterDeployments to ensure we run a successful deprovision
	// job before cleaning up the API object.
	DeadMansSnitchFinalizer string = "dms.managed.openshift.io/deadmanssnitch"
	// DeadMansSnitchOperatorNamespace is the namespace where this operator will run
	DeadMansSnitchOperatorNamespace string = "deadmanssnitch-operator"
	// DeadMansSnitchAPISecretName is the secret Name where to fetch the DMS API Key
	DeadMansSnitchAPISecretName string = "deadmanssnitch-api-key"
	// DeadMansSnitchAPISecretKey is the secret where to fetch the DMS API Key
	DeadMansSnitchAPISecretKey string = "deadmanssnitch-api-key"
	// DeadMansSnitchTagKey is the secret where to fetch the DMS API Key
	DeadMansSnitchTagKey string = "hive-cluster-tag"
)

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new DeadMansSnitch 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 ReconcileDeadMansSnitch

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

ReconcileDeadMansSnitch reconciles a DeadMansSnitch object

func (*ReconcileDeadMansSnitch) Reconcile

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