(comp *appsv1.Component, annotation string)
| 107 | } |
| 108 | |
| 109 | func getCompAnnotationValue(comp *appsv1.Component, annotation string) (string, error) { |
| 110 | return getCompValueFromMap(comp, comp.Annotations, "annotation", annotation) |
| 111 | } |
| 112 | |
| 113 | func getCompLabelValue(comp *appsv1.Component, label string) (string, error) { |
| 114 | return getCompValueFromMap(comp, comp.Labels, "label", label) |
no test coverage detected
searching dependent graphs…