/
field.go
40 lines (34 loc) · 1.2 KB
/
field.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
package field
//go:generate enumer -type=Field -output=field_gen.go -linecomment
// Field represents a single column in an AWS offer file.
type Field uint8
// List of fields used by the AWS pricing offer file (CSV).
const (
///// Product Attributes /////
SKU Field = iota // SKU
CapacityStatus // CapacityStatus
Group // Group
InstanceType // Instance Type
Location // Location
OperatingSystem // Operating System
PreInstalledSW // Pre Installed S/W
ProductFamily // Product Family
ServiceCode // serviceCode
Tenancy // Tenancy
UsageType // usageType
VolumeAPIName // Volume API Name
VolumeType // Volume Type
// ElastiCache
CacheEngine // Cache Engine
// RDS fields
DatabaseEngine // Database Engine
DatabaseEdition // Database Edition
DeploymentOption // Deployment Option
LicenseModel // License Model
///// Price Attributes /////
Currency // Currency
PricePerUnit // PricePerUnit
StartingRange // StartingRange
TermType // TermType
Unit // Unit
)