summaryrefslogtreecommitdiffstats
path: root/src/go/collectors/go.d.plugin/agent/discovery/sd/model/target.go
blob: eb2bd9d5140730a1da0d946753ae5798bbd4d553 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// SPDX-License-Identifier: GPL-3.0-or-later

package model

type Target interface {
	Hash() uint64
	Tags() Tags
	TUID() string
}

type TargetGroup interface {
	Targets() []Target
	Provider() string
	Source() string
}