namespaces

package
v0.0.0-...-351f9be Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamespaceSteveType = "namespace"
)

Variables

This section is empty.

Functions

func CreateNamespace

func CreateNamespace(client *rancher.Client, namespaceName, containerDefaultResourceLimit string, labels, annotations map[string]string, project *management.Project) (*v1.SteveAPIObject, error)

CreateNamespace is a helper function that uses the dynamic client to create a namespace on a project. It registers a delete function with a wait.WatchWait to ensure the namspace is deleted cleanly.

Types

This section is empty.

Jump to

Keyboard shortcuts

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