Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Webhook ¶
Webhook is wrapper for the Alertmanager webhook.message adding retry counter.
func NewWebhookFromAlertmanagerMessage ¶
NewWebhookFromAlertmanagerMessage returns new Webhook wrapping the original Alertmanager webhook.message.
func (*Webhook) Retry ¶
func (w *Webhook) Retry()
Retry increments number of retries for the Webhook.
func (*Webhook) RetryCount ¶
RetryCount returns number of retries for the given alertmanager message.
Click to show internal directories.
Click to hide internal directories.