- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ValidateWhenUnsatisfiable (0.33 sec)
-
pkg/scheduler/apis/config/validation/validation_pluginargs.go
allErrs = append(allErrs, field.Invalid(f, c.MaxSkew, "not in valid range (0, inf)")) } allErrs = append(allErrs, validateTopologyKey(p.Child("topologyKey"), c.TopologyKey)...) if err := validateWhenUnsatisfiable(p.Child("whenUnsatisfiable"), c.WhenUnsatisfiable); err != nil { allErrs = append(allErrs, err) } if c.LabelSelector != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 05 09:29:49 UTC 2023 - 12.9K bytes - Viewed (0) -
pkg/apis/core/validation/validation.go
if len(topologyKey) == 0 { return field.Required(fldPath, "can not be empty") } return nil } // ValidateWhenUnsatisfiable tests that the argument is a valid UnsatisfiableConstraintAction. func ValidateWhenUnsatisfiable(fldPath *field.Path, action core.UnsatisfiableConstraintAction) *field.Error { if !supportedScheduleActions.Has(action) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 349.5K bytes - Viewed (0)