controllers

package
v0.3.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2020 License: Apache-2.0 Imports: 33 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// DeleteRequeueAfter is how long to wait before checking again to see if
	// all control plane machines have been deleted.
	DeleteRequeueAfter = 30 * time.Second

	// HealthCheckFailedRequeueAfter is how long to wait before trying to scale
	// up/down if some target cluster health check has failed
	HealthCheckFailedRequeueAfter = 20 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeadmControlPlaneReconciler

type KubeadmControlPlaneReconciler struct {
	Client client.Client
	Log    logr.Logger
	// contains filtered or unexported fields
}

KubeadmControlPlaneReconciler reconciles a KubeadmControlPlane object

func (*KubeadmControlPlaneReconciler) ClusterToKubeadmControlPlane

func (r *KubeadmControlPlaneReconciler) ClusterToKubeadmControlPlane(o handler.MapObject) []ctrl.Request

ClusterToKubeadmControlPlane is a handler.ToRequestsFunc to be used to enqeue requests for reconciliation for KubeadmControlPlane based on updates to a Cluster.

func (*KubeadmControlPlaneReconciler) Reconcile

func (r *KubeadmControlPlaneReconciler) Reconcile(req ctrl.Request) (res ctrl.Result, reterr error)

func (*KubeadmControlPlaneReconciler) SetupWithManager

func (r *KubeadmControlPlaneReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error

Jump to

Keyboard shortcuts

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