@daocloud-proto/kpanda 0.16.0-rc2-dev-79c24a2f → 0.17.0-dev-4f04cb0d

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.
@@ -204,4 +204,14 @@ export type VerifySnapStoreConfigRequest = {
204
204
  export type VerifySnapStoreConfigResponse = {
205
205
  success?: boolean
206
206
  errMsg?: string
207
+ }
208
+
209
+ export type VerifyEtcdConnectionRequest = {
210
+ cluster?: string
211
+ etcdConnectionConfig?: EtcdConnectionConfig
212
+ }
213
+
214
+ export type VerifyEtcdConnectionResponse = {
215
+ success?: boolean
216
+ errMsg?: string
207
217
  }
@@ -1012,6 +1012,9 @@ export class EtcdBackupRestore {
1012
1012
  static VerifySnapStoreConfig(req: KpandaIoApiEtcdbackuprestoreV1alpha1Etcdbackuprestore.VerifySnapStoreConfigRequest, initReq?: fm.InitReq): Promise<KpandaIoApiEtcdbackuprestoreV1alpha1Etcdbackuprestore.VerifySnapStoreConfigResponse> {
1013
1013
  return fm.fetchReq<KpandaIoApiEtcdbackuprestoreV1alpha1Etcdbackuprestore.VerifySnapStoreConfigRequest, KpandaIoApiEtcdbackuprestoreV1alpha1Etcdbackuprestore.VerifySnapStoreConfigResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/etcdbackuprestore/snapstores:verify`, {...initReq, method: "POST", body: JSON.stringify(req)})
1014
1014
  }
1015
+ static VerifyEtcdConnection(req: KpandaIoApiEtcdbackuprestoreV1alpha1Etcdbackuprestore.VerifyEtcdConnectionRequest, initReq?: fm.InitReq): Promise<KpandaIoApiEtcdbackuprestoreV1alpha1Etcdbackuprestore.VerifyEtcdConnectionResponse> {
1016
+ return fm.fetchReq<KpandaIoApiEtcdbackuprestoreV1alpha1Etcdbackuprestore.VerifyEtcdConnectionRequest, KpandaIoApiEtcdbackuprestoreV1alpha1Etcdbackuprestore.VerifyEtcdConnectionResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/etcdbackuprestore/etcd:verify`, {...initReq, method: "POST", body: JSON.stringify(req)})
1017
+ }
1015
1018
  }
1016
1019
  export class StreamService {
1017
1020
  static ClusterUpdateStream(req: KpandaIoApiStreamV1alpha1Stream.ClusterStreamRequest, entityNotifier?: fm.NotifyStreamEntityArrival<KpandaIoApiStreamV1alpha1Stream.ClusterStreamResponse>, initReq?: fm.InitReq): Promise<void> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/kpanda",
3
- "version":"v0.16.0-rc2-dev-79c24a2f",
3
+ "version":"v0.17.0-dev-4f04cb0d",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {