commontest

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNamespace

func CreateNamespace(baseName string, c client.Client) (string, error)

CreateNamespace creates a new namespace in the cluster.

func CreateNamespaceWithLabels

func CreateNamespaceWithLabels(baseName string, c client.Client, labels map[string]string) (string, error)

func HasFieldOwnership

func HasFieldOwnership(meta metav1.ObjectMeta, mgr, rawFields string) bool

func HasOwnerRef

func HasOwnerRef(meta metav1.ObjectMeta, kind, name string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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