kubernetes: k8s.io/kubernetes/pkg/apis/settings/validation Index | Files

package validation

import "k8s.io/kubernetes/pkg/apis/settings/validation"

Index

Package Files

validation.go

func ValidatePodPreset Uses

func ValidatePodPreset(pip *settings.PodPreset) field.ErrorList

ValidatePodPreset validates a PodPreset.

func ValidatePodPresetName Uses

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

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

func ValidatePodPresetSpec Uses

func ValidatePodPresetSpec(spec *settings.PodPresetSpec, fldPath *field.Path) field.ErrorList

ValidatePodPresetSpec tests if required fields in the PodPreset spec are set.

func ValidatePodPresetUpdate Uses

func ValidatePodPresetUpdate(pip, oldPip *settings.PodPreset) field.ErrorList

ValidatePodPresetUpdate tests if required fields in the PodPreset are set.

Package validation imports 5 packages (graph) and is imported by 1 packages. Updated 2019-04-02. Refresh now. Tools for package owners.