Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alerts ¶
type Alerts struct {
// contains filtered or unexported fields
}
Alerts gives access to a set of alerts. All methods are goroutine-safe.
func (*Alerts) GetPending ¶
func (a *Alerts) GetPending() provider.AlertIterator
GetPending returns an iterator over all alerts that have pending notifications.
func (*Alerts) Subscribe ¶
func (a *Alerts) Subscribe() provider.AlertIterator
Subscribe returns an iterator over active alerts that have not been resolved and successfully notified about. They are not guaranteed to be in chronological order.