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.

tianheEnum.go 344 B

12345678910111213141516171819202122232425
  1. package enum
  2. type State uint32
  3. const (
  4. pending State = 0
  5. running State = 1
  6. suspended State = 2
  7. completed State = 3
  8. )
  9. func (s State) String() string {
  10. switch s {
  11. case pending:
  12. return "Pending"
  13. case running:
  14. return "Running"
  15. case suspended:
  16. return "Suspended"
  17. case completed:
  18. return "Completed"
  19. default:
  20. return ""
  21. }
  22. }

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.