@daocloud-proto/kpanda 0.33.0-dev-db181f64 → 0.33.0-dev-75015950

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.
@@ -4,6 +4,7 @@
4
4
  * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
5
  */
6
6
 
7
+ import * as KpandaIoApiClustersV1alpha1Cluster from "../../clusters/v1alpha1/cluster.pb"
7
8
  import * as KpandaIoApiTypesObjectmeta from "../../types/objectmeta.pb"
8
9
  import * as KpandaIoApiTypesPage from "../../types/page.pb"
9
10
 
@@ -209,4 +210,15 @@ export type VerifyEtcdConnectionRequest = {
209
210
  export type VerifyEtcdConnectionResponse = {
210
211
  success?: boolean
211
212
  errMsg?: string
213
+ }
214
+
215
+ export type ClusterInfo = {
216
+ name?: string
217
+ phase?: KpandaIoApiClustersV1alpha1Cluster.ClusterPhase
218
+ kubeSystemID?: string
219
+ hasBackup?: boolean
220
+ }
221
+
222
+ export type ListEtcdBackupClustersResponse = {
223
+ items?: ClusterInfo[]
212
224
  }
@@ -1149,6 +1149,9 @@ export class EtcdBackupRestore {
1149
1149
  static VerifyEtcdConnection(req: KpandaIoApiEtcdbackuprestoreV1alpha1Etcdbackuprestore.VerifyEtcdConnectionRequest, initReq?: fm.InitReq): Promise<KpandaIoApiEtcdbackuprestoreV1alpha1Etcdbackuprestore.VerifyEtcdConnectionResponse> {
1150
1150
  return fm.fetchReq<KpandaIoApiEtcdbackuprestoreV1alpha1Etcdbackuprestore.VerifyEtcdConnectionRequest, KpandaIoApiEtcdbackuprestoreV1alpha1Etcdbackuprestore.VerifyEtcdConnectionResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/etcdbackuprestore/etcd:verify`, {...initReq, method: "POST", body: JSON.stringify(req)})
1151
1151
  }
1152
+ static ListEtcdBackupClusters(req: GoogleProtobufEmpty.Empty, initReq?: fm.InitReq): Promise<KpandaIoApiEtcdbackuprestoreV1alpha1Etcdbackuprestore.ListEtcdBackupClustersResponse> {
1153
+ return fm.fetchReq<GoogleProtobufEmpty.Empty, KpandaIoApiEtcdbackuprestoreV1alpha1Etcdbackuprestore.ListEtcdBackupClustersResponse>(`/apis/kpanda.io/v1alpha1/etcdbackuprestore/clusters?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
1154
+ }
1152
1155
  }
1153
1156
  export class StreamService {
1154
1157
  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.33.0-dev-db181f64",
3
+ "version":"v0.33.0-dev-75015950",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {