|
1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- package entity
-
- type ProviderParams struct {
- Disk_avail float64
- Mem_avail float64
- Cpu_avail float64
- Participant_id int64
- }
-
- type Participant struct {
- Name string
- Participant_id int64
- }
-
- type JsonData struct {
- Name string `json:"name"`
- Id string `json:"id"`
- }
-
- type OctCreateJobResp struct {
- Code int `json:"code"`
- Msg string `json:"msg"`
- Data interface{} `json:"data"`
- }
-
- type OctResourceSpecsResp struct {
- Code int `json:"code"`
- Msg string `json:"msg"`
- Data interface{} `json:"data"`
- }
-
- type OctResourceSpecs struct {
- MapResourceSpecIdList struct {
- Debug struct {
- ResourceSpecs []interface{} `json:"resourceSpecs"`
- } `json:"debug"`
- Deploy struct {
- ResourceSpecs []interface{} `json:"resourceSpecs"`
- } `json:"deploy"`
- Train struct {
- ResourceSpecs []interface{} `json:"resourceSpecs"`
- } `json:"train"`
- } `json:"mapResourceSpecIdList"`
- }
|