Documentation
¶
Index ¶
- Constants
- func CreateNamespacesInParallel(ctx context.Context, kube kubernetes.Interface, namespaces ...string) error
- func DeleteNamespacesInParallel(ctx context.Context, kube kubernetes.Interface, namespaces ...string)
- func DeleteNamespacesInParallelBlocking(ctx context.Context, kube kubernetes.Interface, namespaces ...string) error
- func GetConfig(masterURL, kubeconfigPath string) (*rest.Config, error)
- func GetConfigWithContext(masterURL, kubeconfigPath, context string) (*rest.Config, error)
- func GetKubeConfig(masterURL, kubeconfigPath string) (*clientcmdapi.Config, error)
- func LogFailureState(failureErr error)
- func SanitizeName(name string) string
- func SanitizeNameV2(name string) string
- func WaitForCrdActive(ctx context.Context, apiexts apiexts.Interface, crdName string) error
Constants ¶
View Source
const (
TERMINATION_LOG = "/dev/termination-log"
)
Variables ¶
This section is empty.
Functions ¶
func DeleteNamespacesInParallel ¶
func DeleteNamespacesInParallel(ctx context.Context, kube kubernetes.Interface, namespaces ...string)
func GetConfigWithContext ¶ added in v0.13.3
func GetKubeConfig ¶
func GetKubeConfig(masterURL, kubeconfigPath string) (*clientcmdapi.Config, error)
GetConfig gets the kubernetes client config
func LogFailureState ¶
func LogFailureState(failureErr error)
func SanitizeNameV2 ¶ added in v0.9.5
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.