Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Initiators map[string]ProbeInitiator
Functions ¶
This section is empty.
Types ¶
type CommandProbe ¶
type CommandProbeRunner ¶
type CommandProbeRunner struct { Probe CommandProbe // contains filtered or unexported fields }
func (*CommandProbeRunner) Run ¶
func (runner *CommandProbeRunner) Run()
type Destination ¶
type Destination interface { }
type Fping ¶
type Fping struct { Name string Command string Interval uint64 Host string // contains filtered or unexported fields }
func (*Fping) GetCommand ¶
type FunctionProbe ¶
type FunctionProbeRunner ¶
type FunctionProbeRunner struct { Probe FunctionProbe // contains filtered or unexported fields }
func (*FunctionProbeRunner) Run ¶
func (runner *FunctionProbeRunner) Run()
type ProbeFunction ¶
type ProbeFunction func(host string, interval uint64) ProbeRunner
type ProbeInitiator ¶
type ProbeInitiator func(name string, config map[string]interface{}) ProbeFunction
type ProbeRunner ¶
type ProbeRunner interface {
Run()
}
Click to show internal directories.
Click to hide internal directories.