//
pkg.gl
Category
github.com/krpn/prometheus-alert-webhooker
model
package
0.0.0-20210912161602-c092c37e1cdd
Repository:
https://github.com/krpn/prometheus-alert-webhooker.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
9
Dependents
4
Files
401 SLOC
#
Functions
NewTasks
NewTasks creates for rule-alert pairs.
#
Structs
Action
Action describes direct action as an reaction of alert.
Conditions
Conditions describes.
Rule
Rule describes rule for alerts.
#
Type aliases
Actions
Actions is a slice of Action.
Alerts
Alerts is a slice of Alert.
Payload
Payload represents json structure of payload from Alertmanager.
Rules
Rules is a slice of Rule.
Tasks
Tasks is a slice of executor.Task.
TasksGroups
TasksGroups is a slice of Tasks.