controller

package
v0.0.0-...-f418a37 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAnnotation

func GetAnnotation(object runtime.Object, annotation string) (value string, err error)

GetAnnotation returns the value of the annotation from the runtime.Object or an error if unable to retrieve annotation.

func GetNamespaceAndName

func GetNamespaceAndName(object runtime.Object) (namespace, name string, err error)

GetNamespaceAndName returns the namespace and name from the runtime.Object or an error if either is missing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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