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.

cloud_model.go 1.4 kB

123456789101112131415161718192021222324252627
  1. package models
  2. import "gitlink.org.cn/JointCloud/pcm-coordinator/pkg/models/base"
  3. type CloudModel struct {
  4. Id uint `json:"id,omitempty" gorm:"id"`
  5. AdapterId uint `json:"adapterId,omitempty" gorm:"adapter_id"`
  6. Name string `json:"name,omitempty" gorm:"name"`
  7. Nickname string `json:"nickname,omitempty" gorm:"nickname"`
  8. Description string `json:"description,omitempty" gorm:"description"`
  9. Server string `json:"server,omitempty" gorm:"server"`
  10. MonitorServer string `json:"monitorServer,omitempty" gorm:"monitor_server"`
  11. Username string `json:"username,omitempty" gorm:"username"`
  12. Password string `json:"password,omitempty" gorm:"password"`
  13. Token string `json:"token,omitempty" gorm:"token"`
  14. Ak string `json:"ak,omitempty" gorm:"ak"`
  15. Sk string `json:"sk,omitempty" gorm:"sk"`
  16. Region string `json:"region,omitempty" gorm:"region"`
  17. ProjectId string `json:"projectId,omitempty" gorm:"project_id"`
  18. Version string `json:"version,omitempty" gorm:"version"`
  19. Label string `json:"label,omitempty" gorm:"label"`
  20. OwnerId uint `json:"ownerId,omitempty" gorm:"owner_id"`
  21. AuthType int `json:"authType,omitempty" gorm:"auth_type"`
  22. ProducerDict string `json:"producerDict,omitempty" gorm:"producer_dict"`
  23. RegionDict string `json:"regionDict,omitempty" gorm:"region_dict"`
  24. base.BaseModel
  25. }

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.