Browse Source

Merge pull request '云算接口调整' (#59) from feature_zj into feature_rzs

pull/60/head
JeshuaRen 3 months ago
parent
commit
4c40a13ae6
1 changed files with 1 additions and 7 deletions
  1. +1
    -7
      sdks/cloud/job.go

+ 1
- 7
sdks/cloud/job.go View File

@@ -62,13 +62,7 @@ type CreateCloudJobReq struct {
// TraceId string `json:"traceId"` // TraceId string `json:"traceId"`
// } // }
type CreateCloudResp struct { type CreateCloudResp struct {
Command interface{} `json:"Command"`
Args []string `json:"args"`
ContainerPorts map[string]int64 `json:"containerPorts"`
Image string `json:"image"`
Limits map[string]string `json:"limits"`
Name string `json:"name"`
TaskID TaskID `json:"taskId"`
TaskID TaskID `json:"taskId"`
} }


func (c *Client) CreateJob(req CreateCloudJobReq, token string) (*CreateCloudResp, error) { func (c *Client) CreateJob(req CreateCloudJobReq, token string) (*CreateCloudResp, error) {


Loading…
Cancel
Save