fix: Modify the entity object of the Ai task
This commit is contained in:
parent
5d5669b503
commit
5e54e9830e
|
@ -135,18 +135,49 @@ type CloudInfo struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type AiInfo struct {
|
type AiInfo struct {
|
||||||
TaskId int64 `json:"taskId,omitempty"`
|
AdapterId int64 `json:"adapterId,omitempty,optional"`
|
||||||
ProjectId string `json:"project_id,omitempty"`
|
AdapterName string `json:"adapterName,omitempty,optional"`
|
||||||
AdapterId int64 `json:"adapterId,omitempty,optional"`
|
ClusterId int64 `json:"clusterId,omitempty,optional"`
|
||||||
AdapterName string `json:"adapterName,omitempty,optional"`
|
ClusterIds []int64 `json:"clusterIds,omitempty,optional"`
|
||||||
ClusterId int64 `json:"clusterId,omitempty,optional"`
|
TaskId int64 `json:"taskId,omitempty"`
|
||||||
ClusterName string `json:"clusterName,omitempty,optional"`
|
TaskName string `json:"taskName,omitempty"`
|
||||||
Name string `json:"name,omitempty"`
|
Replica int32 `json:"replica,omitempty"`
|
||||||
Status string `json:"status,omitempty"`
|
ResourceType string `json:"resourceType,omitempty"`
|
||||||
StartTime string `json:"startTime,omitempty"`
|
CpuCoreNum int32 `json:"cpuCoreNum,omitempty"`
|
||||||
RunningTime int64 `json:"runningTime,omitempty"`
|
TaskType string `json:"taskType,omitempty"`
|
||||||
Result string `json:"result,omitempty"`
|
DatasetsName string `json:"datasetsName,omitempty"`
|
||||||
JobId string `json:"jobId,omitempty"`
|
ProjectId string `json:"project_id,omitempty"`
|
||||||
|
StrategyName string `json:"strategyName,omitempty"`
|
||||||
|
ClusterToStaticWeight map[string]int32 `json:"clusterToStaticWeight,omitempty"`
|
||||||
|
Tops float64 `json:"tops,omitempty"`
|
||||||
|
ComputeCard string `json:"computeCard,omitempty,optional"`
|
||||||
|
CodeType string `json:"codeType,omitempty,optional"`
|
||||||
|
ClusterName string `json:"clusterName,omitempty,optional"`
|
||||||
|
ModelName string `json:"ModelName,omitempty,optional"`
|
||||||
|
AlgorithmName string `json:"algorithmName,omitempty,optional"`
|
||||||
|
|
||||||
|
ImageId string `json:"imageId,omitempty"`
|
||||||
|
SpecId string `json:"specId,omitempty"`
|
||||||
|
DatasetsId string `json:"datasetsId,omitempty"`
|
||||||
|
CodeId string `json:"codeId,omitempty"`
|
||||||
|
ResourceId string `json:"resourceId,omitempty"`
|
||||||
|
AlgorithmId string `json:"algorithmId,omitempty"`
|
||||||
|
|
||||||
|
Cmd string `json:"cmd,omitempty"`
|
||||||
|
Envs []string `json:"envs,omitempty"`
|
||||||
|
Params []string `json:"params,omitempty"`
|
||||||
|
|
||||||
|
Name string `json:"name,omitempty"`
|
||||||
|
Status string `json:"status,omitempty"`
|
||||||
|
StartTime string `json:"startTime,omitempty"`
|
||||||
|
RunningTime int64 `json:"runningTime,omitempty"`
|
||||||
|
Result string `json:"result,omitempty"`
|
||||||
|
JobId string `json:"jobId,omitempty"`
|
||||||
|
|
||||||
|
Datasets string `json:"datasets,omitempty"`
|
||||||
|
AlgorithmCode string `json:"algorithmCode,omitempty"`
|
||||||
|
Image string `json:"image,omitempty"`
|
||||||
|
|
||||||
CreateTime string `json:"createTime,omitempty"`
|
CreateTime string `json:"createTime,omitempty"`
|
||||||
ImageUrl string `json:"imageUrl,omitempty"`
|
ImageUrl string `json:"imageUrl,omitempty"`
|
||||||
Command string `json:"command,omitempty"`
|
Command string `json:"command,omitempty"`
|
||||||
|
|
Loading…
Reference in New Issue