-
Notifications
You must be signed in to change notification settings - Fork 55
/
consts.go
80 lines (66 loc) · 2.88 KB
/
consts.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
package ocean_gke_launch_spec
import "github.com/spotinst/terraform-provider-spotinst/spotinst/commons"
type LabelField string
type MetadataField string
const (
LabelKey LabelField = "key"
LabelValue LabelField = "value"
MetadataKey MetadataField = "key"
MetadataValue MetadataField = "value"
TaintKey MetadataField = "key"
TaintValue MetadataField = "value"
TaintEffect MetadataField = "effect"
)
const (
CPUPerUnit commons.FieldName = "cpu_per_unit"
GPUPerUnit commons.FieldName = "gpu_per_unit"
MemoryPerUnit commons.FieldName = "memory_per_unit"
NumOfUnits commons.FieldName = "num_of_units"
)
const (
OceanId commons.FieldName = "ocean_id"
Name commons.FieldName = "name"
SourceImage commons.FieldName = "source_image"
Metadata commons.FieldName = "metadata"
Labels commons.FieldName = "labels"
Taints commons.FieldName = "taints"
AutoscaleHeadrooms commons.FieldName = "autoscale_headrooms"
RestrictScaleDown commons.FieldName = "restrict_scale_down"
RootVolumeType commons.FieldName = "root_volume_type"
RootVolumeSizeInGB commons.FieldName = "root_volume_size"
InstanceTypes commons.FieldName = "instance_types"
ShieldedInstanceConfig commons.FieldName = "shielded_instance_config"
EnableSecureBoot commons.FieldName = "enable_secure_boot"
EnableIntegrityMonitoring commons.FieldName = "enable_integrity_monitoring"
Storage commons.FieldName = "storage"
LocalSSDCount commons.FieldName = "local_ssd_count"
ServiceAccount commons.FieldName = "service_account"
Tags commons.FieldName = "tags"
ResourceLimits commons.FieldName = "resource_limits"
MaxInstanceCount commons.FieldName = "max_instance_count"
MinInstanceCount commons.FieldName = "min_instance_count"
)
const (
AutoscaleHeadroomsAutomatic commons.FieldName = "autoscale_headrooms_automatic"
AutoHeadroomPercentage commons.FieldName = "auto_headroom_percentage"
)
const (
NodePoolName commons.FieldName = "node_pool_name"
)
const (
UpdatePolicy commons.FieldName = "update_policy"
ShouldRoll commons.FieldName = "should_roll"
RollConfig commons.FieldName = "roll_config"
BatchSizePercentage commons.FieldName = "batch_size_percentage"
)
const (
NetworkInterfaces commons.FieldName = "network_interfaces"
Network commons.FieldName = "network"
ProjectId commons.FieldName = "project_id"
AccessConfigs commons.FieldName = "access_configs"
AccessConfigsName commons.FieldName = "name"
Type commons.FieldName = "type"
AliasIPRanges commons.FieldName = "alias_ip_ranges"
IPCidrRange commons.FieldName = "ip_cidr_range"
SubnetworkRangeName commons.FieldName = "subnetwork_range_name"
)