Skip to content

Commit

Permalink
fix connector types
Browse files Browse the repository at this point in the history
  • Loading branch information
yacut committed Apr 15, 2022
1 parent 7b2c689 commit f66bae1
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 53 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 16.04.2022, Version 1.6.4

- fix connector types

## 13.04.2022, Version 1.6.3

- add retryable errors
Expand Down
101 changes: 49 additions & 52 deletions connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,57 +132,55 @@ type ConnectorParamsStatusPageIO struct {

// ConnectorTypes defines connector types
var ConnectorTypes = struct {
AWSLambda string
AzureFAAS string
Datadog string
Discord string
Email string
Github string
GoogleFAAS string
Jira string
MicrosoftTeams string
ServiceNow string
Slack string
Sysdig string
Topdesk string
Webhook string
Zapier string
Zendesk string
MicrosoftTeamsChat string
MicrosoftTeamsMeeting string
Autotask string
Mattermost string
Zammad string
ZoomChat string
ZoomMeeting string
StatusPageIO string
Webex string
AWSLambda string
AzureFAAS string
Datadog string
Discord string
Email string
Github string
GoogleFAAS string
Jira string
MicrosoftTeams string
MicrosoftTeamsBot string
ServiceNow string
Slack string
Sysdig string
Topdesk string
Webhook string
Zapier string
Zendesk string
Autotask string
Mattermost string
Zammad string
ZoomChat string
ZoomMeeting string
StatusPageIO string
Webex string
}{
AWSLambda: "aws_lambda",
AzureFAAS: "azure_faas",
Datadog: "datadog",
Discord: "discord",
Email: "email",
Github: "github",
GoogleFAAS: "google_faas",
Jira: "jira",
MicrosoftTeams: "microsoft_teams",
ServiceNow: "servicenow",
Slack: "slack",
Sysdig: "sysdig",
Topdesk: "topdesk",
Webhook: "webhook",
Zapier: "zapier",
Zendesk: "zendesk",
MicrosoftTeamsChat: "microsoft_teams_chat",
MicrosoftTeamsMeeting: "microsoft_teams_meeting",
Autotask: "autotask",
Mattermost: "mattermost",
Zammad: "zammad",
ZoomChat: "zoom_chat",
ZoomMeeting: "zoom_meeting",
StatusPageIO: "status_page_io",
Webex: "webex",
AWSLambda: "aws_lambda",
AzureFAAS: "azure_faas",
Datadog: "datadog",
Discord: "discord",
Email: "email",
Github: "github",
GoogleFAAS: "google_faas",
Jira: "jira",
MicrosoftTeams: "microsoft_teams",
MicrosoftTeamsBot: "microsoft_teams_bot",
ServiceNow: "servicenow",
Slack: "slack",
Sysdig: "sysdig",
Topdesk: "topdesk",
Webhook: "webhook",
Zapier: "zapier",
Zendesk: "zendesk",
Autotask: "autotask",
Mattermost: "mattermost",
Zammad: "zammad",
ZoomChat: "zoom_chat",
ZoomMeeting: "zoom_meeting",
StatusPageIO: "status_page_io",
Webex: "webex",
}

// ConnectorTypesAll defines connector all types list
Expand All @@ -196,15 +194,14 @@ var ConnectorTypesAll = []string{
ConnectorTypes.GoogleFAAS,
ConnectorTypes.Jira,
ConnectorTypes.MicrosoftTeams,
ConnectorTypes.MicrosoftTeamsBot,
ConnectorTypes.ServiceNow,
ConnectorTypes.Slack,
ConnectorTypes.Sysdig,
ConnectorTypes.Topdesk,
ConnectorTypes.Webhook,
ConnectorTypes.Zapier,
ConnectorTypes.Zendesk,
ConnectorTypes.MicrosoftTeamsChat,
ConnectorTypes.MicrosoftTeamsMeeting,
ConnectorTypes.Autotask,
ConnectorTypes.Mattermost,
ConnectorTypes.Zammad,
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.6.3"
const Version = "v1.6.4"

0 comments on commit f66bae1

Please sign in to comment.