@daocloud-proto/insight 0.8.2-2 → 0.8.3-12

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.
@@ -46,6 +46,7 @@ export type GlobalConfig = {
46
46
  export type userinfo = {
47
47
  name?: string
48
48
  isAdmin?: boolean
49
+ canView?: boolean
49
50
  }
50
51
 
51
52
  export type helmInstallConfigRequest = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/insight",
3
- "version":"0.8.2-2",
3
+ "version":"0.8.3-12",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -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
  }