@daocloud-proto/kpanda 0.10.4-27 → 0.10.4-31

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.
@@ -68,6 +68,7 @@ export type ListCustomResourceDefinitionsRequest = {
68
68
  sortDir?: KpandaIoApiTypesPage.SortDir
69
69
  labelSelector?: string
70
70
  fieldSelector?: string
71
+ group?: string
71
72
  }
72
73
 
73
74
  export type ListCustomResourceDefinitionsResponse = {
@@ -75,6 +76,14 @@ export type ListCustomResourceDefinitionsResponse = {
75
76
  pagination?: KpandaIoApiTypesPage.Pagination
76
77
  }
77
78
 
79
+ export type ListCustomResourceDefinitionGroupsRequest = {
80
+ cluster?: string
81
+ }
82
+
83
+ export type ListCustomResourceDefinitionGroupsResponse = {
84
+ items?: string[]
85
+ }
86
+
78
87
  export type GetCustomResourceDefinitionRequest = {
79
88
  cluster?: string
80
89
  name?: string
@@ -50,6 +50,9 @@ export class Apiextensions {
50
50
  static ListCustomResourceDefinitions(req: KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.ListCustomResourceDefinitionsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.ListCustomResourceDefinitionsResponse> {
51
51
  return fm.fetchReq<KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.ListCustomResourceDefinitionsRequest, KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.ListCustomResourceDefinitionsResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/customresourcedefinitions?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
52
52
  }
53
+ static ListCustomResourceDefinitionGroups(req: KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.ListCustomResourceDefinitionGroupsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.ListCustomResourceDefinitionGroupsResponse> {
54
+ return fm.fetchReq<KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.ListCustomResourceDefinitionGroupsRequest, KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.ListCustomResourceDefinitionGroupsResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/crd-groups?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
55
+ }
53
56
  static GetCustomResourceDefinition(req: KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.GetCustomResourceDefinitionRequest, initReq?: fm.InitReq): Promise<KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.CustomResourceDefinition> {
54
57
  return fm.fetchReq<KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.GetCustomResourceDefinitionRequest, KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.CustomResourceDefinition>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/customresourcedefinitions/${req["name"]}?${fm.renderURLSearchParams(req, ["cluster", "name"])}`, {...initReq, method: "GET"})
55
58
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/kpanda",
3
- "version":"0.10.4-27",
3
+ "version":"0.10.4-31",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {