Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildKubeConfigForUser ¶
func BuildKubeConfigForUser(cms []*ConfigMeta) ([]byte, error)
BuildKubeConfigForUser build kubeConfig for specified user, aggregate if there are clusters more than one. Only token way support.
func BuildKubeConfigFromRestConfig ¶
BuildKubeConfigFromRestConfig build kubeConfig from config use cert way
func LoadKubeConfigFromBytes ¶
LoadKubeConfigFromBytes load kubeConfig form raw config
func LoadKubeConfigFromFlags ¶ added in v1.2.0
Types ¶
Click to show internal directories.
Click to hide internal directories.