Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 144 for nowFunc (0.1 sec)

  1. 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)
  2. test/escape_closure.go

    	f(new(int))          // ERROR "new\(int\) does not escape"
    
    	g := f
    	g(new(int)) // ERROR "new\(int\) does not escape"
    
    	h := nopFunc
    	h(new(int)) // ERROR "new\(int\) does not escape"
    }
    
    func nopFunc(p *int) {} // ERROR "p does not escape"
    
    func ClosureIndirect2() {
    	f := func(p *int) *int { return p } // ERROR "leaking param: p to result ~r0 level=0" "func literal does not escape"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 16:36:09 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. 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)
  4. pkg/registry/core/serviceaccount/storage/storage.go

    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &api.ServiceAccount{} },
    		NewListFunc:               func() runtime.Object { return &api.ServiceAccountList{} },
    		DefaultQualifiedResource:  api.Resource("serviceaccounts"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 21:15:10 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. pkg/registry/admissionregistration/mutatingwebhookconfiguration/storage/storage.go

    }
    
    // NewREST returns a RESTStorage object that will work against mutatingWebhookConfiguration.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:     func() runtime.Object { return &admissionregistration.MutatingWebhookConfiguration{} },
    		NewListFunc: func() runtime.Object { return &admissionregistration.MutatingWebhookConfigurationList{} },
    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/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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top