Documentation ¶
Index ¶
Constants ¶
View Source
const (
ControllerName = hivev1.ClusterDeprovisionControllerName
)
Variables ¶
This section is empty.
Functions ¶
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 ¶
ReconcileClusterDeprovision reconciles a ClusterDeprovision object
func (*ReconcileClusterDeprovision) Reconcile ¶
func (r *ReconcileClusterDeprovision) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
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
Click to show internal directories.
Click to hide internal directories.