Matcher describes a matches the value of a given label.
| 23 | |
| 24 | // Matcher describes a matches the value of a given label. |
| 25 | type Matcher struct { |
| 26 | Name LabelName `json:"name"` |
| 27 | Value string `json:"value"` |
| 28 | IsRegex bool `json:"isRegex"` |
| 29 | } |
| 30 | |
| 31 | func (m *Matcher) UnmarshalJSON(b []byte) error { |
| 32 | type plain Matcher |
nothing calls this directly
no outgoing calls
no test coverage detected