diff options
Diffstat (limited to 'src/go/collectors/go.d.plugin/agent/discovery/sd/model/discoverer.go')
-rw-r--r-- | src/go/collectors/go.d.plugin/agent/discovery/sd/model/discoverer.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/go/collectors/go.d.plugin/agent/discovery/sd/model/discoverer.go b/src/go/collectors/go.d.plugin/agent/discovery/sd/model/discoverer.go new file mode 100644 index 0000000000..301322d32f --- /dev/null +++ b/src/go/collectors/go.d.plugin/agent/discovery/sd/model/discoverer.go @@ -0,0 +1,11 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + +package model + +import ( + "context" +) + +type Discoverer interface { + Discover(ctx context.Context, ch chan<- []TargetGroup) +} |