alert

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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 (*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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL