# Functions
CreateImageAnnotations returns a map of annotations from a ImageAnnotationData object.
CreateImageLabels returns a map of labels from a ImageAnnotationData object.
CreatePodAnnotations returns a map of annotations from a PodAnnotationData object.
CreatePodLabels returns a map of labels from a PodAnnotationData object.
NewImageAnnotationData creates a new ImageAnnotationData object.
NewPodAnnotationData creates a new PodAnnotationData object.
RemoveRegistryInfo will take a string and return a string that removes any registry name information and replaces all / with .
ShortenLabelContent will ensure the data is less than the 63 character limit and doesn't contain any characters that are not allowed.
StringMapContains will return true all the key/value pairs in subset exist and are the same in bigMap.
# Structs
ImageAnnotationData describes the data model for image annotation.
ImageAnnotatorHandlerFuncs is an adapter to let you easily define as many of the image annotation functions as desired while still implementing ImageAnnotatorHandler.
MapCompareHandlerFuncs is an adapter to let you easily define a function to use to compare 2 maps if desired while still implementing MapCompareHandler.
PodAnnotationData describes the data model for pod annotation.
PodAnnotatorHandlerFuncs is an adapter to let you easily define as many of the pod annotation functions as desired while still implementing PodAnnotatorHandler.
# Interfaces
ImageAnnotatorHandler provides the functions needed to annotate images.
MapCompareHandler handles comparing 2 maps.
PodAnnotatorHandler provides the functions needed to annotate pods.