alertmanager

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertManager

type AlertManager struct {
	// contains filtered or unexported fields
}

AlertManager represents AlertManager

func New

func New(cfg alertmanager.Alertmanager, version string, logger *zap.Logger) (*AlertManager, error)

New creates new AlertManager

func (*AlertManager) Ignore added in v0.8.2

func (a *AlertManager) Ignore() bool

func (*AlertManager) Name

func (a *AlertManager) Name() string

Name returns name of the AlertManager

func (*AlertManager) Send

func (a *AlertManager) Send(mes *message.Message) error

Send a message to AlertManager

Jump to

Keyboard shortcuts

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