@daocloud-proto/mcamel-rabbitmq 0.7.0-100 → 0.7.0-101
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 +0 -63
- package/package.json +1 -1
package/cluster.pb.ts
CHANGED
|
@@ -13,11 +13,6 @@ export enum EventType {
|
|
|
13
13
|
Warning = "Warning",
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
export enum GetAllEventListReqSortDir {
|
|
17
|
-
ASC = "ASC",
|
|
18
|
-
DESC = "DESC",
|
|
19
|
-
}
|
|
20
|
-
|
|
21
16
|
export enum GetEventListReqKind {
|
|
22
17
|
KIND_UNSPECIFIED = "KIND_UNSPECIFIED",
|
|
23
18
|
Pod = "Pod",
|
|
@@ -33,61 +28,6 @@ export enum GetInsightAgentStatusRespInsightAgentStatus {
|
|
|
33
28
|
Install = "Install",
|
|
34
29
|
}
|
|
35
30
|
|
|
36
|
-
export type GetAllEventListReq = {
|
|
37
|
-
page?: number
|
|
38
|
-
pageSize?: number
|
|
39
|
-
sortDir?: GetAllEventListReqSortDir
|
|
40
|
-
sortBy?: string
|
|
41
|
-
searchKey?: string
|
|
42
|
-
cluster?: string
|
|
43
|
-
namespace?: string
|
|
44
|
-
name?: string
|
|
45
|
-
eventType?: EventType
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export type GetAllEventListRespItemsSource = {
|
|
49
|
-
component?: string
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export type GetAllEventListRespItemsMetadata = {
|
|
53
|
-
uid?: string
|
|
54
|
-
name?: string
|
|
55
|
-
namespace?: string
|
|
56
|
-
annotations?: {[key: string]: string}
|
|
57
|
-
resourceVersion?: string
|
|
58
|
-
creationTimestamp?: string
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export type GetAllEventListRespItemsInvolvedObject = {
|
|
62
|
-
uid?: string
|
|
63
|
-
kind?: string
|
|
64
|
-
name?: string
|
|
65
|
-
namespace?: string
|
|
66
|
-
apiVersion?: string
|
|
67
|
-
resourceVersion?: string
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export type GetAllEventListRespItems = {
|
|
71
|
-
kind?: string
|
|
72
|
-
type?: string
|
|
73
|
-
count?: number
|
|
74
|
-
reason?: string
|
|
75
|
-
source?: GetAllEventListRespItemsSource
|
|
76
|
-
message?: string
|
|
77
|
-
metadata?: GetAllEventListRespItemsMetadata
|
|
78
|
-
apiVersion?: string
|
|
79
|
-
lastTimestamp?: string
|
|
80
|
-
firstTimestamp?: string
|
|
81
|
-
involvedObject?: GetAllEventListRespItemsInvolvedObject
|
|
82
|
-
reportingInstance?: string
|
|
83
|
-
reportingComponent?: string
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export type GetAllEventListResp = {
|
|
87
|
-
items?: GetAllEventListRespItems[]
|
|
88
|
-
pagination?: CommonCommon.Pagination
|
|
89
|
-
}
|
|
90
|
-
|
|
91
31
|
export type GetClusterNodeLabelListReq = {
|
|
92
32
|
cluster?: string
|
|
93
33
|
}
|
|
@@ -230,9 +170,6 @@ export class Cluster {
|
|
|
230
170
|
static GetEventList(req: GetEventListReq, initReq?: fm.InitReq): Promise<GetEventListResp> {
|
|
231
171
|
return fm.fetchReq<GetEventListReq, GetEventListResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["cluster"]}/${req["namespace"]}/events?${fm.renderURLSearchParams(req, ["cluster", "namespace"])}`, {...initReq, method: "GET"})
|
|
232
172
|
}
|
|
233
|
-
static GetAllEventList(req: GetAllEventListReq, initReq?: fm.InitReq): Promise<GetAllEventListResp> {
|
|
234
|
-
return fm.fetchReq<GetAllEventListReq, GetAllEventListResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["cluster"]}/${req["namespace"]}/${req["name"]}/all-events?${fm.renderURLSearchParams(req, ["cluster", "namespace", "name"])}`, {...initReq, method: "GET"})
|
|
235
|
-
}
|
|
236
173
|
static GetMetallbIPAddressPoolsList(req: GetMetallbIPAddressPoolsListReq, initReq?: fm.InitReq): Promise<GetMetallbIPAddressPoolsListResp> {
|
|
237
174
|
return fm.fetchReq<GetMetallbIPAddressPoolsListReq, GetMetallbIPAddressPoolsListResp>(`/apis/mcamel.io/rabbitmq/v1alpha1/${req["cluster"]}/lbaddress/pools?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
|
|
238
175
|
}
|