namespace

package
v1.0.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(name string) (string, error)

Create function checks namespace occupied or not and uses clientset to create a namespace

func GetList

func GetList() []string

GetList uses clientset, this function gets list of namespaces by eliminating "default", "kube-system", and "kube-public"

func GetNamespaceByName

func GetNamespaceByName(name string) (string, error)

GetNamespaceByName uses clientset to get namespace requested

Types

This section is empty.

Jump to

Keyboard shortcuts

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