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
Types ¶
Click to show internal directories.
Click to hide internal directories.