|
|
|
@@ -2,14 +2,15 @@ package sch |
|
|
|
|
|
|
|
import ( |
|
|
|
"fmt" |
|
|
|
"io" |
|
|
|
"net/url" |
|
|
|
"strings" |
|
|
|
|
|
|
|
"gitlink.org.cn/cloudream/common/pkgs/logger" |
|
|
|
schsdk "gitlink.org.cn/cloudream/common/sdks/scheduler" |
|
|
|
cdssdk "gitlink.org.cn/cloudream/common/sdks/storage" |
|
|
|
"gitlink.org.cn/cloudream/common/utils/http2" |
|
|
|
"gitlink.org.cn/cloudream/common/utils/serder" |
|
|
|
"io" |
|
|
|
"net/url" |
|
|
|
"strings" |
|
|
|
) |
|
|
|
|
|
|
|
type GetClusterInfoReq struct { |
|
|
|
@@ -334,11 +335,12 @@ func (c *Client) CancelJob(req CancelJobReq) error { |
|
|
|
} |
|
|
|
|
|
|
|
type GetResourceSpecReq struct { |
|
|
|
ClusterID schsdk.ClusterID `form:"clusterId"` |
|
|
|
Tag string `form:"tag"` |
|
|
|
PageNum int64 `form:"pageNum"` |
|
|
|
PageSize int64 `form:"pageSize"` |
|
|
|
Status string `form:"status"` |
|
|
|
ClusterID schsdk.ClusterID `form:"clusterId"` |
|
|
|
Tag string `form:"tag"` |
|
|
|
PageNum int64 `form:"pageNum"` |
|
|
|
PageSize int64 `form:"pageSize"` |
|
|
|
Status string `form:"status"` |
|
|
|
ClusterType string `form:"clusterType"` |
|
|
|
} |
|
|
|
|
|
|
|
type GetResourceSpecResp struct { |
|
|
|
|