Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClientConfig ¶
GetClientConfig fetchs the kubernetes config of current cluster
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
Cluster holds the config information for Kubernetes cluster
func NewCluster ¶
NewCluster returns new cluster struct initialized with KUBECONFIG from environment
Click to show internal directories.
Click to hide internal directories.