helper

package
v0.9.4 Latest Latest
Warning

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

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

Documentation

Index

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 GetCACert

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

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.

Jump to

Keyboard shortcuts

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