(set map[string]struct{})
| 489 | } |
| 490 | |
| 491 | func mapKeysSorted(set map[string]struct{}) []string { |
| 492 | out := make([]string, 0, len(set)) |
| 493 | for key := range set { |
| 494 | out = append(out, key) |
| 495 | } |
| 496 | sort.Strings(out) |
| 497 | return out |
| 498 | } |
| 499 | |
| 500 | // selectorMatcher adapts prometheus selector API to chartengine selector binding. |
| 501 | type selectorMatcher struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…