testDiscoverer is a config and a discoverer that can adjust targets with a simple function.
| 1574 | // testDiscoverer is a config and a discoverer that can adjust targets with a |
| 1575 | // simple function. |
| 1576 | type testDiscoverer struct { |
| 1577 | up chan<- []*targetgroup.Group |
| 1578 | ready chan struct{} |
| 1579 | } |
| 1580 | |
| 1581 | func newTestDiscoverer() *testDiscoverer { |
| 1582 | return &testDiscoverer{ |
nothing calls this directly
no outgoing calls
no test coverage detected