@daocloud-proto/kpanda 0.21.0-dev-89be68de → 0.21.0-dev-7eb30f38

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.
@@ -62,8 +62,10 @@ export type ListClustersResponse = {
62
62
  pagination?: KpandaIoApiTypesPage.Pagination
63
63
  }
64
64
 
65
- export type ClusterRequest = {
65
+ export type DeleteClusterRequest = {
66
66
  name?: string
67
+ deleteKpandaNamespace?: boolean
68
+ deleteInsightAgent?: boolean
67
69
  }
68
70
 
69
71
  export type EditClusterLabelsRequest = {
@@ -85,6 +87,7 @@ export type ValidateKubeConfigResponse = {
85
87
  }
86
88
 
87
89
  export type ValidateClusterRequest = {
90
+ unjoinCluster?: boolean
88
91
  name?: string
89
92
  kubeConfigString?: string
90
93
  }
@@ -81,6 +81,7 @@ export type PodStatus = {
81
81
  initContainerStatuses?: ContainerStatus[]
82
82
  containerStatuses?: ContainerStatus[]
83
83
  ephemeralContainerStatuses?: ContainerStatus[]
84
+ podStatus?: string
84
85
  }
85
86
 
86
87
  export type ContainerStatus = {
@@ -319,8 +319,8 @@ export class Cluster {
319
319
  static EditClusterLabels(req: KpandaIoApiClustersV1alpha1Cluster.EditClusterLabelsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClustersV1alpha1Cluster.EditClusterLabelsResponse> {
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
- static DeleteCluster(req: KpandaIoApiClustersV1alpha1Cluster.ClusterRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
323
- return fm.fetchReq<KpandaIoApiClustersV1alpha1Cluster.ClusterRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["name"]}`, {...initReq, method: "DELETE"})
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"})
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)})
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/kpanda",
3
- "version":"v0.21.0-dev-89be68de",
3
+ "version":"v0.21.0-dev-7eb30f38",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {