@daocloud-proto/kpanda 0.25.0-dev-d107a98c → 0.25.0-dev-99a7b461

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.
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+ export type ListAllClusterGPUInfoResponse = {
7
+ items?: GPUSpec[]
8
+ }
9
+
10
+ export type GPUSpec = {
11
+ modelName?: string
12
+ memory?: string
13
+ uuid?: string
14
+ }
@@ -28,6 +28,7 @@ import * as KpandaIoApiBatchV1alpha1Job from "../batch/v1alpha1/job.pb"
28
28
  import * as KpandaIoApiCloudshellV1alpha1Cloudshell from "../cloudshell/v1alpha1/cloudshell.pb"
29
29
  import * as KpandaIoApiClusterlcmV1alpha1Clusterlcm from "../clusterlcm/v1alpha1/clusterlcm.pb"
30
30
  import * as KpandaIoApiClustersV1alpha1Cluster from "../clusters/v1alpha1/cluster.pb"
31
+ import * as KpandaIoApiClustersV1alpha1Gpu from "../clusters/v1alpha1/gpu.pb"
31
32
  import * as KpandaIoApiClustersettingV1alpha1Clustersetting from "../clustersetting/v1alpha1/clustersetting.pb"
32
33
  import * as KpandaIoApiCoreV1alpha1Configmap from "../core/v1alpha1/configmap.pb"
33
34
  import * as KpandaIoApiCoreV1alpha1Event from "../core/v1alpha1/event.pb"
@@ -342,6 +343,9 @@ export class Cluster {
342
343
  static CreateOpenAPIClusterCertByKubeSystemID(req: KpandaIoApiClustersV1alpha1Cluster.CreateOpenAPIClusterCertRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClustersV1alpha1Cluster.CreateOpenAPIClusterCertResponse> {
343
344
  return fm.fetchReq<KpandaIoApiClustersV1alpha1Cluster.CreateOpenAPIClusterCertRequest, KpandaIoApiClustersV1alpha1Cluster.CreateOpenAPIClusterCertResponse>(`/apis/kpanda.io/v1alpha1/kubesystemid/${req["kubeSystemID"]}/clustercert`, {...initReq, method: "POST", body: JSON.stringify(req)})
344
345
  }
346
+ static ListAllClusterGPU(req: GoogleProtobufEmpty.Empty, initReq?: fm.InitReq): Promise<KpandaIoApiClustersV1alpha1Gpu.ListAllClusterGPUInfoResponse> {
347
+ return fm.fetchReq<GoogleProtobufEmpty.Empty, KpandaIoApiClustersV1alpha1Gpu.ListAllClusterGPUInfoResponse>(`/apis/kpanda.io/v1alpha1/gpus?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
348
+ }
345
349
  }
346
350
  export class insight {
347
351
  static GetPodContainerLog(req: KpandaIoApiInsightV1alpha1Insight.GetPodContainerLogRequest, initReq?: fm.InitReq): Promise<KpandaIoApiInsightV1alpha1Insight.GetPodContainerLogResponse> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/kpanda",
3
- "version":"v0.25.0-dev-d107a98c",
3
+ "version":"v0.25.0-dev-99a7b461",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {