Documentation ¶
Overview ¶
Package controllers implements the Kubeadm controllers.
Index ¶
- Constants
- type OCNEControlPlaneReconciler
- func (r *OCNEControlPlaneReconciler) ClusterToKubeadmControlPlane(o client.Object) []ctrl.Request
- func (r *OCNEControlPlaneReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, reterr error)
- func (r *OCNEControlPlaneReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
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) SetupWithManager ¶
func (r *OCNEControlPlaneReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
Click to show internal directories.
Click to hide internal directories.