Documentation
¶
Index ¶
Constants ¶
View Source
const (
Finalizer = "vmoperator.vmware.com/virtualmachinesnapshot"
)
Variables ¶
View Source
var SkipNameValidation *bool
SkipNameValidation is used for testing to allow multiple controllers with the same name since Controller-Runtime has a global singleton registry to prevent controllers with the same name, even if attached to different managers.
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
VMProvider providers.VirtualMachineProviderInterface
}
Reconciler reconciles a VirtualMachineSnapShot object.
func NewReconciler ¶
func (*Reconciler) ReconcileDelete ¶
func (r *Reconciler) ReconcileDelete(ctx *pkgctx.VirtualMachineSnapshotContext) error
func (*Reconciler) ReconcileNormal ¶
func (r *Reconciler) ReconcileNormal(ctx *pkgctx.VirtualMachineSnapshotContext) (ctrl.Result, error)
Click to show internal directories.
Click to hide internal directories.