Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertmanagerSinker ¶
type AlertmanagerSinker struct {
// contains filtered or unexported fields
}
func NewAlertmanagerSinker ¶
func NewAlertmanagerSinker(c *config.RulerAlertmanagerSink) (*AlertmanagerSinker, error)
func (*AlertmanagerSinker) SinkAlerts ¶
func (s *AlertmanagerSinker) SinkAlerts(ctx context.Context, evtAlerts []*types.EventAlert) error
type StdoutSinker ¶
type StdoutSinker struct { }
func (*StdoutSinker) SinkAlerts ¶
func (s *StdoutSinker) SinkAlerts(ctx context.Context, evtAlerts []*types.EventAlert) error
type WebhookSinker ¶
type WebhookSinker struct {
Url string
}
func (*WebhookSinker) SinkAlerts ¶
func (s *WebhookSinker) SinkAlerts(ctx context.Context, evtAlerts []*types.EventAlert) error
Click to show internal directories.
Click to hide internal directories.