Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 150 for newFunc (0.18 sec)

  1. pkg/registry/core/secret/storage/storage.go

    type REST struct {
    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against secrets.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &api.Secret{} },
    		NewListFunc:               func() runtime.Object { return &api.SecretList{} },
    		PredicateFunc:             secret.Matcher,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 20:38:11 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. pkg/registry/networking/ingressclass/storage/storage.go

    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against replication controllers.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &networking.IngressClass{} },
    		NewListFunc:               func() runtime.Object { return &networking.IngressClassList{} },
    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/rbac/rolebinding/storage/storage.go

    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against RoleBinding objects.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &rbac.RoleBinding{} },
    		NewListFunc:               func() runtime.Object { return &rbac.RoleBindingList{} },
    		DefaultQualifiedResource:  rbac.Resource("rolebindings"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  4. pkg/registry/rbac/clusterrole/storage/storage.go

    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against ClusterRole objects.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &rbac.ClusterRole{} },
    		NewListFunc:               func() runtime.Object { return &rbac.ClusterRoleList{} },
    		DefaultQualifiedResource:  rbac.Resource("clusterroles"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  5. pkg/registry/resource/resourceclaimparameters/storage/storage.go

    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against ResourceClaimParameters.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &resource.ResourceClaimParameters{} },
    		NewListFunc:               func() runtime.Object { return &resource.ResourceClaimParametersList{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 15:15:31 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. pkg/registry/storage/csistoragecapacity/storage/storage.go

    }
    
    // NewStorage returns a RESTStorage object that will work against CSIStorageCapacity
    func NewStorage(optsGetter generic.RESTOptionsGetter) (*CSIStorageCapacityStorage, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &storageapi.CSIStorageCapacity{} },
    		NewListFunc:               func() runtime.Object { return &storageapi.CSIStorageCapacityList{} },
    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/storage/volumeattributesclass/storage/storage.go

    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against storage classes.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &storageapi.VolumeAttributesClass{} },
    		NewListFunc:               func() runtime.Object { return &storageapi.VolumeAttributesClassList{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:18:56 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/instantiate_test.go

    			"package equivalentinterfaces; type T[P any] int",
    			"T", []Type{
    				NewInterfaceType([]*Func{NewFunc(nopos, nil, "M", emptySignature)}, nil),
    			},
    			"T", []Type{
    				NewInterfaceType(
    					nil,
    					[]Type{
    						NewInterfaceType([]*Func{NewFunc(nopos, nil, "M", emptySignature)}, nil),
    					},
    				),
    			},
    			true,
    		},
    		{
    			// int|string is equivalent to string|int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 28 17:58:07 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. pkg/registry/core/podtemplate/storage/storage.go

    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against pod templates.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &api.PodTemplate{} },
    		NewListFunc:               func() runtime.Object { return &api.PodTemplateList{} },
    		DefaultQualifiedResource:  api.Resource("podtemplates"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 2K bytes
    - Viewed (0)
  10. pkg/registry/coordination/lease/storage/storage.go

    type REST struct {
    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against leases.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &coordinationapi.Lease{} },
    		NewListFunc:               func() runtime.Object { return &coordinationapi.LeaseList{} },
    		DefaultQualifiedResource:  coordinationapi.Resource("leases"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 2K bytes
    - Viewed (0)
Back to top