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 ¶
Click to show internal directories.
Click to hide internal directories.