@daocloud-proto/kpanda 0.25.0-dev-99a7b461 → 0.25.0-dev-73882a48
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.
|
@@ -28,7 +28,6 @@ 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"
|
|
32
31
|
import * as KpandaIoApiClustersettingV1alpha1Clustersetting from "../clustersetting/v1alpha1/clustersetting.pb"
|
|
33
32
|
import * as KpandaIoApiCoreV1alpha1Configmap from "../core/v1alpha1/configmap.pb"
|
|
34
33
|
import * as KpandaIoApiCoreV1alpha1Event from "../core/v1alpha1/event.pb"
|
|
@@ -343,9 +342,6 @@ export class Cluster {
|
|
|
343
342
|
static CreateOpenAPIClusterCertByKubeSystemID(req: KpandaIoApiClustersV1alpha1Cluster.CreateOpenAPIClusterCertRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClustersV1alpha1Cluster.CreateOpenAPIClusterCertResponse> {
|
|
344
343
|
return fm.fetchReq<KpandaIoApiClustersV1alpha1Cluster.CreateOpenAPIClusterCertRequest, KpandaIoApiClustersV1alpha1Cluster.CreateOpenAPIClusterCertResponse>(`/apis/kpanda.io/v1alpha1/kubesystemid/${req["kubeSystemID"]}/clustercert`, {...initReq, method: "POST", body: JSON.stringify(req)})
|
|
345
344
|
}
|
|
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
|
-
}
|
|
349
345
|
}
|
|
350
346
|
export class insight {
|
|
351
347
|
static GetPodContainerLog(req: KpandaIoApiInsightV1alpha1Insight.GetPodContainerLogRequest, initReq?: fm.InitReq): Promise<KpandaIoApiInsightV1alpha1Insight.GetPodContainerLogResponse> {
|
package/package.json
CHANGED
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
}
|