- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NewListFunc (0.38 sec)
-
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
newFunc := func() runtime.Object { return &example.Pod{} } newListFunc := func() runtime.Object { return &example.PodList{} } sc.Codec = apitesting.TestStorageCodec(codecs, examplev1.SchemeGroupVersion) s, dFunc, err := factory.Create(*sc.ForResource(schema.GroupResource{Resource: "pods"}), newFunc, newListFunc, "/pods") if err != nil { t.Fatalf("Error creating storage: %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0)