Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertExpiryCheck ¶
type ConnectivityCheck ¶
type HttpPlugin ¶
type HttpPlugin struct {
config.InternalConfig
Partials []Partial `toml:"partials"`
Instances []*Instance `toml:"instances"`
}
func (*HttpPlugin) ApplyPartials ¶
func (p *HttpPlugin) ApplyPartials() error
func (*HttpPlugin) GetInstances ¶
func (h *HttpPlugin) GetInstances() []plugins.Instance
type Instance ¶
type Instance struct {
config.InternalConfig
Partial string `toml:"partial"`
Targets []string `toml:"targets"`
Concurrency int `toml:"concurrency"`
Connectivity ConnectivityCheck `toml:"connectivity"`
ResponseTime ResponseTimeCheck `toml:"response_time"`
CertExpiry CertExpiryCheck `toml:"cert_expiry"`
StatusCode StatusCodeCheck `toml:"status_code"`
ResponseBody ResponseBodyCheck `toml:"response_body"`
config.HTTPConfig
// contains filtered or unexported fields
}
type Partial ¶
type Partial struct {
ID string `toml:"id"`
Concurrency int `toml:"concurrency"`
config.HTTPConfig
}
type ResponseBodyCheck ¶
type ResponseTimeCheck ¶
type StatusCodeCheck ¶
Click to show internal directories.
Click to hide internal directories.