Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 249 for perfunc (0.12 sec)

  1. 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)
  2. 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)
  3. pkg/registry/storage/storageclass/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.StorageClass{} },
    		NewListFunc:               func() runtime.Object { return &storageapi.StorageClassList{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/internal/coverage/cfile/testsupport.go

    	newgran := mfr.CounterGranularity()
    	if err := ts.cm.SetModeAndGranularity(p.MetaFile, cmode, newgran); err != nil {
    		return err
    	}
    
    	// A map to store counter data, indexed by pkgid/fnid tuple.
    	pmm := make(map[pkfunc][]uint32)
    
    	// Helper to read a single counter data file.
    	readcdf := func(cdf string) error {
    		cf, err := os.Open(cdf)
    		if err != nil {
    			return fmt.Errorf("opening counter data file %s: %s", cdf, err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. 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)
  8. pkg/controller/statefulset/stateful_set_test.go

    	} else if expectedKey, _ := controller.KeyFunc(set1); expectedKey != key {
    		t.Errorf("expected StatefulSet key %s found %s", expectedKey, key)
    	}
    	ssc.queue.Done(key)
    
    	ssc.addPod(logger, pod2)
    	key, done = ssc.queue.Get()
    	if key == "" || done {
    		t.Error("failed to enqueue StatefulSet")
    	} else if expectedKey, _ := controller.KeyFunc(set2); expectedKey != key {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top