/
enum_connector_types.go
146 lines (142 loc) · 4.69 KB
/
enum_connector_types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
package nextgen
type ConnectorType string
var ConnectorTypes = struct {
K8sCluster ConnectorType
Git ConnectorType
Splunk ConnectorType
AppDynamics ConnectorType
Azure ConnectorType
Prometheus ConnectorType
Dynatrace ConnectorType
Vault ConnectorType
AzureKeyVault ConnectorType
DockerRegistry ConnectorType
Local ConnectorType
AwsKms ConnectorType
GcpKms ConnectorType
AwsSecretManager ConnectorType
Gcp ConnectorType
Aws ConnectorType
Artifactory ConnectorType
Jira ConnectorType
Jenkins ConnectorType
Nexus ConnectorType
Github ConnectorType
Gitlab ConnectorType
Bitbucket ConnectorType
Codecommit ConnectorType
CEAws ConnectorType
CEAzure ConnectorType
GcpCloudCost ConnectorType
CEK8sCluster ConnectorType
HttpHelmRepo ConnectorType
OciHelmRepo ConnectorType
NewRelic ConnectorType
Datadog ConnectorType
SumoLogic ConnectorType
PagerDuty ConnectorType
GcpSecretManager ConnectorType
Spot ConnectorType
ServiceNow ConnectorType
Tas ConnectorType
TerraformCloud ConnectorType
ElasticSearch ConnectorType
Rancher ConnectorType
CustomHealth ConnectorType
Pdc ConnectorType
CustomSecretManager ConnectorType
}{
K8sCluster: "K8sCluster",
Git: "Git",
Splunk: "Splunk",
AppDynamics: "AppDynamics",
Prometheus: "Prometheus",
Dynatrace: "Dynatrace",
Vault: "Vault",
AzureKeyVault: "AzureKeyVault",
DockerRegistry: "DockerRegistry",
Local: "Local",
AwsKms: "AwsKms",
GcpKms: "GcpKms",
AwsSecretManager: "AwsSecretManager",
Gcp: "Gcp",
Aws: "Aws",
Artifactory: "Artifactory",
Jira: "Jira",
Jenkins: "Jenkins",
Nexus: "Nexus",
Github: "Github",
Gitlab: "Gitlab",
Bitbucket: "Bitbucket",
Codecommit: "Codecommit",
CEAws: "CEAws",
CEAzure: "CEAzure",
GcpCloudCost: "GcpCloudCost",
CEK8sCluster: "CEK8sCluster",
HttpHelmRepo: "HttpHelmRepo",
OciHelmRepo: "OciHelmRepo",
NewRelic: "NewRelic",
Datadog: "Datadog",
SumoLogic: "SumoLogic",
PagerDuty: "PagerDuty",
GcpSecretManager: "GcpSecretManager",
Azure: "Azure",
Spot: "Spot",
ServiceNow: "ServiceNow",
Tas: "Tas",
TerraformCloud: "TerraformCloud",
ElasticSearch: "ElasticSearch",
Rancher: "Rancher",
CustomHealth: "CustomHealth",
Pdc: "Pdc",
CustomSecretManager: "CustomSecretManager",
}
var ConnectorTypesSlice = []string{
ConnectorTypes.K8sCluster.String(),
ConnectorTypes.Git.String(),
ConnectorTypes.Splunk.String(),
ConnectorTypes.AppDynamics.String(),
ConnectorTypes.Prometheus.String(),
ConnectorTypes.Dynatrace.String(),
ConnectorTypes.Vault.String(),
ConnectorTypes.AzureKeyVault.String(),
ConnectorTypes.DockerRegistry.String(),
ConnectorTypes.Local.String(),
ConnectorTypes.AwsKms.String(),
ConnectorTypes.GcpKms.String(),
ConnectorTypes.AwsSecretManager.String(),
ConnectorTypes.Gcp.String(),
ConnectorTypes.Aws.String(),
ConnectorTypes.Artifactory.String(),
ConnectorTypes.Jira.String(),
ConnectorTypes.Jenkins.String(),
ConnectorTypes.Nexus.String(),
ConnectorTypes.Github.String(),
ConnectorTypes.Gitlab.String(),
ConnectorTypes.Bitbucket.String(),
ConnectorTypes.Codecommit.String(),
ConnectorTypes.CEAws.String(),
ConnectorTypes.CEAzure.String(),
ConnectorTypes.GcpCloudCost.String(),
ConnectorTypes.CEK8sCluster.String(),
ConnectorTypes.HttpHelmRepo.String(),
ConnectorTypes.OciHelmRepo.String(),
ConnectorTypes.NewRelic.String(),
ConnectorTypes.Datadog.String(),
ConnectorTypes.SumoLogic.String(),
ConnectorTypes.PagerDuty.String(),
ConnectorTypes.GcpSecretManager.String(),
ConnectorTypes.Azure.String(),
ConnectorTypes.Spot.String(),
ConnectorTypes.ServiceNow.String(),
ConnectorTypes.Tas.String(),
ConnectorTypes.TerraformCloud.String(),
ConnectorTypes.ElasticSearch.String(),
ConnectorTypes.Rancher.String(),
ConnectorTypes.CustomHealth.String(),
ConnectorTypes.Pdc.String(),
ConnectorTypes.CustomSecretManager.String(),
}
func (c ConnectorType) String() string {
return string(c)
}