package
1.8.0-alpha.2
Repository: https://github.com/lxpollitt/kubernetes.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
FindFreeLocalPort returns the number of an available port number on the loopback interface.
return the EtcdURL.
Returns the master config appropriate for most integration tests.
No description provided by the author
NewMasterComponents creates, initializes and starts master components based on the given config.
Returns a basic master config.
NewSingleContentTypeSerializer wraps a serializer in a NegotiatedSerializer that handles one content type.
RCFromManifest reads a .json file and returns the rc in it.
No description provided by the author
No description provided by the author
RunParallel spawns a goroutine per task in the given queue.
ScaleRC scales the given rc to the given replicas.
StopRC stops the rc via kubectl's stop library.

# Constants

Timeout used in benchmarks, to eg: scale an rc.
Rc manifest used to create pods for benchmarks.

# Structs

Config is a struct of configuration directives for NewMasterComponents.
No description provided by the author
MasterComponents is a control struct for all master components started via NewMasterComponents.
MasterHolder implements.

# Interfaces

MasterReceiver can be used to provide the master to a custom incoming server function.

# Type aliases

CloseFunc can be called to cleanup the master.
Task is a function passed to worker goroutines by RunParallel.