Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeConfig ¶
type KubeConfig struct { APIVersion string `yaml:"apiVersion"` Clusters []clusterItem `yaml:"clusters"` Users []userItem `yaml:"users"` Contexts []contextItem `yaml:"contexts,omitempty"` CurrentContext string `yaml:"current-context,omitempty"` Kind string `yaml:"kind,omitempty"` Preferences map[string]interface{} `yaml:"preferences,omitempty"` }
func ParseKubeConfig ¶
func ParseKubeConfig(config string) (*KubeConfig, error)
Click to show internal directories.
Click to hide internal directories.