Documentation ¶
Overview ¶
Package controllers contains k3s control plane controller.
Index ¶
- type K3sControlPlaneReconciler
- func (r *K3sControlPlaneReconciler) ClusterToK3sControlPlane(o client.Object) []ctrl.Request
- func (r *K3sControlPlaneReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, retErr error)
- func (r *K3sControlPlaneReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K3sControlPlaneReconciler ¶
type K3sControlPlaneReconciler struct { client.Client Scheme *runtime.Scheme APIReader client.Reader Tracker *remote.ClusterCacheTracker // WatchFilterValue is the label value used to filter events prior to reconciliation. WatchFilterValue string // contains filtered or unexported fields }
K3sControlPlaneReconciler reconciles a K3sControlPlane object
func (*K3sControlPlaneReconciler) ClusterToK3sControlPlane ¶
func (r *K3sControlPlaneReconciler) ClusterToK3sControlPlane(o client.Object) []ctrl.Request
ClusterToK3sControlPlane is a handler.ToRequestsFunc to be used to enqueue requests for reconciliation for K3sControlPlane based on updates to a Cluster.
func (*K3sControlPlaneReconciler) Reconcile ¶
func (r *K3sControlPlaneReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, retErr error)
Reconcile handles K3sControlPlane events.
func (*K3sControlPlaneReconciler) SetupWithManager ¶
func (r *K3sControlPlaneReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.