@daocloud-proto/mcamel-mysql 0.2.9-4 → 0.2.9-6

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.
Files changed (2) hide show
  1. package/mysql.pb.ts +2 -25
  2. package/package.json +1 -1
package/mysql.pb.ts CHANGED
@@ -324,29 +324,6 @@ export type UpdateMysqlConfReq = {
324
324
  conf?: string
325
325
  }
326
326
 
327
- export type UpdateMysqlParamsReq = {
328
- cluster?: string
329
- namespace?: string
330
- name?: string
331
- replicas?: number
332
- storageCapacity?: string
333
- serviceType?: CreateMysqlReqServiceType
334
- serviceAnnotations?: {[key: string]: string}
335
- describe?: string
336
- ports?: CreateMysqlReqPorts[]
337
- cpuRequest?: string
338
- cpuLimit?: string
339
- memoryRequest?: string
340
- memoryLimit?: string
341
- version?: string
342
- phpAdminServiceType?: CreateMysqlReqServiceType
343
- phpAdminNodePort?: number
344
- phpAdminCpuRequest?: string
345
- phpAdminCpuLimit?: string
346
- phpAdminMemoryRequest?: string
347
- phpAdminMemoryLimit?: string
348
- }
349
-
350
327
  export type UpdateMysqlParamsResp = {
351
328
  message?: string
352
329
  }
@@ -544,8 +521,8 @@ export class Mysql {
544
521
  static UpdateMysqlConf(req: UpdateMysqlConfReq, initReq?: fm.InitReq): Promise<UpdateMysqlConfResp> {
545
522
  return fm.fetchReq<UpdateMysqlConfReq, UpdateMysqlConfResp>(`/apis/mcamel.io/mysql/v1alpha1/mysql/${req["cluster"]}/${req["namespace"]}/${req["name"]}/conf`, {...initReq, method: "PUT", body: JSON.stringify(req)})
546
523
  }
547
- static UpdateMysqlParams(req: UpdateMysqlParamsReq, initReq?: fm.InitReq): Promise<UpdateMysqlParamsResp> {
548
- return fm.fetchReq<UpdateMysqlParamsReq, UpdateMysqlParamsResp>(`/apis/mcamel.io/mysql/v1alpha1/mysql/${req["cluster"]}/${req["namespace"]}/${req["name"]}/params`, {...initReq, method: "PUT", body: JSON.stringify(req)})
524
+ static UpdateMysqlParams(req: CreateMysqlReq, initReq?: fm.InitReq): Promise<UpdateMysqlParamsResp> {
525
+ return fm.fetchReq<CreateMysqlReq, UpdateMysqlParamsResp>(`/apis/mcamel.io/mysql/v1alpha1/mysql/${req["cluster"]}/${req["namespace"]}/${req["name"]}/params`, {...initReq, method: "PUT", body: JSON.stringify(req)})
549
526
  }
550
527
  static DeleteMysql(req: DeleteMysqlReq, initReq?: fm.InitReq): Promise<DeleteMysqlResp> {
551
528
  return fm.fetchReq<DeleteMysqlReq, DeleteMysqlResp>(`/apis/mcamel.io/mysql/v1alpha1/mysql/${req["cluster"]}/${req["namespace"]}/${req["name"]}`, {...initReq, method: "DELETE"})
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/mcamel-mysql",
3
- "version":"0.2.9-4",
3
+ "version":"0.2.9-6",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {