Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NotifierBackend ¶
type NotifierBackend interface {
// Dispatch sends the rendered alerts out to recipients.
DispatchAlerts(ctx context.Context, renderedAlerts *alert.RenderedAlertBatch) error
}
A NotifierBackend actually dispatches the notiication to the recipients.
func NewSlackWebhookBackend ¶
func NewSlackWebhookBackend(cfg config.ConfigMap) (NotifierBackend, error)
Click to show internal directories.
Click to hide internal directories.