controllers

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 42 Imported by: 0

Documentation

Overview

Package controllers implements the Kubeadm controllers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeadmControlPlaneReconciler

type KubeadmControlPlaneReconciler struct {
	Client    client.Client
	APIReader client.Reader

	Tracker         *remote.ClusterCacheTracker
	EtcdDialTimeout time.Duration

	// WatchFilterValue is the label value used to filter events prior to reconciliation.
	WatchFilterValue string
	// contains filtered or unexported fields
}

KubeadmControlPlaneReconciler reconciles a KubeadmControlPlane object.

func (*KubeadmControlPlaneReconciler) ClusterToKubeadmControlPlane

func (r *KubeadmControlPlaneReconciler) ClusterToKubeadmControlPlane(o client.Object) []ctrl.Request

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

func (*KubeadmControlPlaneReconciler) Reconcile

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

func (*KubeadmControlPlaneReconciler) SetupWithManager

func (r *KubeadmControlPlaneReconciler) SetupWithManager(ctx context.Context, 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