HasLabel determines if the filter has the given label.
(l string)
| 114 | |
| 115 | // HasLabel determines if the filter has the given label. |
| 116 | func (f FilterConfig) HasLabel(l string) bool { return f.Labels[l] != "" } |
| 117 | |
| 118 | // Filters contains references to rule and macro definitions. |
| 119 | type Filters struct { |