- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 206 for NewTest (0.15 sec)
-
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) -
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) -
pkg/registry/storage/storageclass/storage/storage.go
"k8s.io/kubernetes/pkg/registry/storage/storageclass" ) // REST implements a RESTStorage for storage classes. type REST struct { *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{} },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:13 UTC 2022 - 2.3K bytes - Viewed (0) -
pkg/registry/networking/ipaddress/storage/storage.go
"k8s.io/kubernetes/pkg/registry/networking/ipaddress" ) // REST implements a RESTStorage for IPAddress 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 &networking.IPAddress{} },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 22:58:11 UTC 2023 - 2.2K bytes - Viewed (0) -
pkg/registry/admissionregistration/validatingwebhookconfiguration/storage/storage.go
) // REST implements a RESTStorage for validatingWebhookConfiguration against etcd type REST struct { *genericregistry.Store } // NewREST returns a RESTStorage object that will work against validatingWebhookConfiguration. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) { store := &genericregistry.Store{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 13 15:10:55 UTC 2023 - 2.6K bytes - Viewed (0) -
pkg/registry/admissionregistration/mutatingwebhookconfiguration/storage/storage.go
) // REST implements a RESTStorage for mutatingWebhookConfiguration against etcd type REST struct { *genericregistry.Store } // NewREST returns a RESTStorage object that will work against mutatingWebhookConfiguration. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) { store := &genericregistry.Store{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 13 15:10:55 UTC 2023 - 2.6K bytes - Viewed (0) -
pkg/registry/autoscaling/rest/storage_autoscaling.go
if resource := "horizontalpodautoscalers"; apiResourceConfigSource.ResourceEnabled(autoscalingapiv1.SchemeGroupVersion.WithResource(resource)) { hpaStorage, hpaStatusStorage, err := horizontalpodautoscalerstore.NewREST(restOptionsGetter) if err != nil { return storage, err } storage[resource] = hpaStorage storage[resource+"/status"] = hpaStatusStorage } return storage, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 29 08:51:48 UTC 2023 - 3.5K bytes - Viewed (0) -
pkg/registry/core/serviceaccount/storage/storage.go
token "k8s.io/kubernetes/pkg/serviceaccount" ) type REST struct { *genericregistry.Store Token *TokenREST } // NewREST returns a RESTStorage object that will work against service accounts.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 21:15:10 UTC 2023 - 3K bytes - Viewed (0) -
pkg/registry/batch/job/storage/storage.go
// REST implements a RESTStorage for jobs against etcd type REST struct { *genericregistry.Store } // NewREST returns a RESTStorage object that will work against Jobs. func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error) { store := &genericregistry.Store{ NewFunc: func() runtime.Object { return &batch.Job{} },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:19 UTC 2022 - 6.1K bytes - Viewed (0) -
pkg/registry/batch/rest/storage_batch.go
storage := map[string]rest.Storage{} // jobs if resource := "jobs"; apiResourceConfigSource.ResourceEnabled(batchapiv1.SchemeGroupVersion.WithResource(resource)) { jobsStorage, jobsStatusStorage, err := jobstore.NewREST(restOptionsGetter) if err != nil { return storage, err } storage[resource] = jobsStorage storage[resource+"/status"] = jobsStatusStorage } // cronjobs
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 28 06:08:31 UTC 2023 - 2.9K bytes - Viewed (0)