Versions in this module Expand all Collapse all v0 v0.3.0 Jul 8, 2016 Changes in this version + type Alerts struct + func NewAlerts(path string) (*Alerts, error) + func (a *Alerts) Close() error + func (a *Alerts) Get(fp model.Fingerprint) (*types.Alert, error) + func (a *Alerts) GetPending() provider.AlertIterator + func (a *Alerts) Put(alerts ...*types.Alert) error + func (a *Alerts) Subscribe() provider.AlertIterator + type NotificationInfo struct + func NewNotificationInfo(path string) (*NotificationInfo, error) + func (n *NotificationInfo) Close() error + func (n *NotificationInfo) Get(recv string, fps ...model.Fingerprint) ([]*types.NotifyInfo, error) + func (n *NotificationInfo) Set(ns ...*types.NotifyInfo) error + type Silences struct + func NewSilences(path string, mk types.Marker) (*Silences, error) + func (s *Silences) All() ([]*types.Silence, error) + func (s *Silences) Close() error + func (s *Silences) Del(uid uint64) error + func (s *Silences) Get(uid uint64) (*types.Silence, error) + func (s *Silences) Mutes(lset model.LabelSet) bool + func (s *Silences) Set(sil *types.Silence) (uint64, error)