From 74789e940daaa852fa120202b9164fd6d198d4bd Mon Sep 17 00:00:00 2001 From: Jake <450705171@qq.com> Date: Sun, 7 Apr 2024 16:57:54 +0800 Subject: [PATCH] goctl generate types Former-commit-id: 36cf4966933f78d170ae6a43f4af3f4d100c803f --- api/internal/types/types.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/api/internal/types/types.go b/api/internal/types/types.go index d055cc65..65aa7de6 100644 --- a/api/internal/types/types.go +++ b/api/internal/types/types.go @@ -5266,8 +5266,14 @@ type ScheduleReq struct { } type ScheduleResp struct { - Success bool `json:"success"` - ErrorMsg string `json:"errorMsg"` + Results []*ScheduleResult `json:"results"` +} + +type ScheduleResult struct { + ClusterId string `json:"clusterId"` + TaskId string `json:"taskId"` + Replica int32 `json:"replica"` + Msg string `json:"msg"` } type AiOption struct {