Versions in this module Expand all Collapse all v1 v1.0.0 Feb 10, 2023 Changes in this version + func AddAnnotation(obj metav1.Object, key, value string) + func AddLabel(obj metav1.Object, key, value string) + func CopyAnnotation(fromObj, toObj metav1.Object, key string) bool + func CopyAnnotationsPredicate(fromObj, toObj metav1.Object, predicate AnnotationPredicate) bool + func GetAnnotation(obj metav1.Object, key string) string + func HasAnnotation(obj metav1.Object, key string) bool + func HasAnnotationsContaining(obj metav1.Object, key string) (bool, map[string]string) + func HasLabel(obj metav1.Object, key string) bool + func HasLabelsContaining(obj metav1.Object, key string) (bool, map[string]string) + func RemoveAnnotation(obj metav1.Object, key string) + func RemoveLabel(obj metav1.Object, key string) + type AnnotationPredicate func(key, value string) bool + func KeyPredicate(predicate func(key string) bool) AnnotationPredicate