forked from JointCloud/pcm-coordinator
updated runtaskreq param
This commit is contained in:
parent
aa7d50a9e8
commit
a45f6cf4ed
|
@ -239,9 +239,14 @@ type (
|
||||||
// 启动任务(资源已就绪):/runTask
|
// 启动任务(资源已就绪):/runTask
|
||||||
RunTaskReq {
|
RunTaskReq {
|
||||||
TaskID int64 `json:"taskID"`
|
TaskID int64 `json:"taskID"`
|
||||||
|
DataReturnInfo DataReturnInfo `json:"dataReturnInfo"`
|
||||||
|
ScheduledDatas []*DataScheduleResults `json:"scheduledDatas,optional"`
|
||||||
|
}
|
||||||
|
|
||||||
|
DataReturnInfo {
|
||||||
JobSetID string `json:"jobSetID"`
|
JobSetID string `json:"jobSetID"`
|
||||||
LocalJobID string `json:"localJobID"`
|
LocalJobID string `json:"localJobID"`
|
||||||
ScheduledDatas []*DataScheduleResults `json:"scheduledDatas,optional"`
|
Output string `json:"output"`
|
||||||
}
|
}
|
||||||
|
|
||||||
DataScheduleResults {
|
DataScheduleResults {
|
||||||
|
|
|
@ -6009,11 +6009,16 @@ type ScheduleData struct {
|
||||||
|
|
||||||
type RunTaskReq struct {
|
type RunTaskReq struct {
|
||||||
TaskID int64 `json:"taskID"`
|
TaskID int64 `json:"taskID"`
|
||||||
JobSetID string `json:"jobSetID"`
|
DataReturnInfo DataReturnInfo `json:"dataReturnInfo"`
|
||||||
LocalJobID string `json:"localJobID"`
|
|
||||||
ScheduledDatas []*DataScheduleResults `json:"scheduledDatas,optional"`
|
ScheduledDatas []*DataScheduleResults `json:"scheduledDatas,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type DataReturnInfo struct {
|
||||||
|
JobSetID string `json:"jobSetID"`
|
||||||
|
LocalJobID string `json:"localJobID"`
|
||||||
|
Output string `json:"output"`
|
||||||
|
}
|
||||||
|
|
||||||
type DataScheduleResults struct {
|
type DataScheduleResults struct {
|
||||||
DataType string `json:"dataType"`
|
DataType string `json:"dataType"`
|
||||||
Results []*DataScheduleResult `json:"results"`
|
Results []*DataScheduleResult `json:"results"`
|
||||||
|
|
Loading…
Reference in New Issue