Documentation ¶
Overview ¶
Package controllers implements controller functionality.
Package controllers implements controller functionality.
Index ¶
- type InMemoryClusterReconciler
- type InMemoryMachineReconciler
- func (r *InMemoryMachineReconciler) InMemoryClusterToInMemoryMachines(ctx context.Context, o client.Object) []ctrl.Request
- func (r *InMemoryMachineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, rerr error)
- func (r *InMemoryMachineReconciler) 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 InMemoryClusterReconciler ¶
type InMemoryClusterReconciler struct { client.Client CloudManager cloud.Manager APIServerMux *server.WorkloadClustersMux // WatchFilterValue is the label value used to filter events prior to reconciliation. WatchFilterValue string // contains filtered or unexported fields }
InMemoryClusterReconciler reconciles a InMemoryCluster object.
func (*InMemoryClusterReconciler) Reconcile ¶
func (r *InMemoryClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, rerr error)
Reconcile reads that state of the cluster for a InMemoryCluster object and makes changes based on the state read and what is in the InMemoryCluster.Spec.
func (*InMemoryClusterReconciler) SetupWithManager ¶
func (r *InMemoryClusterReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager will add watches for this controller.
type InMemoryMachineReconciler ¶
type InMemoryMachineReconciler struct { client.Client CloudManager cloud.Manager APIServerMux *server.WorkloadClustersMux // WatchFilterValue is the label value used to filter events prior to reconciliation. WatchFilterValue string }
InMemoryMachineReconciler reconciles a InMemoryMachine object.
func (*InMemoryMachineReconciler) InMemoryClusterToInMemoryMachines ¶
func (r *InMemoryMachineReconciler) InMemoryClusterToInMemoryMachines(ctx context.Context, o client.Object) []ctrl.Request
InMemoryClusterToInMemoryMachines is a handler.ToRequestsFunc to be used to enqueue requests for reconciliation of InMemoryMachines.
func (*InMemoryMachineReconciler) Reconcile ¶
func (r *InMemoryMachineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, rerr error)
Reconcile handles InMemoryMachine events.
func (*InMemoryMachineReconciler) SetupWithManager ¶
func (r *InMemoryMachineReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager will add watches for this controller.