Documentation ¶
Index ¶
- func GetCACert(kubeconfig *clientcmdapi.Config) (string, error)
- func GetKubeadmCACertHash(kubeconfig *clientcmdapi.Config) (string, error)
- func GetServerAddressFromKubeconfig(kubeconfig *clientcmdapi.Config) (string, error)
- func GetTokenFromKubeconfig(kubeconfig *clientcmdapi.Config) (string, error)
- func StringifyKubeconfig(kubeconfig *clientcmdapi.Config) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKubeadmCACertHash ¶
func GetKubeadmCACertHash(kubeconfig *clientcmdapi.Config) (string, error)
Returns a sha256sum of the Certificates RawSubjectPublicKeyInfo
func GetServerAddressFromKubeconfig ¶
func GetServerAddressFromKubeconfig(kubeconfig *clientcmdapi.Config) (string, error)
func GetTokenFromKubeconfig ¶
func GetTokenFromKubeconfig(kubeconfig *clientcmdapi.Config) (string, error)
func StringifyKubeconfig ¶
func StringifyKubeconfig(kubeconfig *clientcmdapi.Config) (string, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.