Version: v1.5.1 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2017 License: Apache-2.0 Imports: 5 Imported by: 0




This section is empty.


This section is empty.


func ValidateClusterNetwork

func ValidateClusterNetwork(clusterNet *sdnapi.ClusterNetwork) field.ErrorList

ValidateClusterNetwork tests if required fields in the ClusterNetwork are set.

func ValidateClusterNetworkUpdate

func ValidateClusterNetworkUpdate(obj *sdnapi.ClusterNetwork, old *sdnapi.ClusterNetwork) field.ErrorList

func ValidateEgressNetworkPolicy added in v1.3.0

func ValidateEgressNetworkPolicy(policy *sdnapi.EgressNetworkPolicy) field.ErrorList

ValidateEgressNetworkPolicy tests if required fields in the EgressNetworkPolicy are set.

func ValidateEgressNetworkPolicyUpdate added in v1.3.0

func ValidateEgressNetworkPolicyUpdate(obj *sdnapi.EgressNetworkPolicy, old *sdnapi.EgressNetworkPolicy) field.ErrorList

func ValidateHostSubnet

func ValidateHostSubnet(hs *sdnapi.HostSubnet) field.ErrorList

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) field.ErrorList

func ValidateNetNamespace added in v1.0.5

func ValidateNetNamespace(netnamespace *sdnapi.NetNamespace) field.ErrorList

ValidateNetNamespace tests fields for a greater-than-zero NetID

func ValidateNetNamespaceUpdate added in v1.0.5

func ValidateNetNamespaceUpdate(obj *sdnapi.NetNamespace, old *sdnapi.NetNamespace) field.ErrorList


This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL