forked from JointCloud/pcm-coordinator
fix ListInstanceCenter
Signed-off-by: jagger <cossjie@foxmail.com>
This commit is contained in:
parent
9aa8172925
commit
3d6bb2aeee
|
@ -203,6 +203,11 @@ service pcm {
|
|||
@doc "删除资源规格"
|
||||
@handler deleteResourceSpecHandler
|
||||
delete /core/ai/resourceSpec/delete/:id (DeletePathId) returns (CommonResp)
|
||||
|
||||
// @doc "获取任务"
|
||||
// @handler getResourceRange
|
||||
// get /core/ai/resourceSpec/range (ResourceRangeReq) returns (ResourceRangeResp)
|
||||
|
||||
//集群资源规格----- 结束
|
||||
}
|
||||
|
||||
|
|
|
@ -37,6 +37,7 @@ type (
|
|||
|
||||
HpcInstanceCenter struct {
|
||||
Id int64 `db:"id" json:"id"` // 平台唯一id
|
||||
App string `db:"app" json:"app"` // 应用名称
|
||||
LogoPath string `db:"logo_path" json:"logoPath"` // logo图像的位置
|
||||
InstanceName string `db:"instance_name" json:"instanceName"` // 实例名称
|
||||
InstanceType int64 `db:"instance_type" json:"instanceType"` // 实例类型(1是应用实例,2是模型实例)
|
||||
|
|
Loading…
Reference in New Issue