Documentation ¶
Overview ¶
Example (PrintConnectors) ¶
c := []connector{ {id: "local", url: "/auth/local?req=ft6cvb6b4om3y7cbe3ncfw6mf"}, {id: "ldap", url: "/auth/ldap?req=ft6cvb6b4om3y7cbe3ncfw6mf"}, } printConnectors(c)
Output: Available authentication connector IDs are: local ldap
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Login ¶
func Login(cfg LoginConfig) (*clientcmdapi.Config, error)
Login do authentication login process
func SaveKubeconfig ¶
func SaveKubeconfig(filename string, kubeConfig *clientcmdapi.Config) error
SaveKubeconfig saves kubeconfig to filename
Types ¶
Click to show internal directories.
Click to hide internal directories.