- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ValidateCustomResourceDefinitionStoredVersions (0.37 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go
allErrs = append(allErrs, ValidateCustomResourceDefinitionStoredVersions(obj.Status.StoredVersions, obj.Spec.Versions, field.NewPath("status").Child("storedVersions"))...) allErrs = append(allErrs, validateAPIApproval(obj, oldObj)...) allErrs = append(allErrs, validatePreserveUnknownFields(obj, oldObj)...) return allErrs } // ValidateCustomResourceDefinitionStoredVersions statically validates
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 82.6K bytes - Viewed (1) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go
if tc.storageVersion == version { v.Storage = true } crd.Spec.Versions = append(crd.Spec.Versions, v) } t.Run(tc.name, func(t *testing.T) { errs := ValidateCustomResourceDefinitionStoredVersions(crd.Status.StoredVersions, crd.Spec.Versions, field.NewPath("status", "storedVersions")) seenErrs := make([]bool, len(errs)) for _, expectedError := range tc.errors { found := false
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 349.4K bytes - Viewed (0)