Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 75 for genericregistry (0.22 sec)

  1. pkg/registry/discovery/endpointslice/storage/storage.go

    )
    
    // REST implements a RESTStorage for EndpointSlice against etcd
    type REST struct {
    	*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{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 2K bytes
    - Viewed (0)
  2. pkg/registry/core/limitrange/storage/storage.go

    import (
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apiserver/pkg/registry/generic"
    	genericregistry "k8s.io/apiserver/pkg/registry/generic/registry"
    	"k8s.io/apiserver/pkg/registry/rest"
    	api "k8s.io/kubernetes/pkg/apis/core"
    	"k8s.io/kubernetes/pkg/registry/core/limitrange"
    )
    
    // REST implements a RESTStorage for limit ranges.
    type REST struct {
    	*genericregistry.Store
    }
    
    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/storagemigration/storagemigration/storage/storage.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	genericregistry "k8s.io/apiserver/pkg/registry/generic/registry"
    	svmapi "k8s.io/kubernetes/pkg/apis/storagemigration"
    	printersinternal "k8s.io/kubernetes/pkg/printers/internalversion"
    	printerstorage "k8s.io/kubernetes/pkg/printers/storage"
    )
    
    // REST is a RESTStorage for ClusterTrustBundle.
    type REST struct {
    	*genericregistry.Store
    }
    
    type StatusREST struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. pkg/registry/core/configmap/storage/storage.go

    	"k8s.io/kubernetes/pkg/registry/core/configmap"
    )
    
    // REST implements a RESTStorage for ConfigMap
    type REST struct {
    	*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{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 20:38:11 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. pkg/registry/core/endpoint/storage/storage.go

    	"k8s.io/kubernetes/pkg/registry/core/endpoint"
    )
    
    // REST implements a RESTStorage for endpoints.
    type REST struct {
    	*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{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:19 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  6. pkg/registry/networking/networkpolicy/storage/storage.go

    )
    
    // REST implements a RESTStorage for NetworkPolicies against etcd.
    type REST struct {
    	*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{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. pkg/registry/resource/podschedulingcontext/storage/storage.go

    )
    
    // REST implements a RESTStorage for PodSchedulingContext.
    type REST struct {
    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against PodSchedulingContext.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &resource.PodSchedulingContext{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 09:18:08 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. pkg/registry/resource/resourceclaimparameters/storage/storage.go

    )
    
    // REST implements a RESTStorage for ResourceClaimParameters.
    type REST struct {
    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against ResourceClaimParameters.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &resource.ResourceClaimParameters{} },
    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. pkg/registry/storage/csistoragecapacity/storage/storage.go

    	CSIStorageCapacity *REST
    }
    
    // REST object that will work for CSIStorageCapacity
    type REST struct {
    	*genericregistry.Store
    }
    
    // NewStorage returns a RESTStorage object that will work against CSIStorageCapacity
    func NewStorage(optsGetter generic.RESTOptionsGetter) (*CSIStorageCapacityStorage, error) {
    	store := &genericregistry.Store{
    		NewFunc:                   func() runtime.Object { return &storageapi.CSIStorageCapacity{} },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  10. pkg/registry/core/pod/rest/log_test.go

    	defer server.Terminate(t)
    	s, destroyFunc, err := generic.NewRawStorage(config, nil, nil, "")
    	if err != nil {
    		t.Fatalf("Unexpected error: %v", err)
    	}
    	defer destroyFunc()
    	store := &genericregistry.Store{
    		Storage: genericregistry.DryRunnableStorage{Storage: s},
    	}
    	logRest := &LogREST{Store: store, KubeletConn: nil}
    
    	negativeOne := int64(-1)
    	testCases := []*api.PodLogOptions{
    		{SinceSeconds: &negativeOne},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top