probe

package
v0.0.0-...-5b448de Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2017 License: Apache-2.0 Imports: 0 Imported by: 0

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

type ProbeBundle struct {
	Probes map[string]Probe
}

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) GetProbe

func (p *ProbeBundle) GetProbe(name string) Probe

GetProbe retrieve a specific probe name

func (*ProbeBundle) Start

func (p *ProbeBundle) Start()

Start a bundle of probes

func (*ProbeBundle) Stop

func (p *ProbeBundle) Stop()

Stop a bundle of probes

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL