annotations

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(instance metav1.Object, key, value string)

Add makes sure that the provided key/value are set as an annotation

func Get added in v1.0.0

func Get(instance metav1.Object, key string) string

Get returns annotation string if the annotation is already set

func Has

func Has(instance metav1.Object, key string) bool

Has returns true if the annotation is already set

Types

This section is empty.

Jump to

Keyboard shortcuts

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