Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectivityCheck ¶
type ConnectivityCheck struct {
Severity string `toml:"severity"`
}
type Instance ¶
type Instance struct {
config.InternalConfig
Partial string `toml:"partial"`
Targets []string `toml:"targets"`
Concurrency int `toml:"concurrency"`
Count int `toml:"count"`
PingInterval config.Duration `toml:"ping_interval"`
Timeout config.Duration `toml:"timeout"`
Interface string `toml:"interface"`
IPv6 *bool `toml:"ipv6"`
Size *int `toml:"size"`
Connectivity ConnectivityCheck `toml:"connectivity"`
PacketLoss PacketLossCheck `toml:"packet_loss"`
Rtt RttCheck `toml:"rtt"`
// contains filtered or unexported fields
}
type PacketLossCheck ¶
type Partial ¶
type Partial struct {
ID string `toml:"id"`
Concurrency int `toml:"concurrency"`
Count int `toml:"count"`
PingInterval config.Duration `toml:"ping_interval"`
Timeout config.Duration `toml:"timeout"`
Interface string `toml:"interface"`
IPv6 *bool `toml:"ipv6"`
Size *int `toml:"size"`
Connectivity ConnectivityCheck `toml:"connectivity"`
PacketLoss PacketLossCheck `toml:"packet_loss"`
Rtt RttCheck `toml:"rtt"`
}
type PingPlugin ¶
type PingPlugin struct {
config.InternalConfig
Partials []Partial `toml:"partials"`
Instances []*Instance `toml:"instances"`
}
func (*PingPlugin) ApplyPartials ¶
func (p *PingPlugin) ApplyPartials() error
func (*PingPlugin) GetInstances ¶
func (p *PingPlugin) GetInstances() []plugins.Instance
Click to show internal directories.
Click to hide internal directories.