v0.0.0-...-d88c8b5 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 47 Imported by: 0




This section is empty.


This section is empty.


This section is empty.


type LegacyRESTStorage

type LegacyRESTStorage struct {
	ServiceClusterIPAllocator          rangeallocation.RangeRegistry
	SecondaryServiceClusterIPAllocator 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
	// allocates ips for secondary service cidr in dual  stack clusters
	SecondaryServiceIPRange net.IPNet
	ServiceNodePortRange    utilnet.PortRange

	ServiceAccountIssuer        serviceaccount.TokenGenerator
	ServiceAccountMaxExpiration time.Duration
	ExtendExpiration            bool

	APIAudiences authenticator.Audiences

	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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL