controllers

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Overview

Package controllers implements the Kubeadm controllers.

Index

Constants

View Source
const (

	// KubernetesVersionsFile references the metadata file containing the Kubernetes to OCNE
	// versions mappings as well as the versions of major Kuberenetes components (etcd, kube-proxy, etc)
	KubernetesVersionsFile = "/kubernetes-versions.yaml"

	// ModulesVersionsFile references the metadata file containing the available module charts
	ModulesVersionsFile = "/index.yaml"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type OCNEControlPlaneReconciler

type OCNEControlPlaneReconciler 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
}

OCNEControlPlaneReconciler reconciles a OCNEControlPlane object.

func (*OCNEControlPlaneReconciler) ClusterToKubeadmControlPlane

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

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

func (*OCNEControlPlaneReconciler) Reconcile

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

func (*OCNEControlPlaneReconciler) SetupWithManager

func (r *OCNEControlPlaneReconciler) 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