helper

package
v0.8.1 Latest Latest
Warning

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

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

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