Documentation ¶
Index ¶
- func SetDefaultClusterNetwork(cn networkapi.ClusterNetwork)
- func ValidateClusterNetwork(clusterNet *networkapi.ClusterNetwork) field.ErrorList
- func ValidateClusterNetworkUpdate(obj *networkapi.ClusterNetwork, old *networkapi.ClusterNetwork) field.ErrorList
- func ValidateEgressNetworkPolicy(policy *networkapi.EgressNetworkPolicy) field.ErrorList
- func ValidateEgressNetworkPolicyUpdate(obj *networkapi.EgressNetworkPolicy, old *networkapi.EgressNetworkPolicy) field.ErrorList
- func ValidateHostSubnet(hs *networkapi.HostSubnet) field.ErrorList
- func ValidateHostSubnetUpdate(obj *networkapi.HostSubnet, old *networkapi.HostSubnet) field.ErrorList
- func ValidateNetNamespace(netnamespace *networkapi.NetNamespace) field.ErrorList
- func ValidateNetNamespaceUpdate(obj *networkapi.NetNamespace, old *networkapi.NetNamespace) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetDefaultClusterNetwork ¶
func SetDefaultClusterNetwork(cn networkapi.ClusterNetwork)
SetDefaultClusterNetwork sets the expected value of the default ClusterNetwork record
func ValidateClusterNetwork ¶
func ValidateClusterNetwork(clusterNet *networkapi.ClusterNetwork) field.ErrorList
ValidateClusterNetwork tests if required fields in the ClusterNetwork are set, and ensures that the "default" ClusterNetwork can only be set to the correct values
func ValidateClusterNetworkUpdate ¶
func ValidateClusterNetworkUpdate(obj *networkapi.ClusterNetwork, old *networkapi.ClusterNetwork) field.ErrorList
func ValidateEgressNetworkPolicy ¶
func ValidateEgressNetworkPolicy(policy *networkapi.EgressNetworkPolicy) field.ErrorList
ValidateEgressNetworkPolicy tests if required fields in the EgressNetworkPolicy are set.
func ValidateEgressNetworkPolicyUpdate ¶
func ValidateEgressNetworkPolicyUpdate(obj *networkapi.EgressNetworkPolicy, old *networkapi.EgressNetworkPolicy) field.ErrorList
func ValidateHostSubnet ¶
func ValidateHostSubnet(hs *networkapi.HostSubnet) field.ErrorList
func ValidateHostSubnetUpdate ¶
func ValidateHostSubnetUpdate(obj *networkapi.HostSubnet, old *networkapi.HostSubnet) field.ErrorList
func ValidateNetNamespace ¶
func ValidateNetNamespace(netnamespace *networkapi.NetNamespace) field.ErrorList
ValidateNetNamespace tests fields for a greater-than-zero NetID
func ValidateNetNamespaceUpdate ¶
func ValidateNetNamespaceUpdate(obj *networkapi.NetNamespace, old *networkapi.NetNamespace) field.ErrorList
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.