alertmanager

package
v0.0.0-...-1b233ce Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigFileName   = "config.yml"
	EnvLabelName     = "environment"
	AlertIDLabelName = "alert_id"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Operator

type Operator interface {
	AddReceiver(recipient *v1beta1.Recipient, Notifier *v1beta1.Notifier) error
	UpdateReceiver(recipient *v1beta1.RecipientList, Notifier *v1beta1.Notifier) error
	AddRoute(alert *v1beta1.Alert) error
	UpdateRoute(alert *v1beta1.Alert) error
	DeleteRoute(alert *v1beta1.Alert) error
	GetActiveAlertListFromAlertManager(filter string) ([]*dispatch.APIAlert, error)
}

func NewOperator

func NewOperator(c *kubernetes.Clientset, alertManagerUrl string, alertSecretName string, alertmanagerConfig string) Operator

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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