Documentation
¶
Index ¶
- func AddToManager(ctx *pkgctx.ControllerManagerContext, mgr manager.Manager) error
- type Reconciler
- func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)
- func (r *Reconciler) ReconcileDelete(ctx *pkgctx.VirtualMachineGroupContext) (ctrl.Result, error)
- func (r *Reconciler) ReconcileNormal(ctx *pkgctx.VirtualMachineGroupContext) (_ ctrl.Result, reterr error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddToManager ¶
func AddToManager(ctx *pkgctx.ControllerManagerContext, mgr manager.Manager) error
AddToManager adds this package's controller to the provided manager.
Types ¶
type Reconciler ¶
type Reconciler struct {
client.Client
Context context.Context
Logger logr.Logger
Recorder record.Recorder
}
Reconciler reconciles a VirtualMachineGroup object.
func NewReconciler ¶
func NewReconciler( ctx context.Context, client client.Client, logger logr.Logger, recorder record.Recorder) *Reconciler
NewReconciler returns a new reconciler for VirtualMachineGroup objects.
func (*Reconciler) ReconcileDelete ¶
func (r *Reconciler) ReconcileDelete( ctx *pkgctx.VirtualMachineGroupContext) (ctrl.Result, error)
func (*Reconciler) ReconcileNormal ¶
func (r *Reconciler) ReconcileNormal(ctx *pkgctx.VirtualMachineGroupContext) ( _ ctrl.Result, reterr error)
Click to show internal directories.
Click to hide internal directories.