annotations

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAnnotation

func AddAnnotation(obj Annotated, annotationKey string, annotationValue string)

func AddHashAnnotation

func AddHashAnnotation(obj Annotated)

func CompareAnnotations

func CompareAnnotations(r1, r2 Annotated, annotationKey string) bool

func CompareHashAnnotations

func CompareHashAnnotations(r1, r2 Annotated) bool

func GetAnnotation

func GetAnnotation(component Annotated, annotationKey string) string

func HasAnnotationWithValue

func HasAnnotationWithValue(component Annotated, annotationKey string, annotationValue string) bool

Types

type Annotated

type Annotated interface {
	GetAnnotations() map[string]string
	SetAnnotations(annotations map[string]string)
}

Jump to

Keyboard shortcuts

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