Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type AlertManager ¶
type AlertManager struct {
// contains filtered or unexported fields
}
func New ¶
func New(config Config) (*AlertManager, error)
func (*AlertManager) CreateSilence ¶
func (am *AlertManager) CreateSilence(s *Silence) error
func (*AlertManager) DeleteSilenceByComment ¶
func (am *AlertManager) DeleteSilenceByComment(comment string) error
func (*AlertManager) GetSilenceByComment ¶
func (am *AlertManager) GetSilenceByComment(comment string) (*Silence, error)
func (*AlertManager) ListSilences ¶
func (am *AlertManager) ListSilences() ([]Silence, error)
Click to show internal directories.
Click to hide internal directories.