- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for validateKMSCacheSize (0.14 sec)
-
staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_encryption.go
allErrs = append(allErrs, validateKMSEndpoint(c, fieldPath.Child("endpoint"))...) allErrs = append(allErrs, validateKMSCacheSize(c, fieldPath.Child("cachesize"))...) allErrs = append(allErrs, validateKMSAPIVersion(c, fieldPath.Child("apiVersion"))...) return allErrs } func validateKMSCacheSize(c *apiserver.KMSConfiguration, fieldPath *field.Path) field.ErrorList { allErrs := field.ErrorList{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Dec 18 20:54:24 UTC 2023 - 13.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_encryption_test.go
field.Invalid(cacheField, positiveCacheSize, "cachesize is not supported in v2"), }, }} for _, tt := range testCases { t.Run(tt.desc, func(t *testing.T) { got := validateKMSCacheSize(tt.in, cacheField) if d := cmp.Diff(tt.want, got); d != "" { t.Fatalf("KMS Provider validation mismatch (-want +got):\n%s", d) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Dec 18 20:54:24 UTC 2023 - 33.7K bytes - Viewed (0)