@daocloud-proto/kpanda 0.33.2 → 0.34.0-dev-3277f62d
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.
|
@@ -145,6 +145,8 @@ export type ClusterSettings = {
|
|
|
145
145
|
zone?: string
|
|
146
146
|
kubesprayArgs?: KubesprayArgs
|
|
147
147
|
preinstallAddons?: AddonInfo[]
|
|
148
|
+
useLocalService?: boolean
|
|
149
|
+
osRepoType?: OsRepoType
|
|
148
150
|
}
|
|
149
151
|
|
|
150
152
|
export type AddonInfo = {
|
|
@@ -230,6 +232,8 @@ export type NodeInfo = {
|
|
|
230
232
|
role?: NodeInfoRole
|
|
231
233
|
user?: string
|
|
232
234
|
pass?: string
|
|
235
|
+
osKernelVersion?: string
|
|
236
|
+
dualStackNetwork?: boolean
|
|
233
237
|
}
|
|
234
238
|
|
|
235
239
|
|
|
@@ -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> {
|