Skip to content

Commit

Permalink
add jira
Browse files Browse the repository at this point in the history
  • Loading branch information
yacut committed Nov 8, 2020
1 parent f66fad2 commit da06503
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 9 deletions.
53 changes: 45 additions & 8 deletions alertsource.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,69 +110,106 @@ var AlertSourceIncidentCreations = struct {

// AlertSourceIntegrationTypes defines alert source integration types
var AlertSourceIntegrationTypes = struct {
AmazonCloudWatch string
API string
AppDynamics string
Autotask string
AWSBudget string
AWSPersonalHealthDashboard string
checkmk string
AmazonCloudWatch string
CallRoutingNumber string
checkmk string
Datadog string
Dynatrace string
Email string
Github string
GoogleStackdriver string
Grafana string
Heartbeat string
Icinga string
Instana string
Jira string
KentixAlarmManager string
UptimeMonitor string
Nagios string
NewRelic string
Pingdom string
Prometheus string
PRTGNetworkMonitor string
SMS string
Solarwinds string
GoogleStackdriver string
StatusCake string
TOPdesk string
UptimeMonitor string
UPTIMEROBOT string
Zabbix string
}{
AmazonCloudWatch: "CLOUDWATCH",
API: "API",
AppDynamics: "APPDYNAMICS",
Autotask: "AUTOTASK",
AWSBudget: "AWSBUDGET",
AWSPersonalHealthDashboard: "AWSPHD",
checkmk: "CHECKMK",
AmazonCloudWatch: "CLOUDWATCH",
CallRoutingNumber: "CRN",
checkmk: "CHECKMK",
Datadog: "DATADOG",
Dynatrace: "DYNATRACE",
Email: "EMAIL",
Github: "GITHUB",
GoogleStackdriver: "STACKDRIVER",
Grafana: "GRAFANA",
Heartbeat: "HEARTBEAT",
Icinga: "ICINGA",
Instana: "INSTANA",
Jira: "JIRA",
KentixAlarmManager: "KENTIXAM",
UptimeMonitor: "MONITOR",
Nagios: "NAGIOS",
NewRelic: "NEWRELIC",
Pingdom: "PINGDOM",
Prometheus: "PROMETHEUS",
PRTGNetworkMonitor: "PRTG",
SMS: "SMS",
Solarwinds: "SOLARWINDS",
GoogleStackdriver: "STACKDRIVER",
StatusCake: "STATUSCAKE",
TOPdesk: "TOPDESK",
UptimeMonitor: "MONITOR",
UPTIMEROBOT: "UPTIMEROBOT",
Zabbix: "ZABBIX",
}

// AlertSourceIntegrationTypesAll defines all alert source integration types
var AlertSourceIntegrationTypesAll = []string{
AlertSourceIntegrationTypes.AmazonCloudWatch,
AlertSourceIntegrationTypes.API,
AlertSourceIntegrationTypes.AppDynamics,
AlertSourceIntegrationTypes.Autotask,
AlertSourceIntegrationTypes.AWSBudget,
AlertSourceIntegrationTypes.AWSPersonalHealthDashboard,
AlertSourceIntegrationTypes.CallRoutingNumber,
AlertSourceIntegrationTypes.checkmk,
AlertSourceIntegrationTypes.Datadog,
AlertSourceIntegrationTypes.Dynatrace,
AlertSourceIntegrationTypes.Email,
AlertSourceIntegrationTypes.Github,
AlertSourceIntegrationTypes.GoogleStackdriver,
AlertSourceIntegrationTypes.Grafana,
AlertSourceIntegrationTypes.Heartbeat,
AlertSourceIntegrationTypes.Icinga,
AlertSourceIntegrationTypes.Instana,
AlertSourceIntegrationTypes.Jira,
AlertSourceIntegrationTypes.KentixAlarmManager,
AlertSourceIntegrationTypes.Nagios,
AlertSourceIntegrationTypes.NewRelic,
AlertSourceIntegrationTypes.Pingdom,
AlertSourceIntegrationTypes.Prometheus,
AlertSourceIntegrationTypes.PRTGNetworkMonitor,
AlertSourceIntegrationTypes.SMS,
AlertSourceIntegrationTypes.Solarwinds,
AlertSourceIntegrationTypes.StatusCake,
AlertSourceIntegrationTypes.TOPdesk,
AlertSourceIntegrationTypes.UptimeMonitor,
AlertSourceIntegrationTypes.UPTIMEROBOT,
AlertSourceIntegrationTypes.Zabbix,
}

// CreateAlertSourceInput represents the input of a CreateAlertSource operation.
type CreateAlertSourceInput struct {
_ struct{}
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ilert

// Version package version
const Version = "v1.1.1"
const Version = "v1.1.2"

0 comments on commit da06503

Please sign in to comment.