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.
Click to show internal directories.
Click to hide internal directories.