@daocloud-proto/kpanda 0.10.2-32 → 0.10.2-42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -20,6 +20,14 @@ export enum ClusterProvider {
|
|
|
20
20
|
ALIYUN_ACK = "ALIYUN_ACK",
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
export enum ClusterRole {
|
|
24
|
+
CLUSTER_ROLE_UNSPECIFIED = "CLUSTER_ROLE_UNSPECIFIED",
|
|
25
|
+
CLUSTER_ROLE_MANAGER = "CLUSTER_ROLE_MANAGER",
|
|
26
|
+
CLUSTER_ROLE_GLOBAL_SERVICE = "CLUSTER_ROLE_GLOBAL_SERVICE",
|
|
27
|
+
CLUSTER_ROLE_WORKER = "CLUSTER_ROLE_WORKER",
|
|
28
|
+
CLUSTER_ROLE_THIRD_PARTY = "CLUSTER_ROLE_THIRD_PARTY",
|
|
29
|
+
}
|
|
30
|
+
|
|
23
31
|
export enum ClusterPhase {
|
|
24
32
|
CLUSTER_PHASE_UNSPECIFIED = "CLUSTER_PHASE_UNSPECIFIED",
|
|
25
33
|
Unknown = "Unknown",
|
|
@@ -34,7 +42,7 @@ export type ListClustersRequest = {
|
|
|
34
42
|
name?: string[]
|
|
35
43
|
page?: number
|
|
36
44
|
pageSize?: number
|
|
37
|
-
role?:
|
|
45
|
+
role?: ClusterRole
|
|
38
46
|
kubernetesVersion?: string
|
|
39
47
|
phase?: ClusterPhase
|
|
40
48
|
labelSelector?: string
|
|
@@ -113,7 +121,7 @@ export type ClusterSpec = {
|
|
|
113
121
|
apiEndpoint?: string
|
|
114
122
|
region?: string
|
|
115
123
|
zone?: string
|
|
116
|
-
roles?:
|
|
124
|
+
roles?: ClusterRole[]
|
|
117
125
|
managedBy?: string
|
|
118
126
|
aliasName?: string
|
|
119
127
|
secretRef?: LocalSecretReference
|