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