|
|
|
@@ -135,18 +135,49 @@ type CloudInfo struct { |
|
|
|
} |
|
|
|
|
|
|
|
type AiInfo struct { |
|
|
|
TaskId int64 `json:"taskId,omitempty"` |
|
|
|
ProjectId string `json:"project_id,omitempty"` |
|
|
|
AdapterId int64 `json:"adapterId,omitempty,optional"` |
|
|
|
AdapterName string `json:"adapterName,omitempty,optional"` |
|
|
|
ClusterId int64 `json:"clusterId,omitempty,optional"` |
|
|
|
ClusterName string `json:"clusterName,omitempty,optional"` |
|
|
|
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"` |
|
|
|
AdapterId int64 `json:"adapterId,omitempty,optional"` |
|
|
|
AdapterName string `json:"adapterName,omitempty,optional"` |
|
|
|
ClusterId int64 `json:"clusterId,omitempty,optional"` |
|
|
|
ClusterIds []int64 `json:"clusterIds,omitempty,optional"` |
|
|
|
TaskId int64 `json:"taskId,omitempty"` |
|
|
|
TaskName string `json:"taskName,omitempty"` |
|
|
|
Replica int32 `json:"replica,omitempty"` |
|
|
|
ResourceType string `json:"resourceType,omitempty"` |
|
|
|
CpuCoreNum int32 `json:"cpuCoreNum,omitempty"` |
|
|
|
TaskType string `json:"taskType,omitempty"` |
|
|
|
DatasetsName string `json:"datasetsName,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"` |
|
|
|
ImageUrl string `json:"imageUrl,omitempty"` |
|
|
|
Command string `json:"command,omitempty"` |
|
|
|
|