package rest
import "k8s.io/kubernetes/pkg/registry/core/rest"
Index ¶
Types ¶
type LegacyRESTStorage ¶
type LegacyRESTStorage struct { ServiceClusterIPAllocator rangeallocation.RangeRegistry ServiceNodePortAllocator rangeallocation.RangeRegistry }
LegacyRESTStorage returns stateful information about particular instances of REST storage to master.go for wiring controllers. TODO remove this by running the controller as a poststarthook
type LegacyRESTStorageProvider ¶
type LegacyRESTStorageProvider struct { StorageFactory serverstorage.StorageFactory // Used for custom proxy dialing, and proxy TLS options ProxyTransport http.RoundTripper KubeletClientConfig kubeletclient.KubeletClientConfig EventTTL time.Duration // ServiceIPRange is used to build cluster IPs for discovery. ServiceIPRange net.IPNet ServiceNodePortRange utilnet.PortRange ServiceAccountIssuer serviceaccount.TokenGenerator ServiceAccountAPIAudiences []string LoopbackClientConfig *restclient.Config }
LegacyRESTStorageProvider provides information needed to build RESTStorage for core, but does NOT implement the "normal" RESTStorageProvider (yet!)
func (LegacyRESTStorageProvider) GroupName ¶
func (p LegacyRESTStorageProvider) GroupName() string
func (LegacyRESTStorageProvider) NewLegacyRESTStorage ¶
func (c LegacyRESTStorageProvider) NewLegacyRESTStorage(restOptionsGetter generic.RESTOptionsGetter) (LegacyRESTStorage, genericapiserver.APIGroupInfo, error)
Source Files ¶
storage_core.go
- Version
- v1.11.0-beta.0
- Published
- May 17, 2018
- Platform
- js/wasm
- Imports
- 45 packages
- Last checked
- 3 minutes ago –
Tools for package owners.