validation

package
v1.6.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidatePodTemplateSpecForStatefulSet added in v1.5.0

func ValidatePodTemplateSpecForStatefulSet(template *api.PodTemplateSpec, selector labels.Selector, fldPath *field.Path) field.ErrorList

Validates the given template and ensures that it is in accordance with the desired selector.

func ValidateStatefulSet added in v1.5.0

func ValidateStatefulSet(statefulSet *apps.StatefulSet) field.ErrorList

ValidateStatefulSet validates a StatefulSet.

func ValidateStatefulSetName added in v1.5.0

func ValidateStatefulSetName(name string, prefix bool) []string

ValidateStatefulSetName can be used to check whether the given StatefulSet name is valid. Prefix indicates this name will be used as part of generation, in which case trailing dashes are allowed.

func ValidateStatefulSetSpec added in v1.5.0

func ValidateStatefulSetSpec(spec *apps.StatefulSetSpec, fldPath *field.Path) field.ErrorList

ValidateStatefulSetSpec tests if required fields in the StatefulSet spec are set.

func ValidateStatefulSetStatusUpdate added in v1.5.0

func ValidateStatefulSetStatusUpdate(statefulSet, oldStatefulSet *apps.StatefulSet) field.ErrorList

ValidateStatefulSetStatusUpdate tests if required fields in the StatefulSet are set.

func ValidateStatefulSetUpdate added in v1.5.0

func ValidateStatefulSetUpdate(statefulSet, oldStatefulSet *apps.StatefulSet) field.ErrorList

ValidateStatefulSetUpdate tests if required fields in the StatefulSet are set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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