forked from JointCloud/pcm-coordinator
updated DeployTask apis
This commit is contained in:
parent
a9b5c42c5f
commit
a02581d9d1
|
@ -961,10 +961,10 @@ service pcm {
|
|||
get /inference/taskStat (InferenceTaskStatReq) returns (InferenceTaskStatResp)
|
||||
|
||||
@handler StartAllByDeployTaskId
|
||||
post /inference/startAllById (StartAllByDeployTaskIdReq) returns (StartAllByDeployTaskIdResp)
|
||||
post /inference/startAll (StartAllByDeployTaskIdReq) returns (StartAllByDeployTaskIdResp)
|
||||
|
||||
@handler StopAllByDeployTaskId
|
||||
post /inference/stopAllById (StopAllByDeployTaskIdReq) returns (StopAllByDeployTaskIdResp)
|
||||
post /inference/stopAll (StopAllByDeployTaskIdReq) returns (StopAllByDeployTaskIdResp)
|
||||
|
||||
@handler GetDeployTasks
|
||||
get /inference/getDeployTasks (GetDeployTasksReq) returns (GetDeployTasksResp)
|
||||
|
|
|
@ -36,6 +36,7 @@ type (
|
|||
|
||||
AiInferDeployInstance struct {
|
||||
Id int64 `db:"id" json:"id,string"`
|
||||
DeployInstanceTaskId int64 `db:"deploy_instance_task_id" json:"deployTaskId,string"`
|
||||
InstanceId string `db:"instance_id" json:"instanceId"`
|
||||
InstanceName string `db:"instance_name" json:"instanceName"`
|
||||
AdapterId int64 `db:"adapter_id" json:"adapterId,string"`
|
||||
|
|
Loading…
Reference in New Issue