Documentation ¶
Index ¶
- func ChoriaPlugin() plugin.Pluggable
- func New(mgr server.AgentManager) (agents.Agent, error)
- type CheckState
- type ChecksRequest
- type ChecksResponse
- type GossValidateRequest
- type GossValidateResponse
- type MaintenanceReply
- type MaintenanceRequest
- type ResumeReply
- type ResumeRequest
- type TriggerReply
- type TriggerRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChoriaPlugin ¶
Types ¶
type CheckState ¶
type CheckState struct { Name string `json:"name"` State string `json:"state"` Version string `json:"version"` Started int64 `json:"start_time"` Status *nagioswatcher.StateNotification `json:"status"` }
type ChecksRequest ¶
type ChecksRequest struct{}
type ChecksResponse ¶ added in v0.17.0
type ChecksResponse struct {
Checks []*CheckState `json:"checks"`
}
type GossValidateRequest ¶
type GossValidateResponse ¶
type GossValidateResponse struct { Failures int `json:"failures"` Results []gossoutputs.StructuredTestResult `json:"results"` Runtime float64 `json:"runtime"` Success int `json:"success"` Skipped int `json:"skipped"` Summary string `json:"summary"` Tests int `json:"tests"` }
type MaintenanceReply ¶
type MaintenanceRequest ¶
type MaintenanceRequest struct {
Checks []string `json:"checks"`
}
type ResumeReply ¶
type ResumeRequest ¶
type ResumeRequest struct {
Checks []string `json:"checks"`
}
type TriggerReply ¶
type TriggerRequest ¶
type TriggerRequest struct {
Checks []string `json:"checks"`
}
Click to show internal directories.
Click to hide internal directories.