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)
|
||||
|
|
|
@ -35,20 +35,21 @@ type (
|
|||
}
|
||||
|
||||
AiInferDeployInstance struct {
|
||||
Id int64 `db:"id" json:"id,string"`
|
||||
InstanceId string `db:"instance_id" json:"instanceId"`
|
||||
InstanceName string `db:"instance_name" json:"instanceName"`
|
||||
AdapterId int64 `db:"adapter_id" json:"adapterId,string"`
|
||||
AdapterName string `db:"adapter_name" json:"adapterName" `
|
||||
ClusterId int64 `db:"cluster_id" json:"clusterId,string"`
|
||||
ClusterName string `db:"cluster_name" json:"clusterName"`
|
||||
ModelName string `db:"model_name" json:"modelName"`
|
||||
ModelType string `db:"model_type" json:"modelType"`
|
||||
InferCard string `db:"infer_card" json:"inferCard"`
|
||||
Status string `db:"status" json:"status"`
|
||||
CreateTime string `db:"create_time" json:"createTime"`
|
||||
UpdateTime string `db:"update_time" json:"updateTime"`
|
||||
ClusterType string `db:"cluster_type" json:"clusterType"`
|
||||
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"`
|
||||
AdapterName string `db:"adapter_name" json:"adapterName" `
|
||||
ClusterId int64 `db:"cluster_id" json:"clusterId,string"`
|
||||
ClusterName string `db:"cluster_name" json:"clusterName"`
|
||||
ModelName string `db:"model_name" json:"modelName"`
|
||||
ModelType string `db:"model_type" json:"modelType"`
|
||||
InferCard string `db:"infer_card" json:"inferCard"`
|
||||
Status string `db:"status" json:"status"`
|
||||
CreateTime string `db:"create_time" json:"createTime"`
|
||||
UpdateTime string `db:"update_time" json:"updateTime"`
|
||||
ClusterType string `db:"cluster_type" json:"clusterType"`
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue