Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeConfig ¶
type KubeConfig struct { CurrentContext string `yaml:"current-context"` Clusters []Cluster `yaml:"clusters"` Users []User `yaml:"users"` Contexts []Context `yaml:"contexts"` }
KubeConfig instance
func (*KubeConfig) Parse ¶
func (k *KubeConfig) Parse(data []byte) error
Parse data into KubeConfig instance.
Click to show internal directories.
Click to hide internal directories.