Documentation
¶
Index ¶
- func CronValid(fl validator.FieldLevel) bool
- func DurationValid(fl validator.FieldLevel) bool
- func MapSelectorsValid(fl validator.FieldLevel) bool
- func NameValid(fl validator.FieldLevel) bool
- func NamespaceSelectorsValid(fl validator.FieldLevel) bool
- func PhaseSelectorsValid(fl validator.FieldLevel) bool
- func PodsValid(fl validator.FieldLevel) bool
- func RequiredFieldEqualValid(fl validator.FieldLevel) bool
- func RequirementSelectorsValid(fl validator.FieldLevel) bool
- func ValueValid(fl validator.FieldLevel) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CronValid ¶
func CronValid(fl validator.FieldLevel) bool
CronValid can be used to check whether the given cron valid.
func DurationValid ¶
func DurationValid(fl validator.FieldLevel) bool
DurationValid can be used to check whether the given duration valid.
func MapSelectorsValid ¶
func MapSelectorsValid(fl validator.FieldLevel) bool
MapSelectorsValid can be used to check whether map selectors is valid.
func NameValid ¶
func NameValid(fl validator.FieldLevel) bool
NameValid can be used to check whether the given name is valid.
func NamespaceSelectorsValid ¶
func NamespaceSelectorsValid(fl validator.FieldLevel) bool
NamespaceSelectorsValid can be used to check whether namespace selectors is valid.
func PhaseSelectorsValid ¶
func PhaseSelectorsValid(fl validator.FieldLevel) bool
PhaseSelectorsValid can be used to check whether phase selectors is valid.
func PodsValid ¶
func PodsValid(fl validator.FieldLevel) bool
PodsValid can be used to check whether the pod name is valid.
func RequiredFieldEqualValid ¶
func RequiredFieldEqualValid(fl validator.FieldLevel) bool
RequiredFieldEqualValid can be used to check the required field is not empty.
func RequirementSelectorsValid ¶ added in v1.1.0
func RequirementSelectorsValid(fl validator.FieldLevel) bool
RequirementSelectorsValid can be used to check whether label requirement selectors is valid.
func ValueValid ¶
func ValueValid(fl validator.FieldLevel) bool
ValueValid can be used to check whether the mode value is valid.
Types ¶
This section is empty.