controllers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsControlPlaneReady

func IsControlPlaneReady(ctx context.Context, cl client.Client) (bool, error)

IsControlPlaneReady takes a client connected to a cluster and reports whether or not the control-plane for the cluster is "ready".

Types

type ClusterBootstrapConfigReconciler

type ClusterBootstrapConfigReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

ClusterBootstrapConfigReconciler reconciles a ClusterBootstrapConfig object

func NewClusterBootstrapConfigReconciler

func NewClusterBootstrapConfigReconciler(c client.Client, s *runtime.Scheme) *ClusterBootstrapConfigReconciler

NewClusterBootstrapConfigReconcielr creates and returns a configured reconciler ready for use.

func (*ClusterBootstrapConfigReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.9.2/pkg/reconcile

func (*ClusterBootstrapConfigReconciler) SetupWithManager

func (r *ClusterBootstrapConfigReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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