# Functions
AddAnnotation add annotation to runtime.Object.
AddLabel add label to runtime.Object.
AsStructured convert unstructured to structured.
ClearNamespace clear namespace if exists.
DeleteAnnotation delete annotation from runtime.Object.
DeleteLabel delete Label from runtime.Object.
EnsureNamespace ensure namespace existence.
GetAnnotation get annotation from runtime.Object.
GetGVKFromResource returns the GVK for the provided resource identifier.
GetKindForObject extract kind from runtime.Object If kind already set, directly use it.
GetLabel get label from runtime.Object.
GetRuntimeNamespace get namespace of the current running pod, fall back to default vela system.
GetUnstructuredFromResource returns an unstructured object for the provided resource identifier.
IsGVKNamespaced returns true if the object having the provided GVK is namespace scoped.
IsUnstructuredObject check if runtime.Object is unstructured.
# Structs
ResourceIdentifier .