knicluster

package
v0.0.0-...-c0a7383 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2019 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FinalizerName is the finalizer value used on non-owned resources
	FinalizerName          = "knicluster.kni.openshift.com"
	KNIClusterNameEnv      = "KNI_CLUSTER_NAME"
	KNIClusterNameDefault  = "kni-cluster"
	KNIClusterNamespaceEnv = "KNI_CLUSTER_NAMESPACE"
)

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

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

func GetKNINamespacedName

func GetKNINamespacedName() (types.NamespacedName, error)

Types

type ReconcileKNICluster

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

ReconcileKNICluster reconciles a KNICluster object

func (*ReconcileKNICluster) Reconcile

func (r *ReconcileKNICluster) Reconcile(request reconcile.Request) (reconcile.Result, error)

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

Jump to

Keyboard shortcuts

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