2021-05-19 04:29:15 +02:00
|
|
|
package alert
|
|
|
|
|
|
|
|
// Type is the type of the alert.
|
|
|
|
// The value will generally be the name of the alert provider
|
|
|
|
type Type string
|
|
|
|
|
|
|
|
const (
|
|
|
|
// TypeCustom is the Type for the custom alerting provider
|
|
|
|
TypeCustom Type = "custom"
|
|
|
|
|
|
|
|
// TypeDiscord is the Type for the discord alerting provider
|
|
|
|
TypeDiscord Type = "discord"
|
|
|
|
|
2021-12-03 03:05:17 +01:00
|
|
|
// TypeEmail is the Type for the email alerting provider
|
|
|
|
TypeEmail Type = "email"
|
|
|
|
|
2022-01-16 06:07:19 +01:00
|
|
|
// TypeGoogleChat is the Type for the googlechat alerting provider
|
|
|
|
TypeGoogleChat Type = "googlechat"
|
|
|
|
|
2022-07-19 19:48:12 +02:00
|
|
|
// TypeMatrix is the Type for the matrix alerting provider
|
|
|
|
TypeMatrix Type = "matrix"
|
|
|
|
|
2021-05-19 04:29:15 +02:00
|
|
|
// TypeMattermost is the Type for the mattermost alerting provider
|
|
|
|
TypeMattermost Type = "mattermost"
|
|
|
|
|
|
|
|
// TypeMessagebird is the Type for the messagebird alerting provider
|
|
|
|
TypeMessagebird Type = "messagebird"
|
|
|
|
|
|
|
|
// TypePagerDuty is the Type for the pagerduty alerting provider
|
|
|
|
TypePagerDuty Type = "pagerduty"
|
|
|
|
|
|
|
|
// TypeSlack is the Type for the slack alerting provider
|
|
|
|
TypeSlack Type = "slack"
|
|
|
|
|
2021-07-30 01:54:40 +02:00
|
|
|
// TypeTeams is the Type for the teams alerting provider
|
|
|
|
TypeTeams Type = "teams"
|
|
|
|
|
2021-05-19 04:29:15 +02:00
|
|
|
// TypeTelegram is the Type for the telegram alerting provider
|
|
|
|
TypeTelegram Type = "telegram"
|
|
|
|
|
|
|
|
// TypeTwilio is the Type for the twilio alerting provider
|
|
|
|
TypeTwilio Type = "twilio"
|
2021-12-10 02:32:38 +01:00
|
|
|
|
|
|
|
// TypeOpsgenie is the Type for the opsgenie alerting provider
|
|
|
|
TypeOpsgenie Type = "opsgenie"
|
2021-05-19 04:29:15 +02:00
|
|
|
)
|