package
Version:
v0.0.0-...-f62483c
Opens a new window with list of versions in this module.
Published: Oct 4, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
¶
type Action struct {
Action string `json:"action"`
Setting Setting `json:"settings"`
}
type Alert struct {
ID string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Actions []Action `json:"actions,omitempty"`
Triggers []Trigger `json:"triggers,omitempty"`
Links api.Links `json:"links,omitempty"`
}
type Alerts struct {
Items []Alert `json:"items"`
Links api.Links `json:"links"`
}
type Setting struct {
Recipients []string `json:"recipients"`
}
type Trigger struct {
Metric string `json:"metric"`
Duration string `json:"duration"`
Threshold float64 `json:"threshold"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.