github.com/netdata/go.d.plugin@v0.58.1/agent/discovery/sd/model/target.go (about)

     1  // SPDX-License-Identifier: GPL-3.0-or-later
     2  
     3  package model
     4  
     5  type Target interface {
     6  	Hash() uint64
     7  	Tags() Tags
     8  	TUID() string
     9  }
    10  
    11  type TargetGroup interface {
    12  	Targets() []Target
    13  	Provider() string
    14  	Source() string
    15  }