Help us shape the future of Go! Take the 2026 Go Developer Survey

helper

package
v0.7.18 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 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