@daocloud-proto/mcamel-rabbitmq 0.4.0-29 → 0.4.0-35
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/cluster.pb.ts +5 -2
- package/common.pb.ts +24 -0
- package/package.json +1 -1
- package/rabbitmq.pb.ts +15 -4
package/cluster.pb.ts
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import * as fm from "../../v1alpha1/ts_out/api"
|
|
8
|
+
import * as CommonCommon from "./common.pb"
|
|
8
9
|
|
|
9
10
|
export enum GetClusterListRespGetClusterListDataClusterPhase {
|
|
10
11
|
CLUSTER_PHASE_UNSPECIFIED = "CLUSTER_PHASE_UNSPECIFIED",
|
|
@@ -25,7 +26,8 @@ export type GetClusterListRespGetClusterListData = {
|
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
export type GetClusterListResp = {
|
|
28
|
-
|
|
29
|
+
items?: GetClusterListRespGetClusterListData[]
|
|
30
|
+
pagination?: CommonCommon.Pagination
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
export type GetClusterNamespaceListReq = {
|
|
@@ -33,7 +35,8 @@ export type GetClusterNamespaceListReq = {
|
|
|
33
35
|
}
|
|
34
36
|
|
|
35
37
|
export type GetClusterNamespaceListResp = {
|
|
36
|
-
|
|
38
|
+
items?: string[]
|
|
39
|
+
pagination?: CommonCommon.Pagination
|
|
37
40
|
}
|
|
38
41
|
|
|
39
42
|
export class Cluster {
|
package/common.pb.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
/*
|
|
4
|
+
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
export enum PageInfoReqSortDir {
|
|
8
|
+
ASC = "ASC",
|
|
9
|
+
DESC = "DESC",
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export type Pagination = {
|
|
13
|
+
total?: number
|
|
14
|
+
page?: number
|
|
15
|
+
pageSize?: number
|
|
16
|
+
pages?: number
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export type PageInfoReq = {
|
|
20
|
+
page?: number
|
|
21
|
+
pageSize?: number
|
|
22
|
+
sortDir?: PageInfoReqSortDir
|
|
23
|
+
sortBy?: string
|
|
24
|
+
}
|
package/package.json
CHANGED
package/rabbitmq.pb.ts
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import * as fm from "../../v1alpha1/ts_out/api"
|
|
8
|
+
import * as CommonCommon from "./common.pb"
|
|
8
9
|
|
|
9
10
|
export enum Status {
|
|
10
11
|
Failed = "Failed",
|
|
@@ -12,6 +13,11 @@ export enum Status {
|
|
|
12
13
|
Creating = "Creating",
|
|
13
14
|
}
|
|
14
15
|
|
|
16
|
+
export enum GetRabbitMqListReqSortDir {
|
|
17
|
+
ASC = "ASC",
|
|
18
|
+
DESC = "DESC",
|
|
19
|
+
}
|
|
20
|
+
|
|
15
21
|
export enum CreateRabbitMqReqServiceType {
|
|
16
22
|
ClusterIP = "ClusterIP",
|
|
17
23
|
NodePort = "NodePort",
|
|
@@ -25,7 +31,9 @@ export enum GetRabbitMqParamRespSelectSelectType {
|
|
|
25
31
|
|
|
26
32
|
export type GetRabbitMqListReq = {
|
|
27
33
|
page?: number
|
|
28
|
-
|
|
34
|
+
pageSize?: number
|
|
35
|
+
sortDir?: GetRabbitMqListReqSortDir
|
|
36
|
+
sortBy?: string
|
|
29
37
|
searchKey?: string
|
|
30
38
|
}
|
|
31
39
|
|
|
@@ -109,7 +117,8 @@ export type GetRabbitMqOperatorVersionListRespGetRabbitMqOperatorVersionListData
|
|
|
109
117
|
}
|
|
110
118
|
|
|
111
119
|
export type GetRabbitMqOperatorVersionListResp = {
|
|
112
|
-
|
|
120
|
+
items?: GetRabbitMqOperatorVersionListRespGetRabbitMqOperatorVersionListData[]
|
|
121
|
+
pagination?: CommonCommon.Pagination
|
|
113
122
|
}
|
|
114
123
|
|
|
115
124
|
export type DeleteRabbitMqReq = {
|
|
@@ -148,7 +157,8 @@ export type GetRabbitMqNodeListRespData = {
|
|
|
148
157
|
}
|
|
149
158
|
|
|
150
159
|
export type GetRabbitMqNodeListResp = {
|
|
151
|
-
|
|
160
|
+
items?: GetRabbitMqNodeListRespData[]
|
|
161
|
+
pagination?: CommonCommon.Pagination
|
|
152
162
|
}
|
|
153
163
|
|
|
154
164
|
export type GetRabbitMqGrafanaAddrReq = {
|
|
@@ -169,7 +179,8 @@ export type GetRabbitMqResp = {
|
|
|
169
179
|
}
|
|
170
180
|
|
|
171
181
|
export type GetRabbitMqListResp = {
|
|
172
|
-
|
|
182
|
+
items?: RabbitmqClusterList
|
|
183
|
+
pagination?: CommonCommon.Pagination
|
|
173
184
|
}
|
|
174
185
|
|
|
175
186
|
export type RabbitmqClusterItemExtend = {
|