Browse Source

数算任务列表删除yamlString字段

Former-commit-id: 1aae5e2d17
pull/9/head
zhangwei 2 years ago
parent
commit
075129ff03
3 changed files with 15 additions and 18 deletions
  1. +14
    -16
      api/desc/cloud/pcm-cloud.api
  2. +1
    -1
      api/desc/pcm.api
  3. +0
    -1
      api/internal/types/types.go

+ 14
- 16
api/desc/cloud/pcm-cloud.api View File

@@ -37,21 +37,19 @@ type DataSet {

type cloudListResp {
Clouds []Cloud `json:"clouds"`

}
type Cloud{
Id int64 `json:"id"` // id
TaskId int64 `json:"taskId"` // 任务id
ParticipantId int64 `json:"participantId"` // 集群静态信息id
ApiVersion string `json:"apiVersion"`
Name string `json:"name"` // 名称
Namespace string `json:"namespace"` // 命名空间
Kind string `json:"kind"` // 种类
Status string `json:"status"` // 状态
StartTime string `json:"startTime"` // 开始时间
RunningTime int64 `json:"runningTime"` // 运行时长
CreatedBy int64 `json:"createdBy"` // 创建人
CreatedTime string `json:"createdTime"` // 创建时间
YamlString string `json:"yamlString"`
Result string `json:"result"`
type Cloud {
Id int64 `json:"id"` // id
TaskId int64 `json:"taskId"` // 任务id
ParticipantId int64 `json:"participantId"` // 集群静态信息id
ApiVersion string `json:"apiVersion"`
Name string `json:"name"` // 名称
Namespace string `json:"namespace"` // 命名空间
Kind string `json:"kind"` // 种类
Status string `json:"status"` // 状态
StartTime string `json:"startTime"` // 开始时间
RunningTime int64 `json:"runningTime"` // 运行时长
CreatedBy int64 `json:"createdBy"` // 创建人
CreatedTime string `json:"createdTime"` // 创建时间
Result string `json:"result"`
}

+ 1
- 1
api/desc/pcm.api View File

@@ -236,7 +236,7 @@ service pcm {
group : vm
)
service pcm {
@handler GetComputeLimitsHandler
get /vm/getComputeLimits (GetComputeLimitsReq) returns (GetComputeLimitsResp)
@handler GetVolumeLimitsHandler


+ 0
- 1
api/internal/types/types.go View File

@@ -2610,6 +2610,5 @@ type Cloud struct {
RunningTime int64 `json:"runningTime"` // 运行时长
CreatedBy int64 `json:"createdBy"` // 创建人
CreatedTime string `json:"createdTime"` // 创建时间
YamlString string `json:"yamlString"`
Result string `json:"result"`
}

Loading…
Cancel
Save