Documentation ¶
Index ¶
- func Register(ctx context.Context, management *config.Management) error
- func SanitizeStatus(status *networkv1.VirtualMachineNetworkConfigStatus)
- type Handler
- func (h *Handler) Allocate(vmNetCfg *networkv1.VirtualMachineNetworkConfig, ...) (networkv1.VirtualMachineNetworkConfigStatus, error)
- func (h *Handler) OnChange(key string, vmNetCfg *networkv1.VirtualMachineNetworkConfig) (*networkv1.VirtualMachineNetworkConfig, error)
- func (h *Handler) OnRemove(key string, vmNetCfg *networkv1.VirtualMachineNetworkConfig) (*networkv1.VirtualMachineNetworkConfig, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SanitizeStatus ¶
func SanitizeStatus(status *networkv1.VirtualMachineNetworkConfigStatus)
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) Allocate ¶
func (h *Handler) Allocate(vmNetCfg *networkv1.VirtualMachineNetworkConfig, status networkv1.VirtualMachineNetworkConfigStatus) (networkv1.VirtualMachineNetworkConfigStatus, error)
func (*Handler) OnChange ¶
func (h *Handler) OnChange(key string, vmNetCfg *networkv1.VirtualMachineNetworkConfig) (*networkv1.VirtualMachineNetworkConfig, error)
func (*Handler) OnRemove ¶
func (h *Handler) OnRemove(key string, vmNetCfg *networkv1.VirtualMachineNetworkConfig) (*networkv1.VirtualMachineNetworkConfig, error)
Click to show internal directories.
Click to hide internal directories.