commontest

package
v0.9.16 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 8 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, expected string) string

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