- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for validateStructuralCompleteness (0.29 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/validation_test.go
}, }, }, }, }, }, error: `items: Required value: because it is defined in allOf[0].items`, }, } for _, tc := range testCases { errs := validateStructuralCompleteness(&tc.schema, nil, tc.options) if len(tc.error) == 0 && len(errs) != 0 { t.Errorf("unexpected errors: %v", errs) } if len(tc.error) != 0 { contains := false for _, err := range errs {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 18:20:00 UTC 2024 - 11.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/validation.go
allErrs := field.ErrorList{} allErrs = append(allErrs, validateStructuralInvariants(s, rootLevel, fldPath, opts)...) allErrs = append(allErrs, validateStructuralCompleteness(s, fldPath, opts)...) // sort error messages. Otherwise, the errors slice will change every time due to // maps in the types and randomized iteration. sort.Slice(allErrs, func(i, j int) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 20 18:21:31 UTC 2024 - 14.9K bytes - Viewed (0)