Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alerters ¶ added in v0.16.0
type Alerters []Alerter
func NewAlerters ¶ added in v0.16.0
func NewAlerters(cfg service.ErrorAlerting) (Alerters, error)
func (Alerters) AlertError ¶ added in v0.16.0
type MockAlerter ¶
type MockAlerter struct{}
func (*MockAlerter) AlertError ¶
func (mn *MockAlerter) AlertError(e error) error
type PagerDuty ¶
type PagerDuty struct {
// contains filtered or unexported fields
}
func NewPagerDutyAlerter ¶
func NewPagerDutyAlerter(cfg *service.PagerDutyAlerting) (*PagerDuty, error)
func (*PagerDuty) AlertError ¶
type Slack ¶ added in v0.16.0
type Slack struct {
// contains filtered or unexported fields
}
func NewSlackAlerter ¶ added in v0.16.0
func NewSlackAlerter(cfg *service.SlackAlerting) (*Slack, error)
func (*Slack) AlertError ¶ added in v0.16.0
Click to show internal directories.
Click to hide internal directories.