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.

entity.go 927 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. package entity
  2. type ProviderParams struct {
  3. Disk_avail float64
  4. Mem_avail float64
  5. Cpu_avail float64
  6. Participant_id int64
  7. }
  8. type Participant struct {
  9. Name string
  10. Participant_id int64
  11. }
  12. type JsonData struct {
  13. Name string `json:"name"`
  14. Id string `json:"id"`
  15. }
  16. type OctCreateJobResp struct {
  17. Code int `json:"code"`
  18. Msg string `json:"msg"`
  19. Data interface{} `json:"data"`
  20. }
  21. type OctResourceSpecsResp struct {
  22. Code int `json:"code"`
  23. Msg string `json:"msg"`
  24. Data interface{} `json:"data"`
  25. }
  26. type OctResourceSpecs struct {
  27. MapResourceSpecIdList struct {
  28. Debug struct {
  29. ResourceSpecs []interface{} `json:"resourceSpecs"`
  30. } `json:"debug"`
  31. Deploy struct {
  32. ResourceSpecs []interface{} `json:"resourceSpecs"`
  33. } `json:"deploy"`
  34. Train struct {
  35. ResourceSpecs []interface{} `json:"resourceSpecs"`
  36. } `json:"train"`
  37. } `json:"mapResourceSpecIdList"`
  38. }

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.