@daocloud-proto/mcamel-rabbitmq 0.7.0-32 → 0.7.0-34

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 CHANGED
@@ -56,6 +56,24 @@ export type EventSource = {
56
56
  host?: string
57
57
  }
58
58
 
59
+ export type GetMetallbIPAddressPoolsListReq = {
60
+ cluster?: string
61
+ }
62
+
63
+ export type GetMetallbIPAddressPoolsListRespItem = {
64
+ name?: string
65
+ addresses?: string[]
66
+ autoAssign?: boolean
67
+ avoidBuggyIPs?: boolean
68
+ }
69
+
70
+ export type GetMetallbIPAddressPoolsListResp = {
71
+ items?: GetMetallbIPAddressPoolsListRespItem[]
72
+ isSupportLb?: boolean
73
+ externalTrafficPolicy?: CommonCommon.ExternalTrafficPolicy[]
74
+ lbTyp?: CommonCommon.LBTyp[]
75
+ }
76
+
59
77
  export type GetEventListReq = {
60
78
  cluster?: string
61
79
  namespace?: string
@@ -152,4 +170,7 @@ export class Cluster {
152
170
  static GetEventList(req: GetEventListReq, initReq?: fm.InitReq): Promise<GetEventListResp> {
153
171
  return fm.fetchReq<GetEventListReq, GetEventListResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["cluster"]}/${req["namespace"]}/events?${fm.renderURLSearchParams(req, ["cluster", "namespace"])}`, {...initReq, method: "GET"})
154
172
  }
173
+ static GetMetallbIPAddressPoolsList(req: GetMetallbIPAddressPoolsListReq, initReq?: fm.InitReq): Promise<GetMetallbIPAddressPoolsListResp> {
174
+ return fm.fetchReq<GetMetallbIPAddressPoolsListReq, GetMetallbIPAddressPoolsListResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["cluster"]}/lbaddress/pools?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
175
+ }
155
176
  }
package/common.pb.ts CHANGED
@@ -4,6 +4,22 @@
4
4
  * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
5
  */
6
6
 
7
+ export enum ExternalTrafficPolicy {
8
+ Cluster = "Cluster",
9
+ Local = "Local",
10
+ }
11
+
12
+ export enum LBTyp {
13
+ MetlLB = "MetlLB",
14
+ Others = "Others",
15
+ }
16
+
17
+ export enum ServiceType {
18
+ ClusterIP = "ClusterIP",
19
+ NodePort = "NodePort",
20
+ LoadBalancer = "LoadBalancer",
21
+ }
22
+
7
23
  export enum PageInfoReqSortDir {
8
24
  ASC = "ASC",
9
25
  DESC = "DESC",
@@ -130,6 +146,15 @@ export type PodCommon = {
130
146
  memoryUsage?: number
131
147
  memoryLimit?: number
132
148
  conditions?: PodCommonCondition[]
149
+ containersName?: string[]
150
+ ownerReference?: OwnerReference[]
151
+ }
152
+
153
+ export type OwnerReference = {
154
+ uid?: string
155
+ controller?: boolean
156
+ name?: string
157
+ kind?: string
133
158
  }
134
159
 
135
160
  export type CommonItemStatus = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/mcamel-rabbitmq",
3
- "version":"0.7.0-32",
3
+ "version":"0.7.0-34",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {