Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAnnotationCSVs ¶
func GetAnnotationCSVs(obj AnnotationGetter, key string) []string
GetAnnotationCSVs will return the value of the annotation identified by the given key. If the annotation has comma separated values, the returned list will contain all deduped values.
func HasAnnotationOption ¶
func HasAnnotationOption(obj AnnotationGetter, key, val string) bool
HasAnnotationOption will return if the given obj has an annotation defined as the given key and has in its values, the ocurrence of val.
Types ¶
type AnnotationGetter ¶
AnnotationGetter defines the operations required to inspect if a resource has annotations
Click to show internal directories.
Click to hide internal directories.