- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ValidateStorageStrategies (0.46 sec)
-
pkg/registry/registrytest/validate.go
import ( "fmt" "k8s.io/apiserver/pkg/registry/generic/registry" "k8s.io/apiserver/pkg/registry/rest" ) // ValidateStorageStrategies ensures any instances of the generic registry.Store in the given storage map // have expected strategies defined. func ValidateStorageStrategies(storageMap map[string]rest.Storage) []error { errs := []error{} for k, storage := range storageMap { switch t := storage.(type) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Dec 12 15:56:24 UTC 2022 - 1.6K bytes - Viewed (0) -
pkg/controlplane/instance_test.go
if err != nil { t.Errorf("failed to create legacy REST storage: %v", err) } strategyErrors := registrytest.ValidateStorageStrategies(apiGroupInfo.VersionedResourcesStorageMap["v1"]) for _, err := range strategyErrors { t.Error(err) } } func TestCertificatesRestStorageStrategies(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 03 11:50:04 UTC 2024 - 21.5K bytes - Viewed (0)