helper

package
v0.7.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCACert

func GetCACert(kubeconfig *clientcmdapi.Config) (string, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL