@daocloud-proto/insight 0.8.21 → 0.9.0-14
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
|
@@ -16,7 +16,7 @@ export enum NodePhase {
|
|
|
16
16
|
|
|
17
17
|
export type ListNodesRequest = {
|
|
18
18
|
cluster?: string
|
|
19
|
-
|
|
19
|
+
phase?: NodePhase
|
|
20
20
|
name?: string
|
|
21
21
|
page?: number
|
|
22
22
|
pageSize?: number
|
|
@@ -44,11 +44,23 @@ export type Node = {
|
|
|
44
44
|
operatingSystem?: string
|
|
45
45
|
address?: string
|
|
46
46
|
creationTimestamp?: string
|
|
47
|
-
|
|
47
|
+
nodeStatus?: NodeStatus
|
|
48
48
|
podSummary?: InsightIoApiResourceV1alpha1Type.ResourceNumSummary
|
|
49
49
|
usage?: usage
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
+
export type NodeStatus = {
|
|
53
|
+
phase?: NodePhase
|
|
54
|
+
conditions?: NodeCondition[]
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export type NodeCondition = {
|
|
58
|
+
type?: string
|
|
59
|
+
status?: InsightIoApiResourceV1alpha1Type.ConditionStatus
|
|
60
|
+
reason?: string
|
|
61
|
+
message?: string
|
|
62
|
+
}
|
|
63
|
+
|
|
52
64
|
export type usage = {
|
|
53
65
|
cpuCapacity?: string
|
|
54
66
|
cpuAllocated?: number
|
|
@@ -26,7 +26,7 @@ export enum ContainerPhase {
|
|
|
26
26
|
export type ListPodsRequest = {
|
|
27
27
|
cluster?: string
|
|
28
28
|
namespace?: string
|
|
29
|
-
|
|
29
|
+
phase?: PodPhase
|
|
30
30
|
name?: string
|
|
31
31
|
page?: number
|
|
32
32
|
pageSize?: number
|
|
@@ -66,7 +66,7 @@ export type ListContainersRequest = {
|
|
|
66
66
|
cluster?: string
|
|
67
67
|
namespace?: string
|
|
68
68
|
name?: string
|
|
69
|
-
|
|
69
|
+
phase?: ContainerPhase
|
|
70
70
|
page?: number
|
|
71
71
|
pageSize?: number
|
|
72
72
|
}
|
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
/*
|
|
4
4
|
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
5
|
*/
|
|
6
|
+
|
|
7
|
+
export enum ConditionStatus {
|
|
8
|
+
CONDITION_STATUS_UNSPECIFIED = "CONDITION_STATUS_UNSPECIFIED",
|
|
9
|
+
True = "True",
|
|
10
|
+
False = "False",
|
|
11
|
+
Unknown = "Unknown",
|
|
12
|
+
}
|
|
13
|
+
|
|
6
14
|
export type ResourceNumSummary = {
|
|
7
15
|
totalNum?: number
|
|
8
16
|
readyNum?: number
|