apimachinery: k8s.io/apimachinery/pkg/apis/meta/v1/validation Index | Files

package validation

import "k8s.io/apimachinery/pkg/apis/meta/v1/validation"

Index

Package Files

validation.go

Constants

const UninitializedStatusUpdateErrorMsg string = `must not update status when the object is uninitialized`

Variables

var FieldManagerMaxLength = 128

func ValidateCreateOptions Uses

func ValidateCreateOptions(options *metav1.CreateOptions) field.ErrorList

func ValidateDeleteOptions Uses

func ValidateDeleteOptions(options *metav1.DeleteOptions) field.ErrorList

func ValidateDryRun Uses

func ValidateDryRun(fldPath *field.Path, dryRun []string) field.ErrorList

ValidateDryRun validates that a dryRun query param only contains allowed values.

func ValidateFieldManager Uses

func ValidateFieldManager(fieldManager string, fldPath *field.Path) field.ErrorList

ValidateFieldManager valides that the fieldManager is the proper length and only has printable characters.

func ValidateLabelName Uses

func ValidateLabelName(labelName string, fldPath *field.Path) field.ErrorList

ValidateLabelName validates that the label name is correctly defined.

func ValidateLabelSelector Uses

func ValidateLabelSelector(ps *metav1.LabelSelector, fldPath *field.Path) field.ErrorList

func ValidateLabelSelectorRequirement Uses

func ValidateLabelSelectorRequirement(sr metav1.LabelSelectorRequirement, fldPath *field.Path) field.ErrorList

func ValidateLabels Uses

func ValidateLabels(labels map[string]string, fldPath *field.Path) field.ErrorList

ValidateLabels validates that a set of labels are correctly defined.

func ValidatePatchOptions Uses

func ValidatePatchOptions(options *metav1.PatchOptions, patchType types.PatchType) field.ErrorList

func ValidateTableOptions Uses

func ValidateTableOptions(opts *metav1.TableOptions) field.ErrorList

ValidateTableOptions returns any invalid flags on TableOptions.

func ValidateUpdateOptions Uses

func ValidateUpdateOptions(options *metav1.UpdateOptions) field.ErrorList

Package validation imports 7 packages (graph) and is imported by 58 packages. Updated 2019-05-09. Refresh now. Tools for package owners.