MCPcopy
hub / github.com/prometheus/prometheus / testDiscoverer

Struct testDiscoverer

discovery/manager_test.go:1576–1579  ·  view source on GitHub ↗

testDiscoverer is a config and a discoverer that can adjust targets with a simple function.

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected