Documentation ¶
Index ¶
- Constants
- 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 ¶
View Source
const ( // JournaldMaxUse defines the maximum space that journalD logs can occupy. // https://www.freedesktop.org/software/systemd/man/journald.conf.html#SystemMaxUse= JournaldMaxUse = "5G" )
Variables ¶
This section is empty.
Functions ¶
func GetKubeadmCACertHash ¶
func GetKubeadmCACertHash(kubeconfig *clientcmdapi.Config) (string, error)
GetKubeadmCACertHash 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)
StringifyKubeconfig marshals a kubeconfig to its text form
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.