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,omitempty"` Clusters []configCluster `yaml:"clusters,omitempty"` Contexts []configContext `yaml:"contexts,omitempty"` Users []configUser `yaml:"users,omitempty"` CurrentContext string `yaml:"current-context,omitempty"` Kind string `yaml:"kind,omitempty"` Preferences string `yaml:"preferences,omitempty"` }
func RestToRaw ¶
func RestToRaw(config rest.Config) KubeConfig
Click to show internal directories.
Click to hide internal directories.