clusterdeprovision

package
v1.1.16 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

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

Types

type Actuator added in v1.0.11

type Actuator interface {
	// CanHandle returns true if the actuator can handle a particular ClusterDeprovision
	CanHandle(cd *hivev1.ClusterDeprovision) bool

	// TestCredentials returns nil if the credential check succeeds. Otherwise returns the error.
	TestCredentials(clusterDeprovision *hivev1.ClusterDeprovision, c client.Client, logger log.FieldLogger) error
}

Actuator interface is the interface that is used to add cloud provider support to the deprovision controller.

type ReconcileClusterDeprovision

type ReconcileClusterDeprovision struct {
	client.Client
	// contains filtered or unexported fields
}

ReconcileClusterDeprovision reconciles a ClusterDeprovision object

func (*ReconcileClusterDeprovision) Reconcile

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

Jump to

Keyboard shortcuts

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