@daocloud-proto/kpanda 0.52.0-dev-985158fe → 0.52.0-dev1
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.
|
@@ -109,17 +109,4 @@ export type ListGPUSettingRequest = {
|
|
|
109
109
|
|
|
110
110
|
export type ListGPUSettingResponse = {
|
|
111
111
|
items?: KpandaIoApiSettingV1alpha1Setting.GPUSetting[]
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
export type ListClusterGPUSettingRequest = {
|
|
115
|
-
cluster?: string[]
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
export type ListClusterGPUSettingResponse = {
|
|
119
|
-
items?: ClusterGPUSetting[]
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
export type ClusterGPUSetting = {
|
|
123
|
-
cluster?: string
|
|
124
|
-
items?: KpandaIoApiSettingV1alpha1Setting.GPUSetting[]
|
|
125
112
|
}
|
|
@@ -962,9 +962,6 @@ export class ClusterSetting {
|
|
|
962
962
|
static ListGPUSetting(req: KpandaIoApiClustersettingV1alpha1Clustersetting.ListGPUSettingRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClustersettingV1alpha1Clustersetting.ListGPUSettingResponse> {
|
|
963
963
|
return fm.fetchReq<KpandaIoApiClustersettingV1alpha1Clustersetting.ListGPUSettingRequest, KpandaIoApiClustersettingV1alpha1Clustersetting.ListGPUSettingResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/settings/gpu?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
|
|
964
964
|
}
|
|
965
|
-
static ListClusterGPUSetting(req: KpandaIoApiClustersettingV1alpha1Clustersetting.ListClusterGPUSettingRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClustersettingV1alpha1Clustersetting.ListClusterGPUSettingResponse> {
|
|
966
|
-
return fm.fetchReq<KpandaIoApiClustersettingV1alpha1Clustersetting.ListClusterGPUSettingRequest, KpandaIoApiClustersettingV1alpha1Clustersetting.ListClusterGPUSettingResponse>(`/apis/kpanda.io/v1alpha1/asl/settings/gpu?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
967
|
-
}
|
|
968
965
|
}
|
|
969
966
|
export class CloudShell {
|
|
970
967
|
static CreateCloudShell(req: KpandaIoApiCloudshellV1alpha1Cloudshell.CreateCloudShellRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCloudshellV1alpha1Cloudshell.CloudShell> {
|