-
Notifications
You must be signed in to change notification settings - Fork 596
/
enums.go
558 lines (512 loc) · 20.1 KB
/
enums.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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type AppAttributesKeys string
// Enum values for AppAttributesKeys
const (
AppAttributesKeysDocumentRoot AppAttributesKeys = "DocumentRoot"
AppAttributesKeysRailsEnv AppAttributesKeys = "RailsEnv"
AppAttributesKeysAutoBundleOnDeploy AppAttributesKeys = "AutoBundleOnDeploy"
AppAttributesKeysAwsFlowRubySettings AppAttributesKeys = "AwsFlowRubySettings"
)
// Values returns all known values for AppAttributesKeys. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (AppAttributesKeys) Values() []AppAttributesKeys {
return []AppAttributesKeys{
"DocumentRoot",
"RailsEnv",
"AutoBundleOnDeploy",
"AwsFlowRubySettings",
}
}
type AppType string
// Enum values for AppType
const (
AppTypeAwsFlowRuby AppType = "aws-flow-ruby"
AppTypeJava AppType = "java"
AppTypeRails AppType = "rails"
AppTypePhp AppType = "php"
AppTypeNodejs AppType = "nodejs"
AppTypeStatic AppType = "static"
AppTypeOther AppType = "other"
)
// Values returns all known values for AppType. Note that this can be expanded in
// the future, and so it is only as up to date as the client. The ordering of this
// slice is not guaranteed to be stable across updates.
func (AppType) Values() []AppType {
return []AppType{
"aws-flow-ruby",
"java",
"rails",
"php",
"nodejs",
"static",
"other",
}
}
type Architecture string
// Enum values for Architecture
const (
ArchitectureX8664 Architecture = "x86_64"
ArchitectureI386 Architecture = "i386"
)
// Values returns all known values for Architecture. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (Architecture) Values() []Architecture {
return []Architecture{
"x86_64",
"i386",
}
}
type AutoScalingType string
// Enum values for AutoScalingType
const (
AutoScalingTypeLoad AutoScalingType = "load"
AutoScalingTypeTimer AutoScalingType = "timer"
)
// Values returns all known values for AutoScalingType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (AutoScalingType) Values() []AutoScalingType {
return []AutoScalingType{
"load",
"timer",
}
}
type CloudWatchLogsEncoding string
// Enum values for CloudWatchLogsEncoding
const (
CloudWatchLogsEncodingAscii CloudWatchLogsEncoding = "ascii"
CloudWatchLogsEncodingBig5 CloudWatchLogsEncoding = "big5"
CloudWatchLogsEncodingBig5hkscs CloudWatchLogsEncoding = "big5hkscs"
CloudWatchLogsEncodingCp037 CloudWatchLogsEncoding = "cp037"
CloudWatchLogsEncodingCp424 CloudWatchLogsEncoding = "cp424"
CloudWatchLogsEncodingCp437 CloudWatchLogsEncoding = "cp437"
CloudWatchLogsEncodingCp500 CloudWatchLogsEncoding = "cp500"
CloudWatchLogsEncodingCp720 CloudWatchLogsEncoding = "cp720"
CloudWatchLogsEncodingCp737 CloudWatchLogsEncoding = "cp737"
CloudWatchLogsEncodingCp775 CloudWatchLogsEncoding = "cp775"
CloudWatchLogsEncodingCp850 CloudWatchLogsEncoding = "cp850"
CloudWatchLogsEncodingCp852 CloudWatchLogsEncoding = "cp852"
CloudWatchLogsEncodingCp855 CloudWatchLogsEncoding = "cp855"
CloudWatchLogsEncodingCp856 CloudWatchLogsEncoding = "cp856"
CloudWatchLogsEncodingCp857 CloudWatchLogsEncoding = "cp857"
CloudWatchLogsEncodingCp858 CloudWatchLogsEncoding = "cp858"
CloudWatchLogsEncodingCp860 CloudWatchLogsEncoding = "cp860"
CloudWatchLogsEncodingCp861 CloudWatchLogsEncoding = "cp861"
CloudWatchLogsEncodingCp862 CloudWatchLogsEncoding = "cp862"
CloudWatchLogsEncodingCp863 CloudWatchLogsEncoding = "cp863"
CloudWatchLogsEncodingCp864 CloudWatchLogsEncoding = "cp864"
CloudWatchLogsEncodingCp865 CloudWatchLogsEncoding = "cp865"
CloudWatchLogsEncodingCp866 CloudWatchLogsEncoding = "cp866"
CloudWatchLogsEncodingCp869 CloudWatchLogsEncoding = "cp869"
CloudWatchLogsEncodingCp874 CloudWatchLogsEncoding = "cp874"
CloudWatchLogsEncodingCp875 CloudWatchLogsEncoding = "cp875"
CloudWatchLogsEncodingCp932 CloudWatchLogsEncoding = "cp932"
CloudWatchLogsEncodingCp949 CloudWatchLogsEncoding = "cp949"
CloudWatchLogsEncodingCp950 CloudWatchLogsEncoding = "cp950"
CloudWatchLogsEncodingCp1006 CloudWatchLogsEncoding = "cp1006"
CloudWatchLogsEncodingCp1026 CloudWatchLogsEncoding = "cp1026"
CloudWatchLogsEncodingCp1140 CloudWatchLogsEncoding = "cp1140"
CloudWatchLogsEncodingCp1250 CloudWatchLogsEncoding = "cp1250"
CloudWatchLogsEncodingCp1251 CloudWatchLogsEncoding = "cp1251"
CloudWatchLogsEncodingCp1252 CloudWatchLogsEncoding = "cp1252"
CloudWatchLogsEncodingCp1253 CloudWatchLogsEncoding = "cp1253"
CloudWatchLogsEncodingCp1254 CloudWatchLogsEncoding = "cp1254"
CloudWatchLogsEncodingCp1255 CloudWatchLogsEncoding = "cp1255"
CloudWatchLogsEncodingCp1256 CloudWatchLogsEncoding = "cp1256"
CloudWatchLogsEncodingCp1257 CloudWatchLogsEncoding = "cp1257"
CloudWatchLogsEncodingCp1258 CloudWatchLogsEncoding = "cp1258"
CloudWatchLogsEncodingEucJp CloudWatchLogsEncoding = "euc_jp"
CloudWatchLogsEncodingEucJis2004 CloudWatchLogsEncoding = "euc_jis_2004"
CloudWatchLogsEncodingEucJisx0213 CloudWatchLogsEncoding = "euc_jisx0213"
CloudWatchLogsEncodingEucKr CloudWatchLogsEncoding = "euc_kr"
CloudWatchLogsEncodingGb2312 CloudWatchLogsEncoding = "gb2312"
CloudWatchLogsEncodingGbk CloudWatchLogsEncoding = "gbk"
CloudWatchLogsEncodingGb18030 CloudWatchLogsEncoding = "gb18030"
CloudWatchLogsEncodingHz CloudWatchLogsEncoding = "hz"
CloudWatchLogsEncodingIso2022Jp CloudWatchLogsEncoding = "iso2022_jp"
CloudWatchLogsEncodingIso2022Jp1 CloudWatchLogsEncoding = "iso2022_jp_1"
CloudWatchLogsEncodingIso2022Jp2 CloudWatchLogsEncoding = "iso2022_jp_2"
CloudWatchLogsEncodingIso2022Jp2004 CloudWatchLogsEncoding = "iso2022_jp_2004"
CloudWatchLogsEncodingIso2022Jp3 CloudWatchLogsEncoding = "iso2022_jp_3"
CloudWatchLogsEncodingIso2022JpExt CloudWatchLogsEncoding = "iso2022_jp_ext"
CloudWatchLogsEncodingIso2022Kr CloudWatchLogsEncoding = "iso2022_kr"
CloudWatchLogsEncodingLatin1 CloudWatchLogsEncoding = "latin_1"
CloudWatchLogsEncodingIso88592 CloudWatchLogsEncoding = "iso8859_2"
CloudWatchLogsEncodingIso88593 CloudWatchLogsEncoding = "iso8859_3"
CloudWatchLogsEncodingIso88594 CloudWatchLogsEncoding = "iso8859_4"
CloudWatchLogsEncodingIso88595 CloudWatchLogsEncoding = "iso8859_5"
CloudWatchLogsEncodingIso88596 CloudWatchLogsEncoding = "iso8859_6"
CloudWatchLogsEncodingIso88597 CloudWatchLogsEncoding = "iso8859_7"
CloudWatchLogsEncodingIso88598 CloudWatchLogsEncoding = "iso8859_8"
CloudWatchLogsEncodingIso88599 CloudWatchLogsEncoding = "iso8859_9"
CloudWatchLogsEncodingIso885910 CloudWatchLogsEncoding = "iso8859_10"
CloudWatchLogsEncodingIso885913 CloudWatchLogsEncoding = "iso8859_13"
CloudWatchLogsEncodingIso885914 CloudWatchLogsEncoding = "iso8859_14"
CloudWatchLogsEncodingIso885915 CloudWatchLogsEncoding = "iso8859_15"
CloudWatchLogsEncodingIso885916 CloudWatchLogsEncoding = "iso8859_16"
CloudWatchLogsEncodingJohab CloudWatchLogsEncoding = "johab"
CloudWatchLogsEncodingKoi8R CloudWatchLogsEncoding = "koi8_r"
CloudWatchLogsEncodingKoi8U CloudWatchLogsEncoding = "koi8_u"
CloudWatchLogsEncodingMacCyrillic CloudWatchLogsEncoding = "mac_cyrillic"
CloudWatchLogsEncodingMacGreek CloudWatchLogsEncoding = "mac_greek"
CloudWatchLogsEncodingMacIceland CloudWatchLogsEncoding = "mac_iceland"
CloudWatchLogsEncodingMacLatin2 CloudWatchLogsEncoding = "mac_latin2"
CloudWatchLogsEncodingMacRoman CloudWatchLogsEncoding = "mac_roman"
CloudWatchLogsEncodingMacTurkish CloudWatchLogsEncoding = "mac_turkish"
CloudWatchLogsEncodingPtcp154 CloudWatchLogsEncoding = "ptcp154"
CloudWatchLogsEncodingShiftJis CloudWatchLogsEncoding = "shift_jis"
CloudWatchLogsEncodingShiftJis2004 CloudWatchLogsEncoding = "shift_jis_2004"
CloudWatchLogsEncodingShiftJisx0213 CloudWatchLogsEncoding = "shift_jisx0213"
CloudWatchLogsEncodingUtf32 CloudWatchLogsEncoding = "utf_32"
CloudWatchLogsEncodingUtf32Be CloudWatchLogsEncoding = "utf_32_be"
CloudWatchLogsEncodingUtf32Le CloudWatchLogsEncoding = "utf_32_le"
CloudWatchLogsEncodingUtf16 CloudWatchLogsEncoding = "utf_16"
CloudWatchLogsEncodingUtf16Be CloudWatchLogsEncoding = "utf_16_be"
CloudWatchLogsEncodingUtf16Le CloudWatchLogsEncoding = "utf_16_le"
CloudWatchLogsEncodingUtf7 CloudWatchLogsEncoding = "utf_7"
CloudWatchLogsEncodingUtf8 CloudWatchLogsEncoding = "utf_8"
CloudWatchLogsEncodingUtf8Sig CloudWatchLogsEncoding = "utf_8_sig"
)
// Values returns all known values for CloudWatchLogsEncoding. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (CloudWatchLogsEncoding) Values() []CloudWatchLogsEncoding {
return []CloudWatchLogsEncoding{
"ascii",
"big5",
"big5hkscs",
"cp037",
"cp424",
"cp437",
"cp500",
"cp720",
"cp737",
"cp775",
"cp850",
"cp852",
"cp855",
"cp856",
"cp857",
"cp858",
"cp860",
"cp861",
"cp862",
"cp863",
"cp864",
"cp865",
"cp866",
"cp869",
"cp874",
"cp875",
"cp932",
"cp949",
"cp950",
"cp1006",
"cp1026",
"cp1140",
"cp1250",
"cp1251",
"cp1252",
"cp1253",
"cp1254",
"cp1255",
"cp1256",
"cp1257",
"cp1258",
"euc_jp",
"euc_jis_2004",
"euc_jisx0213",
"euc_kr",
"gb2312",
"gbk",
"gb18030",
"hz",
"iso2022_jp",
"iso2022_jp_1",
"iso2022_jp_2",
"iso2022_jp_2004",
"iso2022_jp_3",
"iso2022_jp_ext",
"iso2022_kr",
"latin_1",
"iso8859_2",
"iso8859_3",
"iso8859_4",
"iso8859_5",
"iso8859_6",
"iso8859_7",
"iso8859_8",
"iso8859_9",
"iso8859_10",
"iso8859_13",
"iso8859_14",
"iso8859_15",
"iso8859_16",
"johab",
"koi8_r",
"koi8_u",
"mac_cyrillic",
"mac_greek",
"mac_iceland",
"mac_latin2",
"mac_roman",
"mac_turkish",
"ptcp154",
"shift_jis",
"shift_jis_2004",
"shift_jisx0213",
"utf_32",
"utf_32_be",
"utf_32_le",
"utf_16",
"utf_16_be",
"utf_16_le",
"utf_7",
"utf_8",
"utf_8_sig",
}
}
type CloudWatchLogsInitialPosition string
// Enum values for CloudWatchLogsInitialPosition
const (
CloudWatchLogsInitialPositionStartOfFile CloudWatchLogsInitialPosition = "start_of_file"
CloudWatchLogsInitialPositionEndOfFile CloudWatchLogsInitialPosition = "end_of_file"
)
// Values returns all known values for CloudWatchLogsInitialPosition. Note that
// this can be expanded in the future, and so it is only as up to date as the
// client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (CloudWatchLogsInitialPosition) Values() []CloudWatchLogsInitialPosition {
return []CloudWatchLogsInitialPosition{
"start_of_file",
"end_of_file",
}
}
type CloudWatchLogsTimeZone string
// Enum values for CloudWatchLogsTimeZone
const (
CloudWatchLogsTimeZoneLocal CloudWatchLogsTimeZone = "LOCAL"
CloudWatchLogsTimeZoneUtc CloudWatchLogsTimeZone = "UTC"
)
// Values returns all known values for CloudWatchLogsTimeZone. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (CloudWatchLogsTimeZone) Values() []CloudWatchLogsTimeZone {
return []CloudWatchLogsTimeZone{
"LOCAL",
"UTC",
}
}
type DeploymentCommandName string
// Enum values for DeploymentCommandName
const (
DeploymentCommandNameInstallDependencies DeploymentCommandName = "install_dependencies"
DeploymentCommandNameUpdateDependencies DeploymentCommandName = "update_dependencies"
DeploymentCommandNameUpdateCustomCookbooks DeploymentCommandName = "update_custom_cookbooks"
DeploymentCommandNameExecuteRecipes DeploymentCommandName = "execute_recipes"
DeploymentCommandNameConfigure DeploymentCommandName = "configure"
DeploymentCommandNameSetup DeploymentCommandName = "setup"
DeploymentCommandNameDeploy DeploymentCommandName = "deploy"
DeploymentCommandNameRollback DeploymentCommandName = "rollback"
DeploymentCommandNameStart DeploymentCommandName = "start"
DeploymentCommandNameStop DeploymentCommandName = "stop"
DeploymentCommandNameRestart DeploymentCommandName = "restart"
DeploymentCommandNameUndeploy DeploymentCommandName = "undeploy"
)
// Values returns all known values for DeploymentCommandName. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (DeploymentCommandName) Values() []DeploymentCommandName {
return []DeploymentCommandName{
"install_dependencies",
"update_dependencies",
"update_custom_cookbooks",
"execute_recipes",
"configure",
"setup",
"deploy",
"rollback",
"start",
"stop",
"restart",
"undeploy",
}
}
type LayerAttributesKeys string
// Enum values for LayerAttributesKeys
const (
LayerAttributesKeysEcsClusterArn LayerAttributesKeys = "EcsClusterArn"
LayerAttributesKeysEnableHaproxyStats LayerAttributesKeys = "EnableHaproxyStats"
LayerAttributesKeysHaproxyStatsUrl LayerAttributesKeys = "HaproxyStatsUrl"
LayerAttributesKeysHaproxyStatsUser LayerAttributesKeys = "HaproxyStatsUser"
LayerAttributesKeysHaproxyStatsPassword LayerAttributesKeys = "HaproxyStatsPassword"
LayerAttributesKeysHaproxyHealthCheckUrl LayerAttributesKeys = "HaproxyHealthCheckUrl"
LayerAttributesKeysHaproxyHealthCheckMethod LayerAttributesKeys = "HaproxyHealthCheckMethod"
LayerAttributesKeysMysqlRootPassword LayerAttributesKeys = "MysqlRootPassword"
LayerAttributesKeysMysqlRootPasswordUbiquitous LayerAttributesKeys = "MysqlRootPasswordUbiquitous"
LayerAttributesKeysGangliaUrl LayerAttributesKeys = "GangliaUrl"
LayerAttributesKeysGangliaUser LayerAttributesKeys = "GangliaUser"
LayerAttributesKeysGangliaPassword LayerAttributesKeys = "GangliaPassword"
LayerAttributesKeysMemcachedMemory LayerAttributesKeys = "MemcachedMemory"
LayerAttributesKeysNodejsVersion LayerAttributesKeys = "NodejsVersion"
LayerAttributesKeysRubyVersion LayerAttributesKeys = "RubyVersion"
LayerAttributesKeysRubygemsVersion LayerAttributesKeys = "RubygemsVersion"
LayerAttributesKeysManageBundler LayerAttributesKeys = "ManageBundler"
LayerAttributesKeysBundlerVersion LayerAttributesKeys = "BundlerVersion"
LayerAttributesKeysRailsStack LayerAttributesKeys = "RailsStack"
LayerAttributesKeysPassengerVersion LayerAttributesKeys = "PassengerVersion"
LayerAttributesKeysJvm LayerAttributesKeys = "Jvm"
LayerAttributesKeysJvmVersion LayerAttributesKeys = "JvmVersion"
LayerAttributesKeysJvmOptions LayerAttributesKeys = "JvmOptions"
LayerAttributesKeysJavaAppServer LayerAttributesKeys = "JavaAppServer"
LayerAttributesKeysJavaAppServerVersion LayerAttributesKeys = "JavaAppServerVersion"
)
// Values returns all known values for LayerAttributesKeys. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (LayerAttributesKeys) Values() []LayerAttributesKeys {
return []LayerAttributesKeys{
"EcsClusterArn",
"EnableHaproxyStats",
"HaproxyStatsUrl",
"HaproxyStatsUser",
"HaproxyStatsPassword",
"HaproxyHealthCheckUrl",
"HaproxyHealthCheckMethod",
"MysqlRootPassword",
"MysqlRootPasswordUbiquitous",
"GangliaUrl",
"GangliaUser",
"GangliaPassword",
"MemcachedMemory",
"NodejsVersion",
"RubyVersion",
"RubygemsVersion",
"ManageBundler",
"BundlerVersion",
"RailsStack",
"PassengerVersion",
"Jvm",
"JvmVersion",
"JvmOptions",
"JavaAppServer",
"JavaAppServerVersion",
}
}
type LayerType string
// Enum values for LayerType
const (
LayerTypeAwsFlowRuby LayerType = "aws-flow-ruby"
LayerTypeEcsCluster LayerType = "ecs-cluster"
LayerTypeJavaApp LayerType = "java-app"
LayerTypeLb LayerType = "lb"
LayerTypeWeb LayerType = "web"
LayerTypePhpApp LayerType = "php-app"
LayerTypeRailsApp LayerType = "rails-app"
LayerTypeNodejsApp LayerType = "nodejs-app"
LayerTypeMemcached LayerType = "memcached"
LayerTypeDbMaster LayerType = "db-master"
LayerTypeMonitoringMaster LayerType = "monitoring-master"
LayerTypeCustom LayerType = "custom"
)
// Values returns all known values for LayerType. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (LayerType) Values() []LayerType {
return []LayerType{
"aws-flow-ruby",
"ecs-cluster",
"java-app",
"lb",
"web",
"php-app",
"rails-app",
"nodejs-app",
"memcached",
"db-master",
"monitoring-master",
"custom",
}
}
type RootDeviceType string
// Enum values for RootDeviceType
const (
RootDeviceTypeEbs RootDeviceType = "ebs"
RootDeviceTypeInstanceStore RootDeviceType = "instance-store"
)
// Values returns all known values for RootDeviceType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (RootDeviceType) Values() []RootDeviceType {
return []RootDeviceType{
"ebs",
"instance-store",
}
}
type SourceType string
// Enum values for SourceType
const (
SourceTypeGit SourceType = "git"
SourceTypeSvn SourceType = "svn"
SourceTypeArchive SourceType = "archive"
SourceTypeS3 SourceType = "s3"
)
// Values returns all known values for SourceType. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (SourceType) Values() []SourceType {
return []SourceType{
"git",
"svn",
"archive",
"s3",
}
}
type StackAttributesKeys string
// Enum values for StackAttributesKeys
const (
StackAttributesKeysColor StackAttributesKeys = "Color"
)
// Values returns all known values for StackAttributesKeys. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (StackAttributesKeys) Values() []StackAttributesKeys {
return []StackAttributesKeys{
"Color",
}
}
type VirtualizationType string
// Enum values for VirtualizationType
const (
VirtualizationTypeParavirtual VirtualizationType = "paravirtual"
VirtualizationTypeHvm VirtualizationType = "hvm"
)
// Values returns all known values for VirtualizationType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (VirtualizationType) Values() []VirtualizationType {
return []VirtualizationType{
"paravirtual",
"hvm",
}
}
type VolumeType string
// Enum values for VolumeType
const (
VolumeTypeGp2 VolumeType = "gp2"
VolumeTypeIo1 VolumeType = "io1"
VolumeTypeStandard VolumeType = "standard"
)
// Values returns all known values for VolumeType. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (VolumeType) Values() []VolumeType {
return []VolumeType{
"gp2",
"io1",
"standard",
}
}