Documentation
¶
Index ¶
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
VMProvider providers.VirtualMachineProviderInterface
// contains filtered or unexported fields
}
func NewReconciler ¶
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(ctx context.Context, request ctrl.Request) (_ ctrl.Result, reterr error)
Reconcile reconciles a VirtualMachine object and processes the volumes for batch attachment.
func (*Reconciler) ReconcileDelete ¶
func (r *Reconciler) ReconcileDelete(_ *pkgctx.VolumeContext) error
func (*Reconciler) ReconcileNormal ¶
func (r *Reconciler) ReconcileNormal(ctx *pkgctx.VolumeContext) error
Click to show internal directories.
Click to hide internal directories.