34 lines
800 B
Go
34 lines
800 B
Go
package entity
|
|
|
|
import omodel "gitlink.org.cn/JointCloud/pcm-octopus/http/model"
|
|
|
|
type OctResp struct {
|
|
Code int `json:"code"`
|
|
Msg string `json:"msg"`
|
|
Data interface{} `json:"data"`
|
|
}
|
|
|
|
type OctResourceSpecs struct {
|
|
MapResourceSpecIdList struct {
|
|
Debug struct {
|
|
ResourceSpecs []interface{} `json:"resourceSpecs"`
|
|
} `json:"debug"`
|
|
Deploy struct {
|
|
ResourceSpecs []interface{} `json:"resourceSpecs"`
|
|
} `json:"deploy"`
|
|
Train struct {
|
|
ResourceSpecs []interface{} `json:"resourceSpecs"`
|
|
} `json:"train"`
|
|
} `json:"mapResourceSpecIdList"`
|
|
}
|
|
|
|
type OctTrainJob struct {
|
|
TrainJob *omodel.TrainJob `json:"trainJob"`
|
|
}
|
|
|
|
type OctCreateAlgorithm struct {
|
|
AlgorithmId string `json:"algorithmId"`
|
|
Version string `json:"version"`
|
|
CreatedAt int `json:"createdAt"`
|
|
}
|