validation

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 added in v0.6.1

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 added in v0.6.1

func ValidateHostSubnetUpdate(obj *sdnapi.HostSubnet, old *sdnapi.HostSubnet) fielderrors.ValidationErrorList

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL