Documentation ¶
Index ¶
- Constants
- type RKE2ControlPlaneReconciler
- func (r *RKE2ControlPlaneReconciler) ClusterToRKE2ControlPlane(ctx context.Context) handler.MapFunc
- func (r *RKE2ControlPlaneReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, reterr error)
- func (r *RKE2ControlPlaneReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error
Constants ¶
View Source
const ( // DefaultRequeueTime is the default requeue time for the controller. DefaultRequeueTime = 20 * time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RKE2ControlPlaneReconciler ¶
type RKE2ControlPlaneReconciler struct { Log logr.Logger client.Client Scheme *runtime.Scheme // contains filtered or unexported fields }
RKE2ControlPlaneReconciler reconciles a RKE2ControlPlane object.
func (*RKE2ControlPlaneReconciler) ClusterToRKE2ControlPlane ¶
func (r *RKE2ControlPlaneReconciler) ClusterToRKE2ControlPlane(ctx context.Context) handler.MapFunc
ClusterToRKE2ControlPlane is a handler.ToRequestsFunc to be used to enqueue requests for reconciliation for RKE2ControlPlane based on updates to a Cluster.
func (*RKE2ControlPlaneReconciler) Reconcile ¶
func (r *RKE2ControlPlaneReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, reterr error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*RKE2ControlPlaneReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.