utils

package
v1.6.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2019 License: Apache-2.0 Imports: 3 Imported by: 22

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractNamespace

func ExtractNamespace(np metav1.Object) string

ExtractNamespace extracts the namespace of ObjectMeta.

func GetObjNamespaceName

func GetObjNamespaceName(obj metav1.Object) string

GetObjNamespaceName returns the object's namespace and name.

func GetObjUID added in v1.5.0

func GetObjUID(obj metav1.Object) string

GetObjUID returns the object's namespace and name.

func IsInfraContainer added in v1.5.0

func IsInfraContainer(labels map[string]string) bool

IsInfraContainer returns true if the given set of labels represent a infra container.

Types

This section is empty.

Jump to

Keyboard shortcuts

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