@daocloud-proto/insight 0.9.1-19 → 0.9.1-21

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/insight",
3
- "version":"0.9.1-19",
3
+ "version":"0.9.1-21",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -28,7 +28,7 @@ export enum ClusterProvider {
28
28
  ALIYUN_ACK = "ALIYUN_ACK",
29
29
  }
30
30
 
31
- export enum InsightAgentStatus {
31
+ export enum insightAgentStatus {
32
32
  NOT_INSTALLED = "NOT_INSTALLED",
33
33
  HEALTHY = "HEALTHY",
34
34
  UNHEALTHY = "UNHEALTHY",
@@ -72,8 +72,7 @@ export type ClusterSummary = {
72
72
  kubeSystemId?: string
73
73
  phase?: ClusterPhase
74
74
  nodeNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
75
- insightAgentStatus?: InsightAgentStatus
76
- insightAgentCreateTime?: string
75
+ insightAgentStatus?: insightAgentState
77
76
  }
78
77
 
79
78
  export type ClusterDetail = {
@@ -88,7 +87,13 @@ export type ClusterDetail = {
88
87
  statefulsetNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
89
88
  daemonsetNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
90
89
  podNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
91
- insightAgentStatus?: InsightAgentStatus
90
+ insightAgentStatus?: insightAgentState
91
+ }
92
+
93
+ export type insightAgentState = {
94
+ status?: insightAgentStatus
95
+ version?: string
96
+ createTime?: string
92
97
  }
93
98
 
94
99
  export type ListNamespacesRequest = {