@daocloud-proto/kpanda 0.11.3-2 → 0.11.3-23

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.
@@ -31,12 +31,4 @@ export type UnbindResourceFromWorkspaceRequest = {
31
31
  }
32
32
 
33
33
  export type UnbindResourceFromWorkspaceResponse = {
34
- }
35
-
36
- export type AddNamespaceToGProductRequest = {
37
- cluster?: string
38
- name?: string
39
- }
40
-
41
- export type AddNamespaceToGProductResponse = {
42
34
  }
@@ -692,9 +692,6 @@ export class Workspace {
692
692
  static UnbindResourceFromWorkspace(req: KpandaIoApiGhippoV1alpha1Workspace.UnbindResourceFromWorkspaceRequest, initReq?: fm.InitReq): Promise<KpandaIoApiGhippoV1alpha1Workspace.UnbindResourceFromWorkspaceResponse> {
693
693
  return fm.fetchReq<KpandaIoApiGhippoV1alpha1Workspace.UnbindResourceFromWorkspaceRequest, KpandaIoApiGhippoV1alpha1Workspace.UnbindResourceFromWorkspaceResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["name"]}:unbind`, {...initReq, method: "DELETE"})
694
694
  }
695
- static AddNamespaceToGProduct(req: KpandaIoApiGhippoV1alpha1Workspace.AddNamespaceToGProductRequest, initReq?: fm.InitReq): Promise<KpandaIoApiGhippoV1alpha1Workspace.AddNamespaceToGProductResponse> {
696
- return fm.fetchReq<KpandaIoApiGhippoV1alpha1Workspace.AddNamespaceToGProductRequest, KpandaIoApiGhippoV1alpha1Workspace.AddNamespaceToGProductResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["name"]}:add`, {...initReq, method: "POST", body: JSON.stringify(req)})
697
- }
698
695
  }
699
696
  export class ClusterSetting {
700
697
  static GetClusterSetting(req: KpandaIoApiClustersettingV1alpha1Clustersetting.GetClusterSettingRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClustersettingV1alpha1Clustersetting.ClusterSetting> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/kpanda",
3
- "version":"0.11.3-2",
3
+ "version":"0.11.3-23",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {