Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultClient = ""
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster interface {
Config() (*rest.Config, error)
}
func NewClusterFromConfig ¶
func NewClusterFromConfig(config *rest.Config) (Cluster, error)
func NewClusterFromKubeconfig ¶
func NewClusterFromKubeconfig(kubeconfig string, context string) Cluster
type Registry ¶
type Registry interface {
Register(string, Cluster) Registry
Resolve(bool, ...string) (*rest.Config, client.Client, error)
}
func NewRegistry ¶
func NewRegistry() Registry
Click to show internal directories.
Click to hide internal directories.