|
|
|
@@ -3388,9 +3388,15 @@ type SubmitLinkTaskReq struct { |
|
|
|
ImageId string `json:"imageId"` |
|
|
|
Cmd string `json:"cmd"` |
|
|
|
Params []*ParamSl `json:"params"` |
|
|
|
Envs []*EnvSl `json:"params"` |
|
|
|
ResourceId string `json:"resourceId"` |
|
|
|
} |
|
|
|
|
|
|
|
type EnvSl struct { |
|
|
|
Key string `json:"key"` |
|
|
|
Val string `json:"value"` |
|
|
|
} |
|
|
|
|
|
|
|
type ParamSl struct { |
|
|
|
Key string `json:"key"` |
|
|
|
Val string `json:"value"` |
|
|
|
@@ -3446,10 +3452,11 @@ type GetResourceSpecsReq struct { |
|
|
|
type GetResourceSpecsResp struct { |
|
|
|
Success bool `json:"success"` |
|
|
|
ResourceSpecs []*ResourceSpecSl `json:"resourceSpecs"` |
|
|
|
ErrorMsg string `json:"errorMsg"` |
|
|
|
} |
|
|
|
|
|
|
|
type ResourceSpecSl struct { |
|
|
|
ParticipantId string `json:"participantId"` |
|
|
|
ParticipantId int64 `json:"participantId"` |
|
|
|
ParticipantName string `json:"participantName"` |
|
|
|
SpecName string `json:"specName"` |
|
|
|
SpecId string `json:"specId"` |
|
|
|
@@ -3457,7 +3464,7 @@ type ResourceSpecSl struct { |
|
|
|
} |
|
|
|
|
|
|
|
type ParticipantSl struct { |
|
|
|
ParticipantId string `json:"id"` |
|
|
|
ParticipantId int64 `json:"id"` |
|
|
|
ParticipantName string `json:"name"` |
|
|
|
ParticipantType string `json:"type"` |
|
|
|
} |