@daocloud-proto/kpanda 0.11.3-250 → 0.11.3-252
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.
|
@@ -820,6 +820,9 @@ export class Clusterlcm {
|
|
|
820
820
|
static BatchAddNode(req: KpandaIoApiClusterlcmV1alpha1Clusterlcm.BatchAddNodeRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse> {
|
|
821
821
|
return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.BatchAddNodeRequest, KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse>(`/apis/kpanda.io/v1alpha1/cluster-lcm/${req["cluster"]}/nodes`, {...initReq, method: "POST", body: JSON.stringify(req)})
|
|
822
822
|
}
|
|
823
|
+
static CheckNode(req: KpandaIoApiClusterlcmV1alpha1Clusterlcm.CheckNodeRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse> {
|
|
824
|
+
return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.CheckNodeRequest, KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse>(`/apis/kpanda.io/v1alpha1/cluster-lcm/${req["cluster"]}/nodes:check`, {...initReq, method: "POST", body: JSON.stringify(req)})
|
|
825
|
+
}
|
|
823
826
|
static ListClusterlcmOps(req: KpandaIoApiClusterlcmV1alpha1Clusterlcm.ListClusterlcmOpsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ListClusterlcmOpsResponse> {
|
|
824
827
|
return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ListClusterlcmOpsRequest, KpandaIoApiClusterlcmV1alpha1Clusterlcm.ListClusterlcmOpsResponse>(`/apis/kpanda.io/v1alpha1/cluster-lcm/${req["cluster"]}/ops?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
|
|
825
828
|
}
|