Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddToManager ¶
func AddToManager(ctx *context.ControllerManagerContext, mgr ctrlmgr.Manager) error
AddToManager adds the webhook to the provided manager.
func NewMutator ¶
NewMutator returns the package's Mutator.
func SetControllerName ¶
func SetControllerName(newObj, oldObj *vmopv1.VirtualMachineClass) bool
SetControllerName preserves the original value of spec.controllerName if an attempt is made to set the field with a non-empty value to empty. Return true if the field was preserved, otherwise false.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.