Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 150 for newFunc (0.1 sec)

  1. pkg/registry/networking/ipaddress/storage/storage.go

    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against endpoint slices.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &networking.IPAddress{} },
    		NewListFunc:               func() runtime.Object { return &networking.IPAddressList{} },
    		DefaultQualifiedResource:  networking.Resource("ipaddresses"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 22:58:11 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. pkg/registry/apps/controllerrevision/storage/storage.go

    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work with ControllerRevision objects.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &apps.ControllerRevision{} },
    		NewListFunc:               func() runtime.Object { return &apps.ControllerRevisionList{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 2K bytes
    - Viewed (0)
  3. pkg/registry/resource/resourceslice/storage/storage.go

    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against ResourceSlice.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &resource.ResourceSlice{} },
    		NewListFunc:               func() runtime.Object { return &resource.ResourceSliceList{} },
    		PredicateFunc:             resourceslice.Match,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. pkg/registry/discovery/endpointslice/storage/storage.go

    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against endpoint slices.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &discovery.EndpointSlice{} },
    		NewListFunc:               func() runtime.Object { return &discovery.EndpointSliceList{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 2K bytes
    - Viewed (0)
  5. pkg/registry/admissionregistration/validatingwebhookconfiguration/storage/storage.go

    }
    
    // NewREST returns a RESTStorage object that will work against validatingWebhookConfiguration.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:     func() runtime.Object { return &admissionregistration.ValidatingWebhookConfiguration{} },
    		NewListFunc: func() runtime.Object { return &admissionregistration.ValidatingWebhookConfigurationList{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 13 15:10:55 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. pkg/registry/core/limitrange/storage/storage.go

    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against limit ranges.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &api.LimitRange{} },
    		NewListFunc:               func() runtime.Object { return &api.LimitRangeList{} },
    		DefaultQualifiedResource:  api.Resource("limitranges"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  7. pkg/registry/core/configmap/storage/storage.go

    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work with ConfigMap objects.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &api.ConfigMap{} },
    		NewListFunc:               func() runtime.Object { return &api.ConfigMapList{} },
    		PredicateFunc:             configmap.Matcher,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 20:38:11 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. pkg/registry/core/endpoint/storage/storage.go

    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against endpoints.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &api.Endpoints{} },
    		NewListFunc:               func() runtime.Object { return &api.EndpointsList{} },
    		DefaultQualifiedResource:  api.Resource("endpoints"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  9. pkg/registry/networking/networkpolicy/storage/storage.go

    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against NetworkPolicies.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &networkingapi.NetworkPolicy{} },
    		NewListFunc:               func() runtime.Object { return &networkingapi.NetworkPolicyList{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/etcd.go

    func NewREST(scheme *runtime.Scheme, optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	strategy := NewStrategy(scheme)
    
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &apiextensions.CustomResourceDefinition{} },
    		NewListFunc:               func() runtime.Object { return &apiextensions.CustomResourceDefinitionList{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 8K bytes
    - Viewed (0)
Back to top