Documentation
¶
Index ¶
Constants ¶
View Source
const ( IPModeDHCP = "dhcp" IPModeStatic = "static" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator struct {
admission.DefaultValidator
// contains filtered or unexported fields
}
func NewHostNetworkConfigValidator ¶
func NewHostNetworkConfigValidator( nadCache ctlcniv1.NetworkAttachmentDefinitionCache, cnCache ctlnetworkv1.ClusterNetworkCache, hncCache ctlnetworkv1.HostNetworkConfigCache, vcCache ctlnetworkv1.VlanConfigCache, vsCache ctlnetworkv1.VlanStatusCache, nodeCache ctlcorev1.NodeCache, vmCache ctlkubevirtv1.VirtualMachineCache, ) *Validator
Click to show internal directories.
Click to hide internal directories.