Documentation ¶
Index ¶
- func ValidateClusterNetwork(clusterNet *sdnapi.ClusterNetwork) fielderrors.ValidationErrorList
- func ValidateClusterNetworkUpdate(obj *sdnapi.ClusterNetwork, old *sdnapi.ClusterNetwork) fielderrors.ValidationErrorList
- func ValidateHostSubnet(hs *sdnapi.HostSubnet) fielderrors.ValidationErrorList
- func ValidateHostSubnetUpdate(obj *sdnapi.HostSubnet, old *sdnapi.HostSubnet) fielderrors.ValidationErrorList
- func ValidateNetNamespace(netnamespace *sdnapi.NetNamespace) fielderrors.ValidationErrorList
- func ValidateNetNamespaceUpdate(obj *sdnapi.NetNamespace, old *sdnapi.NetNamespace) fielderrors.ValidationErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateClusterNetwork ¶
func ValidateClusterNetwork(clusterNet *sdnapi.ClusterNetwork) fielderrors.ValidationErrorList
ValidateClusterNetwork tests if required fields in the ClusterNetwork are set.
func ValidateClusterNetworkUpdate ¶
func ValidateClusterNetworkUpdate(obj *sdnapi.ClusterNetwork, old *sdnapi.ClusterNetwork) fielderrors.ValidationErrorList
func ValidateHostSubnet ¶
func ValidateHostSubnet(hs *sdnapi.HostSubnet) fielderrors.ValidationErrorList
ValidateHostSubnet tests fields for the host subnet, the host should be a network resolvable string,
and subnet should be a valid CIDR
func ValidateHostSubnetUpdate ¶
func ValidateHostSubnetUpdate(obj *sdnapi.HostSubnet, old *sdnapi.HostSubnet) fielderrors.ValidationErrorList
func ValidateNetNamespace ¶ added in v1.0.5
func ValidateNetNamespace(netnamespace *sdnapi.NetNamespace) fielderrors.ValidationErrorList
ValidateNetNamespace tests fields for a greater-than-zero NetID
func ValidateNetNamespaceUpdate ¶ added in v1.0.5
func ValidateNetNamespaceUpdate(obj *sdnapi.NetNamespace, old *sdnapi.NetNamespace) fielderrors.ValidationErrorList
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.