appprotectcommon

package
v3.4.3 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNsName

func GetNsName(obj *unstructured.Unstructured) string

GetNsName gets the key of a resource in the format: "resNamespace/resName"

func ParseResourceReferenceAnnotation

func ParseResourceReferenceAnnotation(ns, antn string) string

ParseResourceReferenceAnnotation returns a namespace/name string

func ParseResourceReferenceAnnotationList

func ParseResourceReferenceAnnotationList(ns, annotations string) []string

ParseResourceReferenceAnnotationList returns a slice of ns/names strings

Types

This section is empty.

Jump to

Keyboard shortcuts

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