syntax = "v1" info( title: "cloud core" desc: "cloud core微服务" author: "zhangwei" email: "" ) /******************find datasetList start*************************/ type ApplyReq { YamlString string `json:"yamlString" copier:"yamlString"` } type DeleteReq { YamlString string `json:"yamlString" copier:"yamlString"` } type ApplyResp { Code int32 `json:"code,omitempty"` Msg string `json:"msg,omitempty"` DataSet []DataSet `json:"dataSet,omitempty"` } type DeleteResp { Code int32 `json:"code,omitempty"` Msg string `json:"msg,omitempty"` Data string `json:"data,omitempty"` } type DataSet { ApiVersion int32 `json:"apiVersion,omitempty"` Kind string `json:"kind,omitempty"` Name string `json:"name,omitempty"` NameSpace string `json:"nameSpace,omitempty"` } 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"` // 创建时间 Result string `json:"result"` }