- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for validateReadinessGates (0.25 sec)
-
pkg/apis/core/validation/validation.go
MaxDNSNameservers = 3 // Max number of domains in the search path list. MaxDNSSearchPaths = 32 // Max number of characters in the search path. MaxDNSSearchListChars = 2048 ) func validateReadinessGates(readinessGates []core.PodReadinessGate, fldPath *field.Path) field.ErrorList { allErrs := field.ErrorList{} for i, value := range readinessGates {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 349.5K bytes - Viewed (1) -
pkg/apis/core/validation/validation_test.go
}, { ConditionType: core.PodConditionType("example.com/condition2"), }}, }, } for _, tc := range successCases { if errs := validateReadinessGates(tc.readinessGates, field.NewPath("field")); len(errs) != 0 { t.Errorf("expect tc %q to success: %v", tc.desc, errs) } } errorCases := []struct { desc string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 857.7K bytes - Viewed (0)