func CronValid(fl validator.FieldLevel) bool
CronValid can be used to check whether the given cron valid.
func DurationValid(fl validator.FieldLevel) bool
DurationValid can be used to check whether the given duration valid.
func MapSelectorsValid(fl validator.FieldLevel) bool
MapSelectorsValid can be used to check whether map selectors is valid.
func NameValid(fl validator.FieldLevel) bool
NameValid can be used to check whether the given name is valid.
func NamespaceSelectorsValid(fl validator.FieldLevel) bool
NamespaceSelectorsValid can be used to check whether namespace selectors is valid.
func PhaseSelectorsValid(fl validator.FieldLevel) bool
PhaseSelectorsValid can be used to check whether phase selectors is valid.
func PodsValid(fl validator.FieldLevel) bool
PodsValid can be used to check whether the pod name is valid.
func RequiredFieldEqualValid(fl validator.FieldLevel) bool
RequiredFieldEqualValid can be used to check the required field is not empty.
func ValueValid(fl validator.FieldLevel) bool
ValueValid can be used to check whether the mode value is valid.