Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertMap ¶
type AlertMap struct {
// contains filtered or unexported fields
}
func NewAlertMap ¶
func NewAlertMap(alertStore AlertStore) *AlertMap
func (*AlertMap) ClearAlerts ¶
Blocks calls to UpdateAlert()
func (*AlertMap) UpdateAlert ¶
type AlertStore ¶
type AlertStoreImpl ¶
type AlertStoreImpl struct {
// contains filtered or unexported fields
}
func NewAlertStore ¶
func NewAlertStore(storageDriver storage.StorageDriver) *AlertStoreImpl
func (*AlertStoreImpl) DeleteAll ¶
func (alertStore *AlertStoreImpl) DeleteAll(alerts map[string]Alert) error
func (*AlertStoreImpl) ForEach ¶
func (alertStore *AlertStoreImpl) ForEach(cb func(alert Alert)) error
func (*AlertStoreImpl) Put ¶
func (alertStore *AlertStoreImpl) Put(alert Alert) error
Click to show internal directories.
Click to hide internal directories.