kubeutils

package
v1.2.118 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNamespaceIfNotExists

func CreateNamespaceIfNotExists(client kubernetes.Interface, namespace string) error

func GetOrCreateConfigMapWithNamespaceIfNotExists

func GetOrCreateConfigMapWithNamespaceIfNotExists(client kubernetes.Interface, namespace, configMapName string) (*v1.ConfigMap, error)

func RemoveResourceAndWaitUntilRemoved

func RemoveResourceAndWaitUntilRemoved(ctx context.Context, name, kind, namespace string) error

Not namespaced resource specifies without namespace

Types

This section is empty.

Jump to

Keyboard shortcuts

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