@daocloud-proto/kpanda 0.16.0-dev-6c0fbe47 → 0.16.0-dev-6121347b
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.
|
@@ -191,4 +191,17 @@ export type DeleteEtcdSnapshotRequest = {
|
|
|
191
191
|
cluster?: string
|
|
192
192
|
strategy?: string
|
|
193
193
|
name?: string
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export type VerifySnapStoreConfigRequest = {
|
|
197
|
+
cluster?: string
|
|
198
|
+
accessKeyId?: string
|
|
199
|
+
secretAccessKey?: string
|
|
200
|
+
bucket?: string
|
|
201
|
+
endpoint?: string
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export type VerifySnapStoreConfigResponse = {
|
|
205
|
+
success?: boolean
|
|
206
|
+
errMsg?: string
|
|
194
207
|
}
|
|
@@ -1009,6 +1009,9 @@ export class EtcdBackupRestore {
|
|
|
1009
1009
|
static DeleteEtcdSnapshot(req: KpandaIoApiEtcdbackuprestoreV1alpha1Etcdbackuprestore.DeleteEtcdSnapshotRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
1010
1010
|
return fm.fetchReq<KpandaIoApiEtcdbackuprestoreV1alpha1Etcdbackuprestore.DeleteEtcdSnapshotRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/etcdbackuprestore/strategies/${req["strategy"]}/snapshots/${req["name"]}`, {...initReq, method: "DELETE"})
|
|
1011
1011
|
}
|
|
1012
|
+
static VerifySnapStoreConfig(req: KpandaIoApiEtcdbackuprestoreV1alpha1Etcdbackuprestore.VerifySnapStoreConfigRequest, initReq?: fm.InitReq): Promise<KpandaIoApiEtcdbackuprestoreV1alpha1Etcdbackuprestore.VerifySnapStoreConfigResponse> {
|
|
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
|
+
}
|
|
1012
1015
|
}
|
|
1013
1016
|
export class StreamService {
|
|
1014
1017
|
static ClusterUpdateStream(req: KpandaIoApiStreamV1alpha1Stream.ClusterStreamRequest, entityNotifier?: fm.NotifyStreamEntityArrival<KpandaIoApiStreamV1alpha1Stream.ClusterStreamResponse>, initReq?: fm.InitReq): Promise<void> {
|