updated DeployTask apis
Former-commit-id: a02581d9d1139cc2aff4c15e6edc6b6c4e3a342c
This commit is contained in:
parent
a152ee7576
commit
4bd778ba3a
|
@ -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