Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Context ¶ added in v0.25.0
type Context struct {
Logger logging.Logger
Config config.Config
Graph *graph.Graph
RootNode *graph.Node
}
Context defines a context to be used by constructor of probes
type Handler ¶ added in v0.25.0
Handler defines a topology probe handler
type ProbeWrapper ¶ added in v0.25.0
type ProbeWrapper struct {
// contains filtered or unexported fields
}
ProbeWrapper wraps a probe so that it tries to reconnect if the connection to the daemon is lost
func NewProbeWrapper ¶ added in v0.25.0
func NewProbeWrapper(handler handler) *ProbeWrapper
NewProbeWrapper returns a new probe wrapper
func (*ProbeWrapper) GetStatus ¶ added in v0.25.0
func (p *ProbeWrapper) GetStatus() interface{}
GetStatus returns the status of the probe
Source Files
¶
- probe.go
- wrapper.go
Click to show internal directories.
Click to hide internal directories.