@daocloud-proto/kpanda 0.23.0-dev-e7744b7f → 0.23.0-dev-c337e5e1

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.
@@ -239,4 +239,17 @@ export type UnbindNodeToNamespaceRequest = {
239
239
  }
240
240
 
241
241
  export type UnbindNodeToNamespaceResponse = {
242
+ }
243
+
244
+ export type ListClusterSriovAllocatedResourcesRequest = {
245
+ cluster?: string
246
+ }
247
+
248
+ export type ListClusterSriovAllocatedResourcesResponse = {
249
+ allocatedResources?: AllocatedResource[]
250
+ }
251
+
252
+ export type AllocatedResource = {
253
+ resourceName?: string
254
+ value?: string
242
255
  }
@@ -366,6 +366,9 @@ export class Core {
366
366
  static ListClusterNodeSummary(req: KpandaIoApiCoreV1alpha1Node.ListClusterNodeSummaryRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCoreV1alpha1Node.ListClusterNodeSummaryResponse> {
367
367
  return fm.fetchReq<KpandaIoApiCoreV1alpha1Node.ListClusterNodeSummaryRequest, KpandaIoApiCoreV1alpha1Node.ListClusterNodeSummaryResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/nodesummary?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
368
368
  }
369
+ static ListClusterSriovAllocatedResources(req: KpandaIoApiCoreV1alpha1Node.ListClusterSriovAllocatedResourcesRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCoreV1alpha1Node.ListClusterSriovAllocatedResourcesResponse> {
370
+ return fm.fetchReq<KpandaIoApiCoreV1alpha1Node.ListClusterSriovAllocatedResourcesRequest, KpandaIoApiCoreV1alpha1Node.ListClusterSriovAllocatedResourcesResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/nodesriovresources?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
371
+ }
369
372
  static GetNode(req: KpandaIoApiCoreV1alpha1Node.GetNodeRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCoreV1alpha1Node.Node> {
370
373
  return fm.fetchReq<KpandaIoApiCoreV1alpha1Node.GetNodeRequest, KpandaIoApiCoreV1alpha1Node.Node>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/nodes/${req["name"]}?${fm.renderURLSearchParams(req, ["cluster", "name"])}`, {...initReq, method: "GET"})
371
374
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/kpanda",
3
- "version":"v0.23.0-dev-e7744b7f",
3
+ "version":"v0.23.0-dev-c337e5e1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {