- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for NewListFunc (0.27 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go
versioner storage.Versioner // newFunc is a function that creates new empty object storing a object of type Type. newFunc func() runtime.Object // newListFunc is a function that creates new empty list for storing objects of type Type. newListFunc func() runtime.Object // indexedTrigger is used for optimizing amount of watchers that needs to process // an incoming event. indexedTrigger *indexedTriggerFunc
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 51.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go
// // curl GET /apis/group/version/namespaces/my-ns/myresource/name-of-object NewFunc func() runtime.Object // NewListFunc returns a new list of the type this registry; it is the // type returned when the resource is listed, e.g.: // // curl GET /apis/group/version/namespaces/my-ns/myresource NewListFunc func() runtime.Object // DefaultQualifiedResource is the pluralized name of the resource.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 19 23:22:44 UTC 2024 - 60.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go
if err != nil { return nil, nil, err } fieldsSet["spec.nodeName"] = pod.Spec.NodeName return labelsSet, fieldsSet, nil }, NewFunc: func() runtime.Object { return &example.Pod{} }, NewListFunc: func() runtime.Object { return &example.PodList{} }, Codec: codecs.LegacyCodec(examplev1.SchemeGroupVersion), Clock: clock.RealClock{}, } cacher, err := NewCacherFromConfig(config)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 82.9K bytes - Viewed (0)