You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

octopus.go 800 B

123456789101112131415161718192021222324252627282930313233
  1. package entity
  2. import omodel "gitlink.org.cn/JointCloud/pcm-octopus/http/model"
  3. type OctResp struct {
  4. Code int `json:"code"`
  5. Msg string `json:"msg"`
  6. Data interface{} `json:"data"`
  7. }
  8. type OctResourceSpecs struct {
  9. MapResourceSpecIdList struct {
  10. Debug struct {
  11. ResourceSpecs []interface{} `json:"resourceSpecs"`
  12. } `json:"debug"`
  13. Deploy struct {
  14. ResourceSpecs []interface{} `json:"resourceSpecs"`
  15. } `json:"deploy"`
  16. Train struct {
  17. ResourceSpecs []interface{} `json:"resourceSpecs"`
  18. } `json:"train"`
  19. } `json:"mapResourceSpecIdList"`
  20. }
  21. type OctTrainJob struct {
  22. TrainJob *omodel.TrainJob `json:"trainJob"`
  23. }
  24. type OctCreateAlgorithm struct {
  25. AlgorithmId string `json:"algorithmId"`
  26. Version string `json:"version"`
  27. CreatedAt int `json:"createdAt"`
  28. }

PCM is positioned as Software stack over Cloud, aiming to build the standards and ecology of heterogeneous cloud collaboration for JCC in a non intrusive and autonomous peer-to-peer manner.