Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Probe ¶
type Probe interface { Start() Stop() }
Probe describes a Probe (topology or flow) mechanism API
type ProbeBundle ¶
ProbeBundle describes a bundle of probes (topology of flow)
func NewProbeBundle ¶
func NewProbeBundle(p map[string]Probe) *ProbeBundle
NewProbeBundle creates a new probe bundle
func (*ProbeBundle) ActiveProbes ¶ added in v0.17.0
func (p *ProbeBundle) ActiveProbes() []string
ActiveProbes returns all active probes name
func (*ProbeBundle) AddProbe ¶ added in v0.16.0
func (p *ProbeBundle) AddProbe(name string, probe Probe)
AddProbe adds a probe to the bundle
func (*ProbeBundle) GetProbe ¶
func (p *ProbeBundle) GetProbe(name string) Probe
GetProbe retrieve a specific probe name
Click to show internal directories.
Click to hide internal directories.