Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMonitAdapter ¶
func NewMonitAdapter(monitAlert MonitAlert, settingsService boshsettings.Service, timeService boshtime.Service) *monitAdapter
Types ¶
type Adapter ¶
func NewSSHAdapter ¶
type Alert ¶
type Alert struct { ID string `json:"id"` Severity SeverityLevel `json:"severity"` Title string `json:"title"` Summary string `json:"summary"` CreatedAt int64 `json:"created_at"` }
type MonitAlert ¶
type SeverityLevel ¶
type SeverityLevel int
const ( SeverityAlert SeverityLevel = 1 SeverityCritical SeverityLevel = 2 SeverityError SeverityLevel = 3 SeverityWarning SeverityLevel = 4 SeverityIgnored SeverityLevel = -1 SeverityDefault SeverityLevel = SeverityCritical )
Click to show internal directories.
Click to hide internal directories.