k8s

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFinalizer

func AddFinalizer(object metav1.Object, finalizer string)

AddFinalizer :

func GetName

func GetName(def string) string

GetName :

func GetNamespace

func GetNamespace() string

GetNamespace :

func HasFinalizer

func HasFinalizer(object metav1.Object, finalizer string) bool

HasFinalizer :

func RemoveFinalizer

func RemoveFinalizer(object metav1.Object, finalizer string)

RemoveFinalizer :

Types

type Scope

type Scope string

Scope :

const (
	// ClusterScope :
	ClusterScope Scope = "cluster"

	// NamespaceScope :
	NamespaceScope Scope = "namespace"
)

func GetScope

func GetScope() Scope

GetScope :

Jump to

Keyboard shortcuts

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