@daocloud-proto/insight 0.9.1-23 → 0.9.1-25

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-23",
3
+ "version":"0.9.1-25",
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",
@@ -91,7 +91,7 @@ export type ClusterDetail = {
91
91
  }
92
92
 
93
93
  export type insightAgentState = {
94
- status?: insightAgentStatus
94
+ status?: InsightAgentStatus
95
95
  version?: string
96
96
  createTime?: string
97
97
  }
@@ -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 = {