@daocloud-proto/insight 0.9.1-5 → 0.9.2

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-5",
3
+ "version":"0.9.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -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 = {
@@ -52,6 +52,7 @@ export type CronJob = {
52
52
  phase?: CronJobPhase
53
53
  createTimestamp?: string
54
54
  jobNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
55
+ conditions?: InsightIoApiResourceV1alpha1Type.Condition[]
55
56
  }
56
57
 
57
58
  export type CronJobSpec = {
@@ -90,4 +91,5 @@ export type Job = {
90
91
  status?: JobStatus
91
92
  createTimestamp?: string
92
93
  jobPodNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
94
+ conditions?: InsightIoApiResourceV1alpha1Type.Condition[]
93
95
  }
@@ -60,6 +60,7 @@ export type Pod = {
60
60
  containerNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
61
61
  podIp?: string
62
62
  hostIp?: string
63
+ conditions?: InsightIoApiResourceV1alpha1Type.Condition[]
63
64
  }
64
65
 
65
66
  export type ListContainersRequest = {
@@ -14,4 +14,13 @@ export enum ConditionStatus {
14
14
  export type ResourceNumSummary = {
15
15
  totalNum?: number
16
16
  readyNum?: number
17
+ }
18
+
19
+ export type Condition = {
20
+ lastTransitionTime?: string
21
+ lastUpdateTime?: string
22
+ message?: string
23
+ reason?: string
24
+ status?: string
25
+ type?: string
17
26
  }
@@ -50,6 +50,7 @@ export type Workload = {
50
50
  phase?: WorkloadPhase
51
51
  createTimestamp?: string
52
52
  podNumSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
53
+ conditions?: InsightIoApiResourceV1alpha1Type.Condition[]
53
54
  }
54
55
 
55
56
  export type GetWorkloadRequest = {