Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 91 for newFunc (0.13 sec)

  1. pkg/registry/rbac/clusterrolebinding/storage/storage.go

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

    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against ResourceClass.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &resource.ResourceClaimTemplate{} },
    		NewListFunc:               func() runtime.Object { return &resource.ResourceClaimTemplateList{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 10:11:16 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  3. pkg/registry/resource/resourceclassparameters/storage/storage.go

    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against ResourceClassParameters.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &resource.ResourceClassParameters{} },
    		NewListFunc:               func() runtime.Object { return &resource.ResourceClassParametersList{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 15:15:31 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. src/go/types/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: Wed Apr 03 18:48:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. pkg/registry/storage/csidriver/storage/storage.go

    }
    
    // NewStorage returns a RESTStorage object that will work against CSIDrivers
    func NewStorage(optsGetter generic.RESTOptionsGetter) (*CSIDriverStorage, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &storageapi.CSIDriver{} },
    		NewListFunc:               func() runtime.Object { return &storageapi.CSIDriverList{} },
    		DefaultQualifiedResource:  storageapi.Resource("csidrivers"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  6. pkg/registry/resource/resourceclaim/storage/storage.go

    }
    
    // NewREST returns a RESTStorage object that will work against ResourceClaims.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &resource.ResourceClaim{} },
    		NewListFunc:               func() runtime.Object { return &resource.ResourceClaimList{} },
    		PredicateFunc:             resourceclaim.Match,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 10:11:16 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  7. pkg/registry/policy/poddisruptionbudget/storage/storage.go

    }
    
    // NewREST returns a RESTStorage object that will work against pod disruption budgets.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &policyapi.PodDisruptionBudget{} },
    		NewListFunc:               func() runtime.Object { return &policyapi.PodDisruptionBudgetList{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  8. pkg/registry/scheduling/priorityclass/storage/storage.go

    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against priority classes.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &scheduling.PriorityClass{} },
    		NewListFunc:               func() runtime.Object { return &scheduling.PriorityClassList{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 3K bytes
    - Viewed (0)
  9. pkg/registry/storage/volumeattachment/storage/storage.go

    }
    
    // NewStorage returns a RESTStorage object that will work against VolumeAttachments
    func NewStorage(optsGetter generic.RESTOptionsGetter) (*VolumeAttachmentStorage, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &storageapi.VolumeAttachment{} },
    		NewListFunc:               func() runtime.Object { return &storageapi.VolumeAttachmentList{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  10. pkg/registry/networking/servicecidr/storage/storage.go

    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against service CIDRs.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &networking.ServiceCIDR{} },
    		NewListFunc:               func() runtime.Object { return &networking.ServiceCIDRList{} },
    		DefaultQualifiedResource:  networking.Resource("servicecidrs"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top