Documentation
¶
Index ¶
Constants ¶
View Source
const ( NSXTYPE = "NSXT" VDSTYPE = "VSPHERE_NETWORK" NAMEDTYPE = "NAMED" )
Variables ¶
This section is empty.
Functions ¶
func AddDefaultNetworkInterface ¶
func AddDefaultNetworkInterface(ctx *context.WebhookRequestContext, client client.Client, vm *vmopv1.VirtualMachine) bool
AddDefaultNetworkInterface adds default network interface to a VM if the NoNetwork annotation is not set and no NetworkInterface is specified. Return true if default NetworkInterface is added, otherwise return false.
func AddToManager ¶
func AddToManager(ctx *context.ControllerManagerContext, mgr ctrlmgr.Manager) error
AddToManager adds the webhook to the provided manager.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.