Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeConfig ¶
MakeConfig checks/gets serviceaccount of the user (actually, the namespace), and if the serviceaccount exists this function checks/gets its secret, and then CA and token info of the secret. Subsequently, this reads cluster and server info of the current context from the config file to use them on the creation of kubeconfig.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.