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.

vmOption.go 1.3 kB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. package option
  2. import "time"
  3. type VmOption struct {
  4. AdapterId string
  5. ClusterIds []string
  6. TaskName string
  7. ResourceType string // cpu/gpu/compute card
  8. TaskType string // pytorch/tensorflow/mindspore
  9. Strategy string
  10. ClusterToStaticWeight map[string]int32
  11. CommitTime time.Time
  12. NsID string
  13. Replicas int64
  14. MatchLabels map[string]string
  15. StaticWeightMap map[string]int32
  16. CreateMulServer []CreateMulDomainServer
  17. Id int64
  18. ParticipantId int64
  19. TaskId int64
  20. Name string
  21. ClusterId int64
  22. FlavorRef string
  23. ImageRef string
  24. Status string
  25. Platform string
  26. Description string
  27. AvailabilityZone string
  28. MinCount int64
  29. Uuid string
  30. StartTime string
  31. RunningTime string
  32. Result string
  33. DeletedAt string
  34. }
  35. type CreateMulDomainServer struct {
  36. Platform string
  37. Name string
  38. Min_count int64
  39. ImageRef string
  40. FlavorRef string
  41. Uuid string
  42. }
  43. func (a VmOption) GetOptionType() string {
  44. return VM
  45. }

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.