Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 101 for NewREST (0.12 sec)

  1. pkg/registry/storage/rest/storage_storage.go

    	if resource := "volumeattributesclasses"; apiResourceConfigSource.ResourceEnabled(storageapiv1alpha1.SchemeGroupVersion.WithResource(resource)) {
    		volumeAttributesClassStorage, err := volumeattributesclassstore.NewREST(restOptionsGetter)
    		if err != nil {
    			return storage, err
    		}
    		storage[resource] = volumeAttributesClassStorage
    	}
    
    	return storage, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 02 12:51:06 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. pkg/registry/flowcontrol/flowschema/storage/storage.go

    	FlowSchema *REST
    	Status     *StatusREST
    }
    
    // REST implements a RESTStorage for flow schema against etcd
    type REST struct {
    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against flow schemas.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &flowcontrol.FlowSchema{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 13 15:11:04 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. pkg/registry/networking/ingress/storage/storage.go

    	"sigs.k8s.io/structured-merge-diff/v4/fieldpath"
    )
    
    // REST implements a RESTStorage for replication controllers
    type REST struct {
    	*genericregistry.Store
    }
    
    // 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{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  4. pkg/registry/core/resourcequota/storage/storage.go

    	"sigs.k8s.io/structured-merge-diff/v4/fieldpath"
    )
    
    // REST implements a RESTStorage for resource quotas.
    type REST struct {
    	*genericregistry.Store
    }
    
    // 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{} },
    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

    	"sigs.k8s.io/structured-merge-diff/v4/fieldpath"
    )
    
    // REST implements a RESTStorage for persistent volumes.
    type REST struct {
    	*genericregistry.Store
    }
    
    // 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{} },
    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

    }
    
    // REST implements a RESTStorage for priority level configuration against etcd
    type REST struct {
    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against priority level configuration.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) {
    	store := &genericregistry.Store{
    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/autoscaling/horizontalpodautoscaler/storage/storage.go

    )
    
    // REST implements a RESTStorage for pod disruption budgets against etcd
    type REST struct {
    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against horizontal pod autoscalers.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) {
    	store := &genericregistry.Store{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  8. pkg/registry/admissionregistration/validatingadmissionpolicy/storage/storage.go

    	store *genericregistry.Store
    }
    
    var groupResource = admissionregistration.Resource("validatingadmissionpolicies")
    
    // NewREST returns two RESTStorage objects that will work against validatingAdmissionPolicy and its status.
    func NewREST(optsGetter generic.RESTOptionsGetter, authorizer authorizer.Authorizer, resourceResolver resolver.ResourceResolver) (*REST, *StatusREST, error) {
    	r := &REST{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 23:43:34 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. pkg/registry/core/persistentvolumeclaim/storage/storage.go

    	"sigs.k8s.io/structured-merge-diff/v4/fieldpath"
    )
    
    // REST implements a RESTStorage for persistent volume claims.
    type REST struct {
    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against persistent volume claims.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) {
    	store := &genericregistry.Store{
    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. pkg/registry/certificates/certificates/storage/storage.go

    )
    
    // REST implements a RESTStorage for CertificateSigningRequest.
    type REST struct {
    	*genericregistry.Store
    }
    
    // NewREST returns a registry which will store CertificateSigningRequest in the given helper.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, *ApprovalREST, error) {
    	store := &genericregistry.Store{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 6.3K bytes
    - Viewed (0)
Back to top