|
|
|
@@ -456,6 +456,14 @@ type ScreenChartResp struct { |
|
|
|
CenterName string `json:"centerName"` |
|
|
|
} |
|
|
|
|
|
|
|
type GetClusterByIdReq struct { |
|
|
|
ClusterId int32 `path:"clusterId"` |
|
|
|
} |
|
|
|
|
|
|
|
type GetClusterByIdResp struct { |
|
|
|
ClusterInfo ClusterInfo `json:"clusterInfo"` |
|
|
|
} |
|
|
|
|
|
|
|
type ScreenInfoResp struct { |
|
|
|
StorageUsed float32 `json:"storageUsed"` |
|
|
|
StorageUsing float32 `json:"storageUsing"` |
|
|
|
@@ -1226,12 +1234,13 @@ type CommonResp struct { |
|
|
|
} |
|
|
|
|
|
|
|
type CommitHpcTaskReq struct { |
|
|
|
Name string `json:"name"` // paratera:jobName |
|
|
|
ClusterId int64 `json:"clusterId,optional"` |
|
|
|
Name string `json:"name"` |
|
|
|
Account string `json:"account,optional"` |
|
|
|
Description string `json:"description,optional"` |
|
|
|
TenantId int64 `json:"tenantId,optional"` |
|
|
|
TaskId int64 `json:"taskId,optional"` |
|
|
|
AdapterIds []string `json:"adapterIds"` |
|
|
|
AdapterIds []string `json:"adapterIds,optional"` |
|
|
|
MatchLabels map[string]string `json:"matchLabels,optional"` |
|
|
|
CardCount int64 `json:"cardCount,optional"` |
|
|
|
WorkDir string `json:"workDir,optional"` //paratera:workingDir |
|
|
|
|