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