Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrProbeNotCompiled = fmt.Errorf("probe not compiled")
ErrProbeNotCompiled is thrown when a flow probe was not compiled within the binary
Functions ¶
This section is empty.
Types ¶
type Bundle ¶
Bundle describes a bundle of probes (topology of flow)
func (*Bundle) AddHandler ¶
AddHandler adds a probe to the bundle
func (*Bundle) EnabledProbes ¶
EnabledProbes returns all enabled probes name
func (*Bundle) GetHandler ¶
GetHandler retrieve a specific handler
type Handler ¶
type Handler interface { Start() Stop() }
Handler describes a ProbeHandler. A ProbeHandler aims to create probe
type ServiceStatus ¶
type ServiceStatus struct {
Status common.ServiceState
}
ServiceStatus describes the status returned by GetStatus
type StatusReporter ¶
type StatusReporter interface {
GetStatus() interface{}
}
StatusReporter can be implemented by probes to report their status
Click to show internal directories.
Click to hide internal directories.