kubeutils

package
v0.0.0-...-c4d1043 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TERMINATION_LOG = "/dev/termination-log"
)

Variables

This section is empty.

Functions

func CreateNamespacesInParallel

func CreateNamespacesInParallel(kube kubernetes.Interface, namespaces ...string) error

func DeleteNamespacesInParallel

func DeleteNamespacesInParallel(kube kubernetes.Interface, namespaces ...string)

func DeleteNamespacesInParallelBlocking

func DeleteNamespacesInParallelBlocking(kube kubernetes.Interface, namespaces ...string) error

func GetConfig

func GetConfig(masterURL, kubeconfigPath string) (*rest.Config, error)

GetConfig gets the kubernetes client config

func GetKubeConfig

func GetKubeConfig(masterURL, kubeconfigPath string) (*clientcmdapi.Config, error)

GetConfig gets the kubernetes client config

func LogFailureState

func LogFailureState(failureErr error)

func SanitizeName

func SanitizeName(name string) string

use SanitizeNameV2 DEPRECATED

func SanitizeNameV2

func SanitizeNameV2(name string) string

func WaitForCrdActive

func WaitForCrdActive(apiexts apiexts.Interface, crdName string) error

Waits for a CRD to be "established" in kubernetes, which means it's active an can be CRUD'ed by clients

Types

This section is empty.

Jump to

Keyboard shortcuts

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