@daocloud-proto/kpanda 0.22.0-dev-18c84aee → 0.22.0-dev-48974936
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.
|
@@ -320,7 +320,7 @@ export class Cluster {
|
|
|
320
320
|
return fm.fetchReq<KpandaIoApiClustersV1alpha1Cluster.EditClusterLabelsRequest, KpandaIoApiClustersV1alpha1Cluster.EditClusterLabelsResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["name"]}/labels`, {...initReq, method: "PUT", body: JSON.stringify(req)})
|
|
321
321
|
}
|
|
322
322
|
static DeleteCluster(req: KpandaIoApiClustersV1alpha1Cluster.DeleteClusterRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
323
|
-
return fm.fetchReq<KpandaIoApiClustersV1alpha1Cluster.DeleteClusterRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["name"]}`, {...initReq, method: "DELETE"})
|
|
323
|
+
return fm.fetchReq<KpandaIoApiClustersV1alpha1Cluster.DeleteClusterRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["name"]}`, {...initReq, method: "DELETE", body: JSON.stringify(req)})
|
|
324
324
|
}
|
|
325
325
|
static CreateOpenAPIClusterCert(req: KpandaIoApiClustersV1alpha1Cluster.CreateOpenAPIClusterCertRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClustersV1alpha1Cluster.CreateOpenAPIClusterCertResponse> {
|
|
326
326
|
return fm.fetchReq<KpandaIoApiClustersV1alpha1Cluster.CreateOpenAPIClusterCertRequest, KpandaIoApiClustersV1alpha1Cluster.CreateOpenAPIClusterCertResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/clustercert`, {...initReq, method: "POST", body: JSON.stringify(req)})
|