forked from Azure/acs-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
const.go
49 lines (44 loc) · 1.38 KB
/
const.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
package v20170701
const (
// APIVersion is the version of this API
APIVersion = "2017-07-01"
)
// the orchestrators supported by 2017-07-01
const (
// DCOS is the string constant for DCOS orchestrator type and defaults to DCOS187
DCOS string = "DCOS"
// Swarm is the string constant for the Swarm orchestrator type
Swarm string = "Swarm"
// Kubernetes is the string constant for the Kubernetes orchestrator type
Kubernetes string = "Kubernetes"
// DockerCE is the string constant for the Docker CE orchestrator type
DockerCE string = "DockerCE"
)
const (
// Windows OSType
Windows OSType = "Windows"
// Linux OSType
Linux OSType = "Linux"
)
// validation values
const (
// MinAgentCount are the minimum number of agents
MinAgentCount = 1
// MaxAgentCount are the maximum number of agents
MaxAgentCount = 100
// MinPort specifies the minimum tcp port to open
MinPort = 1
// MaxPort specifies the maximum tcp port to open
MaxPort = 65535
// MinDiskSizeGB specifies the minimum attached disk size
MinDiskSizeGB = 1
// MaxDiskSizeGB specifies the maximum attached disk size
MaxDiskSizeGB = 1023
)
// storage profiles
const (
// StorageAccount means that the nodes use raw storage accounts for their os and attached volumes
StorageAccount = "StorageAccount"
// ManagedDisks means that the nodes use managed disks for their os and attached volumes
ManagedDisks = "ManagedDisks"
)