forked from JointCloud/pcm-coordinator
update types
This commit is contained in:
parent
94d11d6d68
commit
777790e4a9
|
@ -211,7 +211,12 @@ type (
|
|||
ModelDistribute {
|
||||
DataName string `json:"dataName"`
|
||||
PackageID int64 `json:"packageID"`
|
||||
Clusters []string `json:"clusters"`
|
||||
Clusters []*ClusterScheduled `json:"clusters"`
|
||||
}
|
||||
|
||||
ClusterScheduled {
|
||||
ClusterID string `json:"clusterID"`
|
||||
JsonData string `json:"jsonData"`
|
||||
}
|
||||
|
||||
CreateTaskResp {
|
||||
|
@ -234,11 +239,11 @@ type (
|
|||
|
||||
DataScheduleResults {
|
||||
DataType string `json:"dataType"`
|
||||
Results []DataScheduleResult `json:"results"`
|
||||
Results []*DataScheduleResult `json:"results"`
|
||||
}
|
||||
|
||||
DataScheduleResult {
|
||||
ClusterID string `json:"clusterID"`
|
||||
Clusters []*ClusterScheduled `json:"clusters"`
|
||||
PackageID int64 `json:"packageID"`
|
||||
PackageFullPath string `json:"packageFullPath"`
|
||||
Status bool `json:"status"`
|
||||
|
|
|
@ -5926,9 +5926,14 @@ type ImageDistribute struct {
|
|||
}
|
||||
|
||||
type ModelDistribute struct {
|
||||
DataName string `json:"dataName"`
|
||||
PackageID int64 `json:"packageID"`
|
||||
Clusters []string `json:"clusters"`
|
||||
DataName string `json:"dataName"`
|
||||
PackageID int64 `json:"packageID"`
|
||||
Clusters []*ClusterScheduled `json:"clusters"`
|
||||
}
|
||||
|
||||
type ClusterScheduled struct {
|
||||
ClusterID string `json:"clusterID"`
|
||||
JsonData string `json:"jsonData"`
|
||||
}
|
||||
|
||||
type CreateTaskResp struct {
|
||||
|
@ -5949,16 +5954,16 @@ type RunTaskReq struct {
|
|||
}
|
||||
|
||||
type DataScheduleResults struct {
|
||||
DataType string `json:"dataType"`
|
||||
Results []DataScheduleResult `json:"results"`
|
||||
DataType string `json:"dataType"`
|
||||
Results []*DataScheduleResult `json:"results"`
|
||||
}
|
||||
|
||||
type DataScheduleResult struct {
|
||||
ClusterID string `json:"clusterID"`
|
||||
PackageID int64 `json:"packageID"`
|
||||
PackageFullPath string `json:"packageFullPath"`
|
||||
Status bool `json:"status"`
|
||||
Msg string `json:"msg"`
|
||||
Clusters []*ClusterScheduled `json:"clusters"`
|
||||
PackageID int64 `json:"packageID"`
|
||||
PackageFullPath string `json:"packageFullPath"`
|
||||
Status bool `json:"status"`
|
||||
Msg string `json:"msg"`
|
||||
}
|
||||
|
||||
type RunTaskResp struct {
|
||||
|
|
Loading…
Reference in New Issue