- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for GetSingularName (0.18 sec)
-
pkg/registry/core/namespace/storage/storage.go
} func (r *REST) NamespaceScoped() bool { return r.store.NamespaceScoped() } var _ rest.SingularNameProvider = &REST{} func (r *REST) GetSingularName() string { return r.store.GetSingularName() } func (r *REST) New() runtime.Object { return r.store.New() } // Destroy cleans up resources on shutdown. func (r *REST) Destroy() { r.store.Destroy() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:19 UTC 2022 - 13.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/genericapiserver_test.go
func (p *testGetterStorage) Destroy() { } func (p *testGetterStorage) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error) { return nil, nil } func (p *testGetterStorage) GetSingularName() string { return "getter" } type testNoVerbsStorage struct { Version string } func (p *testNoVerbsStorage) NamespaceScoped() bool { return true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 23.2K bytes - Viewed (0) -
pkg/registry/core/pod/storage/storage.go
return nil, errors.NewBadRequest(fmt.Sprintf("not a Binding object: %T", obj)) } return r.bindingRest.Create(ctx, metadata.GetName(), obj, createValidation, options) } func (r *LegacyBindingREST) GetSingularName() string { return "binding" } // StatusREST implements the REST endpoint for changing the status of a pod. type StatusREST struct { store *genericregistry.Store }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 20 14:29:25 UTC 2023 - 13.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/rest/rest.go
// name representation of resources. In case of shortcut conflicts(with CRD shortcuts) singular name should always map to this resource. type SingularNameProvider interface { GetSingularName() string } // GroupVersionKindProvider is used to specify a particular GroupVersionKind to discovery. This is used for polymorphic endpoints
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 20 14:29:25 UTC 2023 - 18.6K bytes - Viewed (0)