Documentation ¶
Index ¶
- type AlertingSystem
- func (as *AlertingSystem) AddAlertType(name, id string) alertinginterface.AlertType
- func (as *AlertingSystem) IsRaised(alert alertinginterface.AlertType) bool
- func (as *AlertingSystem) Raise(alert alertinginterface.AlertType, metadata map[string]interface{})
- func (as *AlertingSystem) Resolve(alert alertinginterface.AlertType, metadata map[string]string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertingSystem ¶
func NewAlertingSystem ¶
func NewAlertingSystem() *AlertingSystem
func (*AlertingSystem) AddAlertType ¶
func (as *AlertingSystem) AddAlertType(name, id string) alertinginterface.AlertType
func (*AlertingSystem) IsRaised ¶
func (as *AlertingSystem) IsRaised(alert alertinginterface.AlertType) bool
func (*AlertingSystem) Raise ¶
func (as *AlertingSystem) Raise(alert alertinginterface.AlertType, metadata map[string]interface{})
func (*AlertingSystem) Resolve ¶
func (as *AlertingSystem) Resolve(alert alertinginterface.AlertType, metadata map[string]string)
Click to show internal directories.
Click to hide internal directories.