@daocloud-proto/insight 0.8.3-6 → 0.8.4
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.
package/package.json
CHANGED
|
@@ -34,6 +34,11 @@ export enum InsightAgentStatus {
|
|
|
34
34
|
UNHEALTHY = "UNHEALTHY",
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
+
export enum Role {
|
|
38
|
+
NOT_ADMIN = "NOT_ADMIN",
|
|
39
|
+
ADMIN = "ADMIN",
|
|
40
|
+
}
|
|
41
|
+
|
|
37
42
|
export type ListClustersResponse = {
|
|
38
43
|
items?: Cluster[]
|
|
39
44
|
}
|
|
@@ -42,6 +47,7 @@ export type Cluster = {
|
|
|
42
47
|
name?: string
|
|
43
48
|
kubeSystemId?: string
|
|
44
49
|
phase?: ClusterPhase
|
|
50
|
+
role?: Role
|
|
45
51
|
}
|
|
46
52
|
|
|
47
53
|
export type ListClusterSummaryRequest = {
|
|
@@ -95,4 +101,5 @@ export type ListNamespacesResponse = {
|
|
|
95
101
|
|
|
96
102
|
export type Namespace = {
|
|
97
103
|
name?: string
|
|
104
|
+
role?: Role
|
|
98
105
|
}
|