|
|
|
@@ -2,11 +2,12 @@ package cloud |
|
|
|
|
|
|
|
import ( |
|
|
|
"fmt" |
|
|
|
"net/url" |
|
|
|
"strings" |
|
|
|
|
|
|
|
schsdk "gitlink.org.cn/cloudream/common/sdks/scheduler" |
|
|
|
"gitlink.org.cn/cloudream/common/utils/http2" |
|
|
|
"gitlink.org.cn/cloudream/common/utils/serder" |
|
|
|
"net/url" |
|
|
|
"strings" |
|
|
|
) |
|
|
|
|
|
|
|
//type CreateParam struct { |
|
|
|
@@ -40,6 +41,7 @@ type CreateCloudJobReq struct { |
|
|
|
MountPath string `json:"mountPath,omitempty"` |
|
|
|
Args []string `json:"args,omitempty"` |
|
|
|
Envs []interface{} `json:"envs,omitempty"` |
|
|
|
Capacity int32 `json:"capacity,omitempty"` |
|
|
|
} |
|
|
|
|
|
|
|
// type T2 struct { |
|
|
|
|