validation

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const LabelValueMaxLength int = 63

LabelValueMaxLength is a label's max length

Variables

This section is empty.

Functions

func EmptyOverrides added in v1.0.0

func EmptyOverrides(overriders policyv1alpha1.Overriders) bool

EmptyOverrides check if the overriders of override policy is empty

func ValidateOverrideSpec added in v1.0.0

func ValidateOverrideSpec(overrideSpec *policyv1alpha1.OverrideSpec) error

ValidateOverrideSpec validates that the overrider specification is correctly defined.

func ValidatePolicyFieldSelector added in v0.6.0

func ValidatePolicyFieldSelector(fieldSelector *policyv1alpha1.FieldSelector) error

ValidatePolicyFieldSelector tests if the fieldSelector of propagation policy is valid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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