core

package
v0.0.0-...-6f04f12 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNamespace

func CreateNamespace(namespaceName string) error

CreateNamespace creates namespace

func DeleteNamespace

func DeleteNamespace(namespaceName string) error

DeleteNamespace deletes namespace

func GetNamespace

func GetNamespace(namespaceName string) (*corev1.Namespace, error)

GetNamespace returns namespace

func IsNamespaceExists

func IsNamespaceExists(namespaceName string) (bool, error)

IsNamespaceExists returns true is namespace exists

func SetClient

func SetClient(client client.Client)

SetClient used for test purposes or in case when custom client is needed to be provided

Types

This section is empty.

Jump to

Keyboard shortcuts

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