@daocloud-proto/mcamel-mysql 0.1.5-87 → 0.1.5-90
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/mysql.pb.ts +4 -4
- package/package.json +1 -1
package/mysql.pb.ts
CHANGED
|
@@ -87,7 +87,7 @@ export enum GetMysqlConfRespItemsParamType {
|
|
|
87
87
|
conf = "conf",
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export type
|
|
90
|
+
export type RecoverMysqlReq = {
|
|
91
91
|
workspaceId?: number
|
|
92
92
|
cluster?: string
|
|
93
93
|
namespace?: string
|
|
@@ -96,7 +96,7 @@ export type RecoverReq = {
|
|
|
96
96
|
targetMysqlClusterName?: string
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
export type
|
|
99
|
+
export type RecoverMysqlResp = {
|
|
100
100
|
message?: string
|
|
101
101
|
}
|
|
102
102
|
|
|
@@ -579,7 +579,7 @@ export class Mysql {
|
|
|
579
579
|
static SetMysqlBackupSecret(req: SetMysqlBackupSecretReq, initReq?: fm.InitReq): Promise<SetMysqlBackupSecretResp> {
|
|
580
580
|
return fm.fetchReq<SetMysqlBackupSecretReq, SetMysqlBackupSecretResp>(`/apis/mcamel.io/mysql/v1alpha1/mysql/${req["workspaceId"]}/secret`, {...initReq, method: "PUT", body: JSON.stringify(req)})
|
|
581
581
|
}
|
|
582
|
-
static
|
|
583
|
-
return fm.fetchReq<
|
|
582
|
+
static RecoverMysql(req: RecoverMysqlReq, initReq?: fm.InitReq): Promise<RecoverMysqlResp> {
|
|
583
|
+
return fm.fetchReq<RecoverMysqlReq, RecoverMysqlResp>(`/apis/mcamel.io/mysql/v1alpha1/mysql/${req["cluster"]}/${req["namespace"]}/${req["name"]}/recover`, {...initReq, method: "POST", body: JSON.stringify(req)})
|
|
584
584
|
}
|
|
585
585
|
}
|