Documentation ¶
Overview ¶
Provide connection details to a Kubernetes cluster.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Config ¶
type Config interface { // TargetName returns the name of thetarget cluster. // ProvideTarget() is equivalent to Provide(TargetName()). TargetName() string // Provide returns the rest config for a named cluster. // Returns nil if the cluster is not available. // Mainly used when the main cluster contains references to other clusters. Provide(clusterName string) *Cluster }
type MockConfig ¶
func (*MockConfig) Provide ¶
func (c *MockConfig) Provide(clusterName string) *Cluster
func (*MockConfig) TargetName ¶
func (c *MockConfig) TargetName() string
Click to show internal directories.
Click to hide internal directories.