-
Notifications
You must be signed in to change notification settings - Fork 55
/
consts.go
118 lines (100 loc) · 5.21 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
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
package elastigroup_aws_integrations
import "github.com/spotinst/terraform-provider-spotinst/spotinst/commons"
const (
Prefix = "integrations_"
)
const (
// - COMMON --------------------------
MasterHost commons.FieldName = "master_host"
MasterPort commons.FieldName = "master_port"
AutoscaleIsEnabled commons.FieldName = "autoscale_is_enabled"
AutoscaleCooldown commons.FieldName = "autoscale_cooldown"
AutoscaleHeadroom commons.FieldName = "autoscale_headroom"
AutoscaleIsAutoConfig commons.FieldName = "autoscale_is_auto_config"
CpuPerUnit commons.FieldName = "cpu_per_unit"
MemoryPerUnit commons.FieldName = "memory_per_unit"
NumOfUnits commons.FieldName = "num_of_units"
AutoscaleDown commons.FieldName = "autoscale_down"
EvaluationPeriods commons.FieldName = "evaluation_periods"
MaxScaleDownPercentage commons.FieldName = "max_scale_down_percentage"
ApiServer commons.FieldName = "api_server"
Key commons.FieldName = "key"
Value commons.FieldName = "value"
// -----------------------------------
// - RANCHER -------------------------
IntegrationRancher commons.FieldName = "integration_rancher"
AccessKey commons.FieldName = "access_key"
SecretKey commons.FieldName = "secret_key"
Version commons.FieldName = "version"
// -----------------------------------
// - ECS -----------------------------
ShouldScaleDownNonServiceTasks commons.FieldName = "autoscale_scale_down_non_service_tasks"
IntegrationEcs commons.FieldName = "integration_ecs"
ClusterName commons.FieldName = "cluster_name"
AutoscaleAttributes commons.FieldName = "autoscale_attributes"
Batch commons.FieldName = "batch"
JobQueueNames commons.FieldName = "job_queue_names"
// -----------------------------------
// - KUBERNETES ----------------------
IntegrationKubernetes commons.FieldName = "integration_kubernetes"
IntegrationMode commons.FieldName = "integration_mode"
ClusterIdentifier commons.FieldName = "cluster_identifier"
Token commons.FieldName = "token"
AutoscaleLabels commons.FieldName = "autoscale_labels"
// -----------------------------------
// - NOMAD ---------------------------
IntegrationNomad commons.FieldName = "integration_nomad"
AclToken commons.FieldName = "acl_token"
AutoscaleConstraints commons.FieldName = "autoscale_constraints"
// -----------------------------------
// - MESOSPHERE ----------------------
IntegrationMesosphere commons.FieldName = "integration_mesosphere"
// -----------------------------------
// - MULTAI-RUNTIME ------------------
IntegrationMultaiRuntime commons.FieldName = "integration_multai_runtime"
DeploymentId commons.FieldName = "deployment_id"
// -----------------------------------
// - CODE-DEPLOY ---------------------
IntegrationCodeDeploy commons.FieldName = "integration_codedeploy"
CleanupOnFailure commons.FieldName = "cleanup_on_failure"
TerminateInstanceOnFailure commons.FieldName = "terminate_instance_on_failure"
DeploymentGroups commons.FieldName = "deployment_groups"
ApplicationName commons.FieldName = "application_name"
DeploymentGroupName commons.FieldName = "deployment_group_name"
// -----------------------------------
// - GITLAB ----------------------
IntegrationGitlab commons.FieldName = "integration_gitlab"
GitlabRunner commons.FieldName = "runner"
GitlabRunnerIsEnabled commons.FieldName = "is_enabled"
// -----------------------------------
// - ROUTE53 -------------------------
IntegrationRoute53 commons.FieldName = "integration_route53"
Domains commons.FieldName = "domains"
HostedZoneId commons.FieldName = "hosted_zone_id"
SpotinstAcctID commons.FieldName = "spotinst_acct_id"
RecordSetType commons.FieldName = "record_set_type"
RecordSets commons.FieldName = "record_sets"
UsePublicIP commons.FieldName = "use_public_ip"
UsePublicDNS commons.FieldName = "use_public_dns"
Name commons.FieldName = "name"
// -----------------------------------
// - DOCKER-SWARM --------------------
IntegrationDockerSwarm commons.FieldName = "integration_docker_swarm"
// -----------------------------------
// - ELASTIC_BEANSTALK ---------------
IntegrationBeanstalk commons.FieldName = "integration_beanstalk"
EnvironmentId commons.FieldName = "environment_id"
DeploymentPreferences commons.FieldName = "deployment_preferences"
AutomaticRoll commons.FieldName = "automatic_roll"
BatchSizePercentage commons.FieldName = "batch_size_percentage"
GracePeriod commons.FieldName = "grace_period"
Strategy commons.FieldName = "strategy"
Action commons.FieldName = "action"
ShouldDrainInstances commons.FieldName = "should_drain_instances"
ManagedActions commons.FieldName = "managed_actions"
PlatformUpdate commons.FieldName = "platform_update"
PerformAt commons.FieldName = "perform_at"
TimeWindow commons.FieldName = "time_window"
UpdateLevel commons.FieldName = "update_level"
// -----------------------------------
)