Skip to content

Commit ffec31e

Browse files
committed
add azure and gcp platforms and regions
1 parent 97b2374 commit ffec31e

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

cluster.go

+54
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ type ClusterPlatformType string
88

99
const (
1010
ClusterPlatformAWS ClusterPlatformType = "aws"
11+
ClusterPlatformAzure ClusterPlatformType = "azure"
12+
ClusterPlatformGCP ClusterPlatformType = "gcp"
1113
ClusterPlatformDGX ClusterPlatformType = "nvidia-dgx"
1214
ClusterPlatformMetal ClusterPlatformType = "metal"
1315
ClusterPlatformPaperspace ClusterPlatformType = "paperspace-cloud"
@@ -27,9 +29,61 @@ var ClusterAWSRegions = []string{
2729
"ap-southeast-2",
2830
}
2931

32+
var ClusterAzureRegions = []string{
33+
"australiacentral",
34+
"australiaeast",
35+
"australiasoutheast",
36+
"brazilsouth",
37+
"brazilsoutheast",
38+
"canadacentral",
39+
"canadaeast",
40+
"centralindia",
41+
"centralus",
42+
"eastasia",
43+
"eastus",
44+
"eastus2",
45+
"francecentral",
46+
"francesouth",
47+
"germanynorth",
48+
"germanywestcentral",
49+
"japaneast",
50+
"japanwest",
51+
"koreacentral",
52+
"koreasouth",
53+
"northcentralus",
54+
"northeurope",
55+
"norwayeast",
56+
"norwaywest",
57+
"southafricanorth",
58+
"southcentralus",
59+
"southindia",
60+
"southeastasia",
61+
"switzerlandnorth",
62+
"switzerlandwest",
63+
"uaecentral",
64+
"uaenorth",
65+
"uksouth",
66+
"ukwest",
67+
"westcentralus",
68+
"westeurope",
69+
"westus",
70+
"westus2",
71+
}
72+
73+
var ClusterGCPRegions = []string{
74+
"asia-east1",
75+
"europe-west1",
76+
"europe-west4",
77+
"us-central1",
78+
"us-east1",
79+
"us-west1",
80+
}
81+
3082
var ClusterPlatforms = []ClusterPlatformType{
3183
ClusterPlatformAWS,
84+
ClusterPlatformAzure,
3285
ClusterPlatformDGX,
86+
ClusterPlatformGCP,
3387
ClusterPlatformMetal,
3488
ClusterPlatformPaperspace,
3589
}

0 commit comments

Comments
 (0)