- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for validateTimeZone (0.55 sec)
-
pkg/apis/batch/validation/validation.go
} if oldSpec == nil || !pointer.StringEqual(oldSpec.TimeZone, spec.TimeZone) { allErrs = append(allErrs, validateTimeZone(spec.TimeZone, fldPath.Child("timeZone"))...) } allErrs = append(allErrs, validateConcurrencyPolicy(&spec.ConcurrencyPolicy, fldPath.Child("concurrencyPolicy"))...)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 16:43:24 UTC 2024 - 51.2K bytes - Viewed (0) -
pkg/apis/batch/validation/validation_test.go
`US/Indiana-Starke`, `US/Michigan`, `US/Mountain`, `US/Pacific`, `US/Samoa`, `UTC`, `W-SU`, `WET`, `Zulu`, } for _, tz := range data { errs := validateTimeZone(&tz, nil) if len(errs) > 0 { t.Errorf("%s failed: %v", tz, errs) } } } func TestValidateIndexesString(t *testing.T) { testCases := map[string]struct { indexesString string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 20:49:09 UTC 2024 - 124.3K bytes - Viewed (0)