Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 139 for nowFunc (0.18 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/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)
  3. 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)
  4. src/compress/gzip/issue14937_test.go

    // has a zero MTIME. This is a requirement for the Debian maintainers
    // to be able to have deterministic packages.
    //
    // To patch a .gz file, use the following command:
    //
    //	$ dd if=/dev/zero bs=1 seek=4 count=4 conv=notrunc of=filename.gz
    //
    // See https://golang.org/issue/14937.
    func TestGZIPFilesHaveZeroMTimes(t *testing.T) {
    	// To avoid spurious false positives due to untracked GZIP files that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 16:37:53 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top