Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 150 for newFunc (0.2 sec)

  1. pkg/registry/networking/ingress/storage/storage.go

    }
    
    // NewREST returns a RESTStorage object that will work against replication controllers.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &networking.Ingress{} },
    		NewListFunc:               func() runtime.Object { return &networking.IngressList{} },
    		DefaultQualifiedResource:  networking.Resource("ingresses"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  2. pkg/registry/core/namespace/storage/storage.go

    }
    
    // NewREST returns a RESTStorage object that will work against namespaces.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, *FinalizeREST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &api.Namespace{} },
    		NewListFunc:               func() runtime.Object { return &api.NamespaceList{} },
    		PredicateFunc:             namespace.MatchNamespace,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  3. pkg/registry/autoscaling/horizontalpodautoscaler/storage/storage.go

    }
    
    // NewREST returns a RESTStorage object that will work against horizontal pod autoscalers.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &autoscaling.HorizontalPodAutoscaler{} },
    		NewListFunc:               func() runtime.Object { return &autoscaling.HorizontalPodAutoscalerList{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  4. pkg/registry/core/resourcequota/storage/storage.go

    }
    
    // NewREST returns a RESTStorage object that will work against resource quotas.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &api.ResourceQuota{} },
    		NewListFunc:               func() runtime.Object { return &api.ResourceQuotaList{} },
    		DefaultQualifiedResource:  api.Resource("resourcequotas"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  5. pkg/registry/core/persistentvolume/storage/storage.go

    }
    
    // NewREST returns a RESTStorage object that will work against persistent volumes.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &api.PersistentVolume{} },
    		NewListFunc:               func() runtime.Object { return &api.PersistentVolumeList{} },
    		PredicateFunc:             persistentvolume.MatchPersistentVolumes,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  6. pkg/registry/flowcontrol/prioritylevelconfiguration/storage/storage.go

    }
    
    // NewREST returns a RESTStorage object that will work against priority level configuration.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &flowcontrol.PriorityLevelConfiguration{} },
    		NewListFunc:               func() runtime.Object { return &flowcontrol.PriorityLevelConfigurationList{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 13 15:11:04 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. pkg/registry/admissionregistration/validatingadmissionpolicy/storage/storage.go

    	r := &REST{}
    	strategy := validatingadmissionpolicy.NewStrategy(authorizer, resourceResolver)
    	store := &genericregistry.Store{
    		NewFunc:     func() runtime.Object { return &admissionregistration.ValidatingAdmissionPolicy{} },
    		NewListFunc: func() runtime.Object { return &admissionregistration.ValidatingAdmissionPolicyList{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 23:43:34 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	// Indexers is used to accelerate the list operation, falls back to regular list
    	// operation if no indexer found.
    	Indexers *cache.Indexers
    
    	// NewFunc is a function that creates new empty object storing a object of type Type.
    	NewFunc func() runtime.Object
    
    	// NewList is a function that creates new empty object storing a list of
    	// objects of type Type.
    	NewListFunc func() runtime.Object
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  9. pkg/registry/core/persistentvolumeclaim/storage/storage.go

    }
    
    // NewREST returns a RESTStorage object that will work against persistent volume claims.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &api.PersistentVolumeClaim{} },
    		NewListFunc:               func() runtime.Object { return &api.PersistentVolumeClaimList{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  10. src/go/internal/gcimporter/iimport.go

    	case 'F', 'G':
    		var tparams []*types.TypeParam
    		if tag == 'G' {
    			tparams = r.tparamList()
    		}
    		sig := r.signature(nil, nil, tparams)
    		r.declare(types.NewFunc(pos, r.currPkg, name, sig))
    
    	case 'T', 'U':
    		// Types can be recursive. We need to setup a stub
    		// declaration before recurring.
    		obj := types.NewTypeName(pos, r.currPkg, name, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top