validation

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2018 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CrossValidateInstanceGroup

func CrossValidateInstanceGroup(g *kops.InstanceGroup, cluster *kops.Cluster, strict bool) error

CrossValidateInstanceGroup performs validation of the instance group, including that it is consistent with the Cluster It calls ValidateInstanceGroup, so all that validation is included.

func DeepValidate

func DeepValidate(c *kops.Cluster, groups []*kops.InstanceGroup, strict bool) error

DeepValidate is responsible for validating the instancegroups within the cluster spec

func IsValidValue

func IsValidValue(fldPath *field.Path, v *string, validValues []string) field.ErrorList

func ValidateCluster

func ValidateCluster(c *kops.Cluster, strict bool) *field.Error

ValidateCluster is responsible for checking the validity of the Cluster spec

func ValidateClusterUpdate

func ValidateClusterUpdate(obj *kops.Cluster, status *kops.ClusterStatus, old *kops.Cluster) field.ErrorList

func ValidateDockerConfig

func ValidateDockerConfig(config *kops.DockerConfig, fldPath *field.Path) field.ErrorList

func ValidateEtcdVersionForCalicoV3 added in v1.11.0

func ValidateEtcdVersionForCalicoV3(e *kops.EtcdClusterSpec, majorVersion string, fldPath *field.Path) field.ErrorList

func ValidateInstanceGroup

func ValidateInstanceGroup(g *kops.InstanceGroup) error

ValidateInstanceGroup is responsible for validating the configuration of a instancegroup

Types

This section is empty.

Jump to

Keyboard shortcuts

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