Documentation
¶
Index ¶
- Variables
- type CreateTaskReq
- func (p *CreateTaskReq) GetCron() (v string)
- func (p *CreateTaskReq) GetGitForce() (v bool)
- func (p *CreateTaskReq) GetGitPrune() (v bool)
- func (p *CreateTaskReq) GetGitTags() (v bool)
- func (p *CreateTaskReq) GetName() (v string)
- func (p *CreateTaskReq) GetSourceBranch() (v string)
- func (p *CreateTaskReq) GetSourceRepoKey() (v string)
- func (p *CreateTaskReq) GetSyncMode() (v string)
- func (p *CreateTaskReq) GetTargetBranch() (v string)
- func (p *CreateTaskReq) GetTargetRepoKey() (v string)
- func (p *CreateTaskReq) InitDefault()
- func (p *CreateTaskReq) Read(iprot thrift.TProtocol) (err error)
- func (p *CreateTaskReq) ReadField1(iprot thrift.TProtocol) error
- func (p *CreateTaskReq) ReadField2(iprot thrift.TProtocol) error
- func (p *CreateTaskReq) ReadField3(iprot thrift.TProtocol) error
- func (p *CreateTaskReq) ReadField4(iprot thrift.TProtocol) error
- func (p *CreateTaskReq) ReadField5(iprot thrift.TProtocol) error
- func (p *CreateTaskReq) ReadField6(iprot thrift.TProtocol) error
- func (p *CreateTaskReq) ReadField7(iprot thrift.TProtocol) error
- func (p *CreateTaskReq) ReadField8(iprot thrift.TProtocol) error
- func (p *CreateTaskReq) ReadField9(iprot thrift.TProtocol) error
- func (p *CreateTaskReq) ReadField10(iprot thrift.TProtocol) error
- func (p *CreateTaskReq) String() string
- func (p *CreateTaskReq) Write(oprot thrift.TProtocol) (err error)
- type CreateTaskResp
- func (p *CreateTaskResp) GetTask() (v *SyncTaskInfo)
- func (p *CreateTaskResp) InitDefault()
- func (p *CreateTaskResp) IsSetTask() bool
- func (p *CreateTaskResp) Read(iprot thrift.TProtocol) (err error)
- func (p *CreateTaskResp) ReadField1(iprot thrift.TProtocol) error
- func (p *CreateTaskResp) String() string
- func (p *CreateTaskResp) Write(oprot thrift.TProtocol) (err error)
- type DeleteTaskReq
- func (p *DeleteTaskReq) GetKey() (v string)
- func (p *DeleteTaskReq) InitDefault()
- func (p *DeleteTaskReq) Read(iprot thrift.TProtocol) (err error)
- func (p *DeleteTaskReq) ReadField1(iprot thrift.TProtocol) error
- func (p *DeleteTaskReq) String() string
- func (p *DeleteTaskReq) Write(oprot thrift.TProtocol) (err error)
- type DeleteTaskResp
- func (p *DeleteTaskResp) GetSuccess() (v bool)
- func (p *DeleteTaskResp) InitDefault()
- func (p *DeleteTaskResp) Read(iprot thrift.TProtocol) (err error)
- func (p *DeleteTaskResp) ReadField1(iprot thrift.TProtocol) error
- func (p *DeleteTaskResp) String() string
- func (p *DeleteTaskResp) Write(oprot thrift.TProtocol) (err error)
- type GetTaskReq
- type GetTaskResp
- func (p *GetTaskResp) GetTask() (v *SyncTaskInfo)
- func (p *GetTaskResp) InitDefault()
- func (p *GetTaskResp) IsSetTask() bool
- func (p *GetTaskResp) Read(iprot thrift.TProtocol) (err error)
- func (p *GetTaskResp) ReadField1(iprot thrift.TProtocol) error
- func (p *GetTaskResp) String() string
- func (p *GetTaskResp) Write(oprot thrift.TProtocol) (err error)
- type ListHistoryReq
- func (p *ListHistoryReq) GetLimit() (v int32)
- func (p *ListHistoryReq) GetTaskKey() (v string)
- func (p *ListHistoryReq) InitDefault()
- func (p *ListHistoryReq) Read(iprot thrift.TProtocol) (err error)
- func (p *ListHistoryReq) ReadField1(iprot thrift.TProtocol) error
- func (p *ListHistoryReq) ReadField2(iprot thrift.TProtocol) error
- func (p *ListHistoryReq) String() string
- func (p *ListHistoryReq) Write(oprot thrift.TProtocol) (err error)
- type ListHistoryResp
- func (p *ListHistoryResp) GetRuns() (v []*SyncRunInfo)
- func (p *ListHistoryResp) InitDefault()
- func (p *ListHistoryResp) Read(iprot thrift.TProtocol) (err error)
- func (p *ListHistoryResp) ReadField1(iprot thrift.TProtocol) error
- func (p *ListHistoryResp) String() string
- func (p *ListHistoryResp) Write(oprot thrift.TProtocol) (err error)
- type ListTasksReq
- func (p *ListTasksReq) GetPage() (v int32)
- func (p *ListTasksReq) GetPageSize() (v int32)
- func (p *ListTasksReq) GetRepoKey() (v string)
- func (p *ListTasksReq) InitDefault()
- func (p *ListTasksReq) Read(iprot thrift.TProtocol) (err error)
- func (p *ListTasksReq) ReadField1(iprot thrift.TProtocol) error
- func (p *ListTasksReq) ReadField2(iprot thrift.TProtocol) error
- func (p *ListTasksReq) ReadField3(iprot thrift.TProtocol) error
- func (p *ListTasksReq) String() string
- func (p *ListTasksReq) Write(oprot thrift.TProtocol) (err error)
- type ListTasksResp
- func (p *ListTasksResp) GetTasks() (v []*SyncTaskInfo)
- func (p *ListTasksResp) GetTotal() (v int64)
- func (p *ListTasksResp) InitDefault()
- func (p *ListTasksResp) Read(iprot thrift.TProtocol) (err error)
- func (p *ListTasksResp) ReadField1(iprot thrift.TProtocol) error
- func (p *ListTasksResp) ReadField2(iprot thrift.TProtocol) error
- func (p *ListTasksResp) String() string
- func (p *ListTasksResp) Write(oprot thrift.TProtocol) (err error)
- type PreviewSyncReq
- func (p *PreviewSyncReq) GetSourceBranch() (v string)
- func (p *PreviewSyncReq) GetSourceRepoKey() (v string)
- func (p *PreviewSyncReq) GetTargetBranch() (v string)
- func (p *PreviewSyncReq) GetTargetRepoKey() (v string)
- func (p *PreviewSyncReq) InitDefault()
- func (p *PreviewSyncReq) Read(iprot thrift.TProtocol) (err error)
- func (p *PreviewSyncReq) ReadField1(iprot thrift.TProtocol) error
- func (p *PreviewSyncReq) ReadField2(iprot thrift.TProtocol) error
- func (p *PreviewSyncReq) ReadField3(iprot thrift.TProtocol) error
- func (p *PreviewSyncReq) ReadField4(iprot thrift.TProtocol) error
- func (p *PreviewSyncReq) String() string
- func (p *PreviewSyncReq) Write(oprot thrift.TProtocol) (err error)
- type PreviewSyncResp
- func (p *PreviewSyncResp) GetCanSync() (v bool)
- func (p *PreviewSyncResp) GetMessage() (v string)
- func (p *PreviewSyncResp) GetSourceExists() (v bool)
- func (p *PreviewSyncResp) GetTargetExists() (v bool)
- func (p *PreviewSyncResp) InitDefault()
- func (p *PreviewSyncResp) Read(iprot thrift.TProtocol) (err error)
- func (p *PreviewSyncResp) ReadField1(iprot thrift.TProtocol) error
- func (p *PreviewSyncResp) ReadField2(iprot thrift.TProtocol) error
- func (p *PreviewSyncResp) ReadField3(iprot thrift.TProtocol) error
- func (p *PreviewSyncResp) ReadField6(iprot thrift.TProtocol) error
- func (p *PreviewSyncResp) String() string
- func (p *PreviewSyncResp) Write(oprot thrift.TProtocol) (err error)
- type RunTaskReq
- type RunTaskResp
- func (p *RunTaskResp) GetMessage() (v string)
- func (p *RunTaskResp) GetSuccess() (v bool)
- func (p *RunTaskResp) InitDefault()
- func (p *RunTaskResp) Read(iprot thrift.TProtocol) (err error)
- func (p *RunTaskResp) ReadField1(iprot thrift.TProtocol) error
- func (p *RunTaskResp) ReadField2(iprot thrift.TProtocol) error
- func (p *RunTaskResp) String() string
- func (p *RunTaskResp) Write(oprot thrift.TProtocol) (err error)
- type SyncRunInfo
- func (p *SyncRunInfo) GetCommitRange() (v string)
- func (p *SyncRunInfo) GetCreatedAt() (v string)
- func (p *SyncRunInfo) GetDetails() (v string)
- func (p *SyncRunInfo) GetDurationMs() (v int64)
- func (p *SyncRunInfo) GetEndTime() (v string)
- func (p *SyncRunInfo) GetErrorMessage() (v string)
- func (p *SyncRunInfo) GetErrorType() (v string)
- func (p *SyncRunInfo) GetID() (v int64)
- func (p *SyncRunInfo) GetRetryTotal() (v int32)
- func (p *SyncRunInfo) GetStartTime() (v string)
- func (p *SyncRunInfo) GetStatus() (v string)
- func (p *SyncRunInfo) GetSteps() (v []*SyncRunStepInfo)
- func (p *SyncRunInfo) GetTaskKey() (v string)
- func (p *SyncRunInfo) GetTriggerSource() (v string)
- func (p *SyncRunInfo) GetWebhookEventId() (v int64)
- func (p *SyncRunInfo) InitDefault()
- func (p *SyncRunInfo) IsSetWebhookEventId() bool
- func (p *SyncRunInfo) Read(iprot thrift.TProtocol) (err error)
- func (p *SyncRunInfo) ReadField1(iprot thrift.TProtocol) error
- func (p *SyncRunInfo) ReadField2(iprot thrift.TProtocol) error
- func (p *SyncRunInfo) ReadField3(iprot thrift.TProtocol) error
- func (p *SyncRunInfo) ReadField4(iprot thrift.TProtocol) error
- func (p *SyncRunInfo) ReadField5(iprot thrift.TProtocol) error
- func (p *SyncRunInfo) ReadField6(iprot thrift.TProtocol) error
- func (p *SyncRunInfo) ReadField7(iprot thrift.TProtocol) error
- func (p *SyncRunInfo) ReadField8(iprot thrift.TProtocol) error
- func (p *SyncRunInfo) ReadField9(iprot thrift.TProtocol) error
- func (p *SyncRunInfo) ReadField10(iprot thrift.TProtocol) error
- func (p *SyncRunInfo) ReadField11(iprot thrift.TProtocol) error
- func (p *SyncRunInfo) ReadField12(iprot thrift.TProtocol) error
- func (p *SyncRunInfo) ReadField13(iprot thrift.TProtocol) error
- func (p *SyncRunInfo) ReadField14(iprot thrift.TProtocol) error
- func (p *SyncRunInfo) ReadField15(iprot thrift.TProtocol) error
- func (p *SyncRunInfo) String() string
- func (p *SyncRunInfo) Write(oprot thrift.TProtocol) (err error)
- type SyncRunStepInfo
- func (p *SyncRunStepInfo) GetDurationMs() (v int64)
- func (p *SyncRunStepInfo) GetEndTime() (v string)
- func (p *SyncRunStepInfo) GetErrorMsg() (v string)
- func (p *SyncRunStepInfo) GetErrorType() (v string)
- func (p *SyncRunStepInfo) GetID() (v int64)
- func (p *SyncRunStepInfo) GetRetryCount() (v int32)
- func (p *SyncRunStepInfo) GetStartTime() (v string)
- func (p *SyncRunStepInfo) GetStatus() (v string)
- func (p *SyncRunStepInfo) GetStepName() (v string)
- func (p *SyncRunStepInfo) InitDefault()
- func (p *SyncRunStepInfo) Read(iprot thrift.TProtocol) (err error)
- func (p *SyncRunStepInfo) ReadField1(iprot thrift.TProtocol) error
- func (p *SyncRunStepInfo) ReadField2(iprot thrift.TProtocol) error
- func (p *SyncRunStepInfo) ReadField3(iprot thrift.TProtocol) error
- func (p *SyncRunStepInfo) ReadField4(iprot thrift.TProtocol) error
- func (p *SyncRunStepInfo) ReadField5(iprot thrift.TProtocol) error
- func (p *SyncRunStepInfo) ReadField6(iprot thrift.TProtocol) error
- func (p *SyncRunStepInfo) ReadField7(iprot thrift.TProtocol) error
- func (p *SyncRunStepInfo) ReadField8(iprot thrift.TProtocol) error
- func (p *SyncRunStepInfo) ReadField9(iprot thrift.TProtocol) error
- func (p *SyncRunStepInfo) String() string
- func (p *SyncRunStepInfo) Write(oprot thrift.TProtocol) (err error)
- type SyncTaskInfo
- func (p *SyncTaskInfo) GetCreatedAt() (v string)
- func (p *SyncTaskInfo) GetCron() (v string)
- func (p *SyncTaskInfo) GetEnabled() (v bool)
- func (p *SyncTaskInfo) GetGitForce() (v bool)
- func (p *SyncTaskInfo) GetGitPrune() (v bool)
- func (p *SyncTaskInfo) GetGitTags() (v bool)
- func (p *SyncTaskInfo) GetID() (v int64)
- func (p *SyncTaskInfo) GetKey() (v string)
- func (p *SyncTaskInfo) GetLastRunAt() (v string)
- func (p *SyncTaskInfo) GetLastStatus() (v string)
- func (p *SyncTaskInfo) GetName() (v string)
- func (p *SyncTaskInfo) GetSourceBranch() (v string)
- func (p *SyncTaskInfo) GetSourceRepoKey() (v string)
- func (p *SyncTaskInfo) GetSyncMode() (v string)
- func (p *SyncTaskInfo) GetTargetBranch() (v string)
- func (p *SyncTaskInfo) GetTargetRepoKey() (v string)
- func (p *SyncTaskInfo) GetWebhookToken() (v string)
- func (p *SyncTaskInfo) InitDefault()
- func (p *SyncTaskInfo) Read(iprot thrift.TProtocol) (err error)
- func (p *SyncTaskInfo) ReadField1(iprot thrift.TProtocol) error
- func (p *SyncTaskInfo) ReadField2(iprot thrift.TProtocol) error
- func (p *SyncTaskInfo) ReadField3(iprot thrift.TProtocol) error
- func (p *SyncTaskInfo) ReadField4(iprot thrift.TProtocol) error
- func (p *SyncTaskInfo) ReadField5(iprot thrift.TProtocol) error
- func (p *SyncTaskInfo) ReadField6(iprot thrift.TProtocol) error
- func (p *SyncTaskInfo) ReadField7(iprot thrift.TProtocol) error
- func (p *SyncTaskInfo) ReadField8(iprot thrift.TProtocol) error
- func (p *SyncTaskInfo) ReadField9(iprot thrift.TProtocol) error
- func (p *SyncTaskInfo) ReadField10(iprot thrift.TProtocol) error
- func (p *SyncTaskInfo) ReadField11(iprot thrift.TProtocol) error
- func (p *SyncTaskInfo) ReadField12(iprot thrift.TProtocol) error
- func (p *SyncTaskInfo) ReadField13(iprot thrift.TProtocol) error
- func (p *SyncTaskInfo) ReadField14(iprot thrift.TProtocol) error
- func (p *SyncTaskInfo) ReadField16(iprot thrift.TProtocol) error
- func (p *SyncTaskInfo) ReadField17(iprot thrift.TProtocol) error
- func (p *SyncTaskInfo) ReadField18(iprot thrift.TProtocol) error
- func (p *SyncTaskInfo) String() string
- func (p *SyncTaskInfo) Write(oprot thrift.TProtocol) (err error)
- type UpdateTaskReq
- func (p *UpdateTaskReq) GetCron() (v string)
- func (p *UpdateTaskReq) GetEnabled() (v bool)
- func (p *UpdateTaskReq) GetGitForce() (v bool)
- func (p *UpdateTaskReq) GetGitPrune() (v bool)
- func (p *UpdateTaskReq) GetGitTags() (v bool)
- func (p *UpdateTaskReq) GetKey() (v string)
- func (p *UpdateTaskReq) GetName() (v string)
- func (p *UpdateTaskReq) GetSourceBranch() (v string)
- func (p *UpdateTaskReq) GetSyncMode() (v string)
- func (p *UpdateTaskReq) GetTargetBranch() (v string)
- func (p *UpdateTaskReq) InitDefault()
- func (p *UpdateTaskReq) Read(iprot thrift.TProtocol) (err error)
- func (p *UpdateTaskReq) ReadField1(iprot thrift.TProtocol) error
- func (p *UpdateTaskReq) ReadField2(iprot thrift.TProtocol) error
- func (p *UpdateTaskReq) ReadField3(iprot thrift.TProtocol) error
- func (p *UpdateTaskReq) ReadField4(iprot thrift.TProtocol) error
- func (p *UpdateTaskReq) ReadField5(iprot thrift.TProtocol) error
- func (p *UpdateTaskReq) ReadField6(iprot thrift.TProtocol) error
- func (p *UpdateTaskReq) ReadField7(iprot thrift.TProtocol) error
- func (p *UpdateTaskReq) ReadField8(iprot thrift.TProtocol) error
- func (p *UpdateTaskReq) ReadField9(iprot thrift.TProtocol) error
- func (p *UpdateTaskReq) ReadField10(iprot thrift.TProtocol) error
- func (p *UpdateTaskReq) String() string
- func (p *UpdateTaskReq) Write(oprot thrift.TProtocol) (err error)
- type UpdateTaskResp
- func (p *UpdateTaskResp) GetTask() (v *SyncTaskInfo)
- func (p *UpdateTaskResp) InitDefault()
- func (p *UpdateTaskResp) IsSetTask() bool
- func (p *UpdateTaskResp) Read(iprot thrift.TProtocol) (err error)
- func (p *UpdateTaskResp) ReadField1(iprot thrift.TProtocol) error
- func (p *UpdateTaskResp) String() string
- func (p *UpdateTaskResp) Write(oprot thrift.TProtocol) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var SyncRunInfo_WebhookEventId_DEFAULT int64
Functions ¶
This section is empty.
Types ¶
type CreateTaskReq ¶
type CreateTaskReq struct {
Name string `thrift:"name,1" form:"name" json:"name" query:"name"`
SourceRepoKey string `thrift:"sourceRepoKey,2" form:"source_repo_key" json:"source_repo_key" query:"source_repo_key"`
SourceBranch string `thrift:"sourceBranch,3" form:"source_branch" json:"source_branch" query:"source_branch"`
TargetRepoKey string `thrift:"targetRepoKey,4" form:"target_repo_key" json:"target_repo_key" query:"target_repo_key"`
TargetBranch string `thrift:"targetBranch,5" form:"target_branch" json:"target_branch" query:"target_branch"`
SyncMode string `thrift:"syncMode,6" form:"sync_mode" json:"sync_mode" query:"sync_mode"`
Cron string `thrift:"cron,7" form:"cron" json:"cron" query:"cron"`
GitTags bool `thrift:"gitTags,8" form:"git_tags" json:"git_tags" query:"git_tags"`
GitForce bool `thrift:"gitForce,9" form:"git_force" json:"git_force" query:"git_force"`
GitPrune bool `thrift:"gitPrune,10" form:"git_prune" json:"git_prune" query:"git_prune"`
}
func NewCreateTaskReq ¶
func NewCreateTaskReq() *CreateTaskReq
func (*CreateTaskReq) GetCron ¶
func (p *CreateTaskReq) GetCron() (v string)
func (*CreateTaskReq) GetGitForce ¶
func (p *CreateTaskReq) GetGitForce() (v bool)
func (*CreateTaskReq) GetGitPrune ¶
func (p *CreateTaskReq) GetGitPrune() (v bool)
func (*CreateTaskReq) GetGitTags ¶
func (p *CreateTaskReq) GetGitTags() (v bool)
func (*CreateTaskReq) GetName ¶
func (p *CreateTaskReq) GetName() (v string)
func (*CreateTaskReq) GetSourceBranch ¶
func (p *CreateTaskReq) GetSourceBranch() (v string)
func (*CreateTaskReq) GetSourceRepoKey ¶
func (p *CreateTaskReq) GetSourceRepoKey() (v string)
func (*CreateTaskReq) GetSyncMode ¶
func (p *CreateTaskReq) GetSyncMode() (v string)
func (*CreateTaskReq) GetTargetBranch ¶
func (p *CreateTaskReq) GetTargetBranch() (v string)
func (*CreateTaskReq) GetTargetRepoKey ¶
func (p *CreateTaskReq) GetTargetRepoKey() (v string)
func (*CreateTaskReq) InitDefault ¶
func (p *CreateTaskReq) InitDefault()
func (*CreateTaskReq) ReadField1 ¶
func (p *CreateTaskReq) ReadField1(iprot thrift.TProtocol) error
func (*CreateTaskReq) ReadField2 ¶
func (p *CreateTaskReq) ReadField2(iprot thrift.TProtocol) error
func (*CreateTaskReq) ReadField3 ¶
func (p *CreateTaskReq) ReadField3(iprot thrift.TProtocol) error
func (*CreateTaskReq) ReadField4 ¶
func (p *CreateTaskReq) ReadField4(iprot thrift.TProtocol) error
func (*CreateTaskReq) ReadField5 ¶
func (p *CreateTaskReq) ReadField5(iprot thrift.TProtocol) error
func (*CreateTaskReq) ReadField6 ¶
func (p *CreateTaskReq) ReadField6(iprot thrift.TProtocol) error
func (*CreateTaskReq) ReadField7 ¶
func (p *CreateTaskReq) ReadField7(iprot thrift.TProtocol) error
func (*CreateTaskReq) ReadField8 ¶
func (p *CreateTaskReq) ReadField8(iprot thrift.TProtocol) error
func (*CreateTaskReq) ReadField9 ¶
func (p *CreateTaskReq) ReadField9(iprot thrift.TProtocol) error
func (*CreateTaskReq) ReadField10 ¶
func (p *CreateTaskReq) ReadField10(iprot thrift.TProtocol) error
func (*CreateTaskReq) String ¶
func (p *CreateTaskReq) String() string
type CreateTaskResp ¶
type CreateTaskResp struct {
Task *SyncTaskInfo `thrift:"task,1" form:"task" json:"task" query:"task"`
}
func NewCreateTaskResp ¶
func NewCreateTaskResp() *CreateTaskResp
func (*CreateTaskResp) GetTask ¶
func (p *CreateTaskResp) GetTask() (v *SyncTaskInfo)
func (*CreateTaskResp) InitDefault ¶
func (p *CreateTaskResp) InitDefault()
func (*CreateTaskResp) IsSetTask ¶
func (p *CreateTaskResp) IsSetTask() bool
func (*CreateTaskResp) ReadField1 ¶
func (p *CreateTaskResp) ReadField1(iprot thrift.TProtocol) error
func (*CreateTaskResp) String ¶
func (p *CreateTaskResp) String() string
type DeleteTaskReq ¶
type DeleteTaskReq struct {
Key string `thrift:"key,1" json:"key" query:"key"`
}
func NewDeleteTaskReq ¶
func NewDeleteTaskReq() *DeleteTaskReq
func (*DeleteTaskReq) GetKey ¶
func (p *DeleteTaskReq) GetKey() (v string)
func (*DeleteTaskReq) InitDefault ¶
func (p *DeleteTaskReq) InitDefault()
func (*DeleteTaskReq) ReadField1 ¶
func (p *DeleteTaskReq) ReadField1(iprot thrift.TProtocol) error
func (*DeleteTaskReq) String ¶
func (p *DeleteTaskReq) String() string
type DeleteTaskResp ¶
type DeleteTaskResp struct {
Success bool `thrift:"success,1" form:"success" json:"success" query:"success"`
}
func NewDeleteTaskResp ¶
func NewDeleteTaskResp() *DeleteTaskResp
func (*DeleteTaskResp) GetSuccess ¶
func (p *DeleteTaskResp) GetSuccess() (v bool)
func (*DeleteTaskResp) InitDefault ¶
func (p *DeleteTaskResp) InitDefault()
func (*DeleteTaskResp) ReadField1 ¶
func (p *DeleteTaskResp) ReadField1(iprot thrift.TProtocol) error
func (*DeleteTaskResp) String ¶
func (p *DeleteTaskResp) String() string
type GetTaskReq ¶
type GetTaskReq struct {
Key string `thrift:"key,1" json:"key" query:"key"`
}
func NewGetTaskReq ¶
func NewGetTaskReq() *GetTaskReq
func (*GetTaskReq) GetKey ¶
func (p *GetTaskReq) GetKey() (v string)
func (*GetTaskReq) InitDefault ¶
func (p *GetTaskReq) InitDefault()
func (*GetTaskReq) ReadField1 ¶
func (p *GetTaskReq) ReadField1(iprot thrift.TProtocol) error
func (*GetTaskReq) String ¶
func (p *GetTaskReq) String() string
type GetTaskResp ¶
type GetTaskResp struct {
Task *SyncTaskInfo `thrift:"task,1" form:"task" json:"task" query:"task"`
}
func NewGetTaskResp ¶
func NewGetTaskResp() *GetTaskResp
func (*GetTaskResp) GetTask ¶
func (p *GetTaskResp) GetTask() (v *SyncTaskInfo)
func (*GetTaskResp) InitDefault ¶
func (p *GetTaskResp) InitDefault()
func (*GetTaskResp) IsSetTask ¶
func (p *GetTaskResp) IsSetTask() bool
func (*GetTaskResp) ReadField1 ¶
func (p *GetTaskResp) ReadField1(iprot thrift.TProtocol) error
func (*GetTaskResp) String ¶
func (p *GetTaskResp) String() string
type ListHistoryReq ¶
type ListHistoryReq struct {
TaskKey string `thrift:"taskKey,1" json:"task_key" query:"task_key"`
Limit int32 `thrift:"limit,2" json:"limit" query:"limit"`
}
func NewListHistoryReq ¶
func NewListHistoryReq() *ListHistoryReq
func (*ListHistoryReq) GetLimit ¶
func (p *ListHistoryReq) GetLimit() (v int32)
func (*ListHistoryReq) GetTaskKey ¶
func (p *ListHistoryReq) GetTaskKey() (v string)
func (*ListHistoryReq) InitDefault ¶
func (p *ListHistoryReq) InitDefault()
func (*ListHistoryReq) ReadField1 ¶
func (p *ListHistoryReq) ReadField1(iprot thrift.TProtocol) error
func (*ListHistoryReq) ReadField2 ¶
func (p *ListHistoryReq) ReadField2(iprot thrift.TProtocol) error
func (*ListHistoryReq) String ¶
func (p *ListHistoryReq) String() string
type ListHistoryResp ¶
type ListHistoryResp struct {
Runs []*SyncRunInfo `thrift:"runs,1,default,list<SyncRunInfo>" form:"runs" json:"runs" query:"runs"`
}
func NewListHistoryResp ¶
func NewListHistoryResp() *ListHistoryResp
func (*ListHistoryResp) GetRuns ¶
func (p *ListHistoryResp) GetRuns() (v []*SyncRunInfo)
func (*ListHistoryResp) InitDefault ¶
func (p *ListHistoryResp) InitDefault()
func (*ListHistoryResp) ReadField1 ¶
func (p *ListHistoryResp) ReadField1(iprot thrift.TProtocol) error
func (*ListHistoryResp) String ¶
func (p *ListHistoryResp) String() string
type ListTasksReq ¶
type ListTasksReq struct {
RepoKey string `thrift:"repoKey,1" json:"repo_key" query:"repo_key"`
Page int32 `thrift:"page,2" json:"page" query:"page"`
PageSize int32 `thrift:"pageSize,3" json:"page_size" query:"page_size"`
}
func NewListTasksReq ¶
func NewListTasksReq() *ListTasksReq
func (*ListTasksReq) GetPage ¶
func (p *ListTasksReq) GetPage() (v int32)
func (*ListTasksReq) GetPageSize ¶
func (p *ListTasksReq) GetPageSize() (v int32)
func (*ListTasksReq) GetRepoKey ¶
func (p *ListTasksReq) GetRepoKey() (v string)
func (*ListTasksReq) InitDefault ¶
func (p *ListTasksReq) InitDefault()
func (*ListTasksReq) ReadField1 ¶
func (p *ListTasksReq) ReadField1(iprot thrift.TProtocol) error
func (*ListTasksReq) ReadField2 ¶
func (p *ListTasksReq) ReadField2(iprot thrift.TProtocol) error
func (*ListTasksReq) ReadField3 ¶
func (p *ListTasksReq) ReadField3(iprot thrift.TProtocol) error
func (*ListTasksReq) String ¶
func (p *ListTasksReq) String() string
type ListTasksResp ¶
type ListTasksResp struct {
Tasks []*SyncTaskInfo `thrift:"tasks,1,default,list<SyncTaskInfo>" form:"tasks" json:"tasks" query:"tasks"`
Total int64 `thrift:"total,2" form:"total" json:"total" query:"total"`
}
func NewListTasksResp ¶
func NewListTasksResp() *ListTasksResp
func (*ListTasksResp) GetTasks ¶
func (p *ListTasksResp) GetTasks() (v []*SyncTaskInfo)
func (*ListTasksResp) GetTotal ¶
func (p *ListTasksResp) GetTotal() (v int64)
func (*ListTasksResp) InitDefault ¶
func (p *ListTasksResp) InitDefault()
func (*ListTasksResp) ReadField1 ¶
func (p *ListTasksResp) ReadField1(iprot thrift.TProtocol) error
func (*ListTasksResp) ReadField2 ¶
func (p *ListTasksResp) ReadField2(iprot thrift.TProtocol) error
func (*ListTasksResp) String ¶
func (p *ListTasksResp) String() string
type PreviewSyncReq ¶
type PreviewSyncReq struct {
SourceRepoKey string `thrift:"sourceRepoKey,1" form:"source_repo_key" json:"source_repo_key" query:"source_repo_key"`
SourceBranch string `thrift:"sourceBranch,2" form:"source_branch" json:"source_branch" query:"source_branch"`
TargetRepoKey string `thrift:"targetRepoKey,3" form:"target_repo_key" json:"target_repo_key" query:"target_repo_key"`
TargetBranch string `thrift:"targetBranch,4" form:"target_branch" json:"target_branch" query:"target_branch"`
}
func NewPreviewSyncReq ¶
func NewPreviewSyncReq() *PreviewSyncReq
func (*PreviewSyncReq) GetSourceBranch ¶
func (p *PreviewSyncReq) GetSourceBranch() (v string)
func (*PreviewSyncReq) GetSourceRepoKey ¶
func (p *PreviewSyncReq) GetSourceRepoKey() (v string)
func (*PreviewSyncReq) GetTargetBranch ¶
func (p *PreviewSyncReq) GetTargetBranch() (v string)
func (*PreviewSyncReq) GetTargetRepoKey ¶
func (p *PreviewSyncReq) GetTargetRepoKey() (v string)
func (*PreviewSyncReq) InitDefault ¶
func (p *PreviewSyncReq) InitDefault()
func (*PreviewSyncReq) ReadField1 ¶
func (p *PreviewSyncReq) ReadField1(iprot thrift.TProtocol) error
func (*PreviewSyncReq) ReadField2 ¶
func (p *PreviewSyncReq) ReadField2(iprot thrift.TProtocol) error
func (*PreviewSyncReq) ReadField3 ¶
func (p *PreviewSyncReq) ReadField3(iprot thrift.TProtocol) error
func (*PreviewSyncReq) ReadField4 ¶
func (p *PreviewSyncReq) ReadField4(iprot thrift.TProtocol) error
func (*PreviewSyncReq) String ¶
func (p *PreviewSyncReq) String() string
type PreviewSyncResp ¶
type PreviewSyncResp struct {
CanSync bool `thrift:"canSync,1" form:"can_sync" json:"can_sync" query:"can_sync"`
SourceExists bool `thrift:"sourceExists,2" form:"source_exists" json:"source_exists" query:"source_exists"`
TargetExists bool `thrift:"targetExists,3" form:"target_exists" json:"target_exists" query:"target_exists"`
Message string `thrift:"message,6" form:"message" json:"message" query:"message"`
}
func NewPreviewSyncResp ¶
func NewPreviewSyncResp() *PreviewSyncResp
func (*PreviewSyncResp) GetCanSync ¶
func (p *PreviewSyncResp) GetCanSync() (v bool)
func (*PreviewSyncResp) GetMessage ¶
func (p *PreviewSyncResp) GetMessage() (v string)
func (*PreviewSyncResp) GetSourceExists ¶
func (p *PreviewSyncResp) GetSourceExists() (v bool)
func (*PreviewSyncResp) GetTargetExists ¶
func (p *PreviewSyncResp) GetTargetExists() (v bool)
func (*PreviewSyncResp) InitDefault ¶
func (p *PreviewSyncResp) InitDefault()
func (*PreviewSyncResp) ReadField1 ¶
func (p *PreviewSyncResp) ReadField1(iprot thrift.TProtocol) error
func (*PreviewSyncResp) ReadField2 ¶
func (p *PreviewSyncResp) ReadField2(iprot thrift.TProtocol) error
func (*PreviewSyncResp) ReadField3 ¶
func (p *PreviewSyncResp) ReadField3(iprot thrift.TProtocol) error
func (*PreviewSyncResp) ReadField6 ¶
func (p *PreviewSyncResp) ReadField6(iprot thrift.TProtocol) error
func (*PreviewSyncResp) String ¶
func (p *PreviewSyncResp) String() string
type RunTaskReq ¶
type RunTaskReq struct {
Key string `thrift:"key,1" json:"key" query:"key"`
}
func NewRunTaskReq ¶
func NewRunTaskReq() *RunTaskReq
func (*RunTaskReq) GetKey ¶
func (p *RunTaskReq) GetKey() (v string)
func (*RunTaskReq) InitDefault ¶
func (p *RunTaskReq) InitDefault()
func (*RunTaskReq) ReadField1 ¶
func (p *RunTaskReq) ReadField1(iprot thrift.TProtocol) error
func (*RunTaskReq) String ¶
func (p *RunTaskReq) String() string
type RunTaskResp ¶
type RunTaskResp struct {
Success bool `thrift:"success,1" form:"success" json:"success" query:"success"`
Message string `thrift:"message,2" form:"message" json:"message" query:"message"`
}
func NewRunTaskResp ¶
func NewRunTaskResp() *RunTaskResp
func (*RunTaskResp) GetMessage ¶
func (p *RunTaskResp) GetMessage() (v string)
func (*RunTaskResp) GetSuccess ¶
func (p *RunTaskResp) GetSuccess() (v bool)
func (*RunTaskResp) InitDefault ¶
func (p *RunTaskResp) InitDefault()
func (*RunTaskResp) ReadField1 ¶
func (p *RunTaskResp) ReadField1(iprot thrift.TProtocol) error
func (*RunTaskResp) ReadField2 ¶
func (p *RunTaskResp) ReadField2(iprot thrift.TProtocol) error
func (*RunTaskResp) String ¶
func (p *RunTaskResp) String() string
type SyncRunInfo ¶
type SyncRunInfo struct {
ID int64 `thrift:"id,1" form:"id" json:"id" query:"id"`
TaskKey string `thrift:"taskKey,2" form:"task_key" json:"task_key" query:"task_key"`
TriggerSource string `thrift:"triggerSource,3" form:"trigger_source" json:"trigger_source" query:"trigger_source"`
Status string `thrift:"status,4" form:"status" json:"status" query:"status"`
StartTime string `thrift:"startTime,5" form:"start_time" json:"start_time" query:"start_time"`
EndTime string `thrift:"endTime,6" form:"end_time" json:"end_time" query:"end_time"`
CommitRange string `thrift:"commitRange,7" form:"commit_range" json:"commit_range" query:"commit_range"`
Details string `thrift:"details,8" form:"details" json:"details" query:"details"`
ErrorMessage string `thrift:"errorMessage,9" form:"error_message" json:"error_message" query:"error_message"`
CreatedAt string `thrift:"createdAt,10" form:"created_at" json:"created_at" query:"created_at"`
WebhookEventId *int64 `thrift:"webhookEventId,11,optional" form:"webhook_event_id" json:"webhook_event_id" query:"webhook_event_id"`
DurationMs int64 `thrift:"durationMs,12" form:"duration_ms" json:"duration_ms" query:"duration_ms"`
ErrorType string `thrift:"errorType,13" form:"error_type" json:"error_type" query:"error_type"`
RetryTotal int32 `thrift:"retryTotal,14" form:"retry_total" json:"retry_total" query:"retry_total"`
Steps []*SyncRunStepInfo `thrift:"steps,15,default,list<SyncRunStepInfo>" form:"steps" json:"steps" query:"steps"`
}
func NewSyncRunInfo ¶
func NewSyncRunInfo() *SyncRunInfo
func (*SyncRunInfo) GetCommitRange ¶
func (p *SyncRunInfo) GetCommitRange() (v string)
func (*SyncRunInfo) GetCreatedAt ¶
func (p *SyncRunInfo) GetCreatedAt() (v string)
func (*SyncRunInfo) GetDetails ¶
func (p *SyncRunInfo) GetDetails() (v string)
func (*SyncRunInfo) GetDurationMs ¶
func (p *SyncRunInfo) GetDurationMs() (v int64)
func (*SyncRunInfo) GetEndTime ¶
func (p *SyncRunInfo) GetEndTime() (v string)
func (*SyncRunInfo) GetErrorMessage ¶
func (p *SyncRunInfo) GetErrorMessage() (v string)
func (*SyncRunInfo) GetErrorType ¶
func (p *SyncRunInfo) GetErrorType() (v string)
func (*SyncRunInfo) GetID ¶
func (p *SyncRunInfo) GetID() (v int64)
func (*SyncRunInfo) GetRetryTotal ¶
func (p *SyncRunInfo) GetRetryTotal() (v int32)
func (*SyncRunInfo) GetStartTime ¶
func (p *SyncRunInfo) GetStartTime() (v string)
func (*SyncRunInfo) GetStatus ¶
func (p *SyncRunInfo) GetStatus() (v string)
func (*SyncRunInfo) GetSteps ¶
func (p *SyncRunInfo) GetSteps() (v []*SyncRunStepInfo)
func (*SyncRunInfo) GetTaskKey ¶
func (p *SyncRunInfo) GetTaskKey() (v string)
func (*SyncRunInfo) GetTriggerSource ¶
func (p *SyncRunInfo) GetTriggerSource() (v string)
func (*SyncRunInfo) GetWebhookEventId ¶
func (p *SyncRunInfo) GetWebhookEventId() (v int64)
func (*SyncRunInfo) InitDefault ¶
func (p *SyncRunInfo) InitDefault()
func (*SyncRunInfo) IsSetWebhookEventId ¶
func (p *SyncRunInfo) IsSetWebhookEventId() bool
func (*SyncRunInfo) ReadField1 ¶
func (p *SyncRunInfo) ReadField1(iprot thrift.TProtocol) error
func (*SyncRunInfo) ReadField2 ¶
func (p *SyncRunInfo) ReadField2(iprot thrift.TProtocol) error
func (*SyncRunInfo) ReadField3 ¶
func (p *SyncRunInfo) ReadField3(iprot thrift.TProtocol) error
func (*SyncRunInfo) ReadField4 ¶
func (p *SyncRunInfo) ReadField4(iprot thrift.TProtocol) error
func (*SyncRunInfo) ReadField5 ¶
func (p *SyncRunInfo) ReadField5(iprot thrift.TProtocol) error
func (*SyncRunInfo) ReadField6 ¶
func (p *SyncRunInfo) ReadField6(iprot thrift.TProtocol) error
func (*SyncRunInfo) ReadField7 ¶
func (p *SyncRunInfo) ReadField7(iprot thrift.TProtocol) error
func (*SyncRunInfo) ReadField8 ¶
func (p *SyncRunInfo) ReadField8(iprot thrift.TProtocol) error
func (*SyncRunInfo) ReadField9 ¶
func (p *SyncRunInfo) ReadField9(iprot thrift.TProtocol) error
func (*SyncRunInfo) ReadField10 ¶
func (p *SyncRunInfo) ReadField10(iprot thrift.TProtocol) error
func (*SyncRunInfo) ReadField11 ¶
func (p *SyncRunInfo) ReadField11(iprot thrift.TProtocol) error
func (*SyncRunInfo) ReadField12 ¶
func (p *SyncRunInfo) ReadField12(iprot thrift.TProtocol) error
func (*SyncRunInfo) ReadField13 ¶
func (p *SyncRunInfo) ReadField13(iprot thrift.TProtocol) error
func (*SyncRunInfo) ReadField14 ¶
func (p *SyncRunInfo) ReadField14(iprot thrift.TProtocol) error
func (*SyncRunInfo) ReadField15 ¶
func (p *SyncRunInfo) ReadField15(iprot thrift.TProtocol) error
func (*SyncRunInfo) String ¶
func (p *SyncRunInfo) String() string
type SyncRunStepInfo ¶
type SyncRunStepInfo struct {
ID int64 `thrift:"id,1" form:"id" json:"id" query:"id"`
StepName string `thrift:"stepName,2" form:"step_name" json:"step_name" query:"step_name"`
Status string `thrift:"status,3" form:"status" json:"status" query:"status"`
StartTime string `thrift:"startTime,4" form:"start_time" json:"start_time" query:"start_time"`
EndTime string `thrift:"endTime,5" form:"end_time" json:"end_time" query:"end_time"`
DurationMs int64 `thrift:"durationMs,6" form:"duration_ms" json:"duration_ms" query:"duration_ms"`
ErrorMsg string `thrift:"errorMsg,7" form:"error_msg" json:"error_msg" query:"error_msg"`
ErrorType string `thrift:"errorType,8" form:"error_type" json:"error_type" query:"error_type"`
RetryCount int32 `thrift:"retryCount,9" form:"retry_count" json:"retry_count" query:"retry_count"`
}
func NewSyncRunStepInfo ¶
func NewSyncRunStepInfo() *SyncRunStepInfo
func (*SyncRunStepInfo) GetDurationMs ¶
func (p *SyncRunStepInfo) GetDurationMs() (v int64)
func (*SyncRunStepInfo) GetEndTime ¶
func (p *SyncRunStepInfo) GetEndTime() (v string)
func (*SyncRunStepInfo) GetErrorMsg ¶
func (p *SyncRunStepInfo) GetErrorMsg() (v string)
func (*SyncRunStepInfo) GetErrorType ¶
func (p *SyncRunStepInfo) GetErrorType() (v string)
func (*SyncRunStepInfo) GetID ¶
func (p *SyncRunStepInfo) GetID() (v int64)
func (*SyncRunStepInfo) GetRetryCount ¶
func (p *SyncRunStepInfo) GetRetryCount() (v int32)
func (*SyncRunStepInfo) GetStartTime ¶
func (p *SyncRunStepInfo) GetStartTime() (v string)
func (*SyncRunStepInfo) GetStatus ¶
func (p *SyncRunStepInfo) GetStatus() (v string)
func (*SyncRunStepInfo) GetStepName ¶
func (p *SyncRunStepInfo) GetStepName() (v string)
func (*SyncRunStepInfo) InitDefault ¶
func (p *SyncRunStepInfo) InitDefault()
func (*SyncRunStepInfo) ReadField1 ¶
func (p *SyncRunStepInfo) ReadField1(iprot thrift.TProtocol) error
func (*SyncRunStepInfo) ReadField2 ¶
func (p *SyncRunStepInfo) ReadField2(iprot thrift.TProtocol) error
func (*SyncRunStepInfo) ReadField3 ¶
func (p *SyncRunStepInfo) ReadField3(iprot thrift.TProtocol) error
func (*SyncRunStepInfo) ReadField4 ¶
func (p *SyncRunStepInfo) ReadField4(iprot thrift.TProtocol) error
func (*SyncRunStepInfo) ReadField5 ¶
func (p *SyncRunStepInfo) ReadField5(iprot thrift.TProtocol) error
func (*SyncRunStepInfo) ReadField6 ¶
func (p *SyncRunStepInfo) ReadField6(iprot thrift.TProtocol) error
func (*SyncRunStepInfo) ReadField7 ¶
func (p *SyncRunStepInfo) ReadField7(iprot thrift.TProtocol) error
func (*SyncRunStepInfo) ReadField8 ¶
func (p *SyncRunStepInfo) ReadField8(iprot thrift.TProtocol) error
func (*SyncRunStepInfo) ReadField9 ¶
func (p *SyncRunStepInfo) ReadField9(iprot thrift.TProtocol) error
func (*SyncRunStepInfo) String ¶
func (p *SyncRunStepInfo) String() string
type SyncTaskInfo ¶
type SyncTaskInfo struct {
ID int64 `thrift:"id,1" form:"id" json:"id" query:"id"`
Key string `thrift:"key,2" form:"key" json:"key" query:"key"`
Name string `thrift:"name,3" form:"name" json:"name" query:"name"`
SourceRepoKey string `thrift:"sourceRepoKey,4" form:"source_repo_key" json:"source_repo_key" query:"source_repo_key"`
SourceBranch string `thrift:"sourceBranch,5" form:"source_branch" json:"source_branch" query:"source_branch"`
TargetRepoKey string `thrift:"targetRepoKey,6" form:"target_repo_key" json:"target_repo_key" query:"target_repo_key"`
TargetBranch string `thrift:"targetBranch,7" form:"target_branch" json:"target_branch" query:"target_branch"`
SyncMode string `thrift:"syncMode,8" form:"sync_mode" json:"sync_mode" query:"sync_mode"`
Cron string `thrift:"cron,9" form:"cron" json:"cron" query:"cron"`
WebhookToken string `thrift:"webhookToken,10" form:"webhook_token" json:"webhook_token" query:"webhook_token"`
Enabled bool `thrift:"enabled,11" form:"enabled" json:"enabled" query:"enabled"`
GitTags bool `thrift:"gitTags,12" form:"git_tags" json:"git_tags" query:"git_tags"`
GitForce bool `thrift:"gitForce,13" form:"git_force" json:"git_force" query:"git_force"`
GitPrune bool `thrift:"gitPrune,14" form:"git_prune" json:"git_prune" query:"git_prune"`
LastRunAt string `thrift:"lastRunAt,16" form:"last_run_at" json:"last_run_at" query:"last_run_at"`
LastStatus string `thrift:"lastStatus,17" form:"last_status" json:"last_status" query:"last_status"`
CreatedAt string `thrift:"createdAt,18" form:"created_at" json:"created_at" query:"created_at"`
}
var CreateTaskResp_Task_DEFAULT *SyncTaskInfo
var GetTaskResp_Task_DEFAULT *SyncTaskInfo
var UpdateTaskResp_Task_DEFAULT *SyncTaskInfo
func NewSyncTaskInfo ¶
func NewSyncTaskInfo() *SyncTaskInfo
func (*SyncTaskInfo) GetCreatedAt ¶
func (p *SyncTaskInfo) GetCreatedAt() (v string)
func (*SyncTaskInfo) GetCron ¶
func (p *SyncTaskInfo) GetCron() (v string)
func (*SyncTaskInfo) GetEnabled ¶
func (p *SyncTaskInfo) GetEnabled() (v bool)
func (*SyncTaskInfo) GetGitForce ¶
func (p *SyncTaskInfo) GetGitForce() (v bool)
func (*SyncTaskInfo) GetGitPrune ¶
func (p *SyncTaskInfo) GetGitPrune() (v bool)
func (*SyncTaskInfo) GetGitTags ¶
func (p *SyncTaskInfo) GetGitTags() (v bool)
func (*SyncTaskInfo) GetID ¶
func (p *SyncTaskInfo) GetID() (v int64)
func (*SyncTaskInfo) GetKey ¶
func (p *SyncTaskInfo) GetKey() (v string)
func (*SyncTaskInfo) GetLastRunAt ¶
func (p *SyncTaskInfo) GetLastRunAt() (v string)
func (*SyncTaskInfo) GetLastStatus ¶
func (p *SyncTaskInfo) GetLastStatus() (v string)
func (*SyncTaskInfo) GetName ¶
func (p *SyncTaskInfo) GetName() (v string)
func (*SyncTaskInfo) GetSourceBranch ¶
func (p *SyncTaskInfo) GetSourceBranch() (v string)
func (*SyncTaskInfo) GetSourceRepoKey ¶
func (p *SyncTaskInfo) GetSourceRepoKey() (v string)
func (*SyncTaskInfo) GetSyncMode ¶
func (p *SyncTaskInfo) GetSyncMode() (v string)
func (*SyncTaskInfo) GetTargetBranch ¶
func (p *SyncTaskInfo) GetTargetBranch() (v string)
func (*SyncTaskInfo) GetTargetRepoKey ¶
func (p *SyncTaskInfo) GetTargetRepoKey() (v string)
func (*SyncTaskInfo) GetWebhookToken ¶
func (p *SyncTaskInfo) GetWebhookToken() (v string)
func (*SyncTaskInfo) InitDefault ¶
func (p *SyncTaskInfo) InitDefault()
func (*SyncTaskInfo) ReadField1 ¶
func (p *SyncTaskInfo) ReadField1(iprot thrift.TProtocol) error
func (*SyncTaskInfo) ReadField2 ¶
func (p *SyncTaskInfo) ReadField2(iprot thrift.TProtocol) error
func (*SyncTaskInfo) ReadField3 ¶
func (p *SyncTaskInfo) ReadField3(iprot thrift.TProtocol) error
func (*SyncTaskInfo) ReadField4 ¶
func (p *SyncTaskInfo) ReadField4(iprot thrift.TProtocol) error
func (*SyncTaskInfo) ReadField5 ¶
func (p *SyncTaskInfo) ReadField5(iprot thrift.TProtocol) error
func (*SyncTaskInfo) ReadField6 ¶
func (p *SyncTaskInfo) ReadField6(iprot thrift.TProtocol) error
func (*SyncTaskInfo) ReadField7 ¶
func (p *SyncTaskInfo) ReadField7(iprot thrift.TProtocol) error
func (*SyncTaskInfo) ReadField8 ¶
func (p *SyncTaskInfo) ReadField8(iprot thrift.TProtocol) error
func (*SyncTaskInfo) ReadField9 ¶
func (p *SyncTaskInfo) ReadField9(iprot thrift.TProtocol) error
func (*SyncTaskInfo) ReadField10 ¶
func (p *SyncTaskInfo) ReadField10(iprot thrift.TProtocol) error
func (*SyncTaskInfo) ReadField11 ¶
func (p *SyncTaskInfo) ReadField11(iprot thrift.TProtocol) error
func (*SyncTaskInfo) ReadField12 ¶
func (p *SyncTaskInfo) ReadField12(iprot thrift.TProtocol) error
func (*SyncTaskInfo) ReadField13 ¶
func (p *SyncTaskInfo) ReadField13(iprot thrift.TProtocol) error
func (*SyncTaskInfo) ReadField14 ¶
func (p *SyncTaskInfo) ReadField14(iprot thrift.TProtocol) error
func (*SyncTaskInfo) ReadField16 ¶
func (p *SyncTaskInfo) ReadField16(iprot thrift.TProtocol) error
func (*SyncTaskInfo) ReadField17 ¶
func (p *SyncTaskInfo) ReadField17(iprot thrift.TProtocol) error
func (*SyncTaskInfo) ReadField18 ¶
func (p *SyncTaskInfo) ReadField18(iprot thrift.TProtocol) error
func (*SyncTaskInfo) String ¶
func (p *SyncTaskInfo) String() string
type UpdateTaskReq ¶
type UpdateTaskReq struct {
Key string `thrift:"key,1" form:"key" json:"key" query:"key"`
Name string `thrift:"name,2" form:"name" json:"name" query:"name"`
SourceBranch string `thrift:"sourceBranch,3" form:"source_branch" json:"source_branch" query:"source_branch"`
TargetBranch string `thrift:"targetBranch,4" form:"target_branch" json:"target_branch" query:"target_branch"`
SyncMode string `thrift:"syncMode,5" form:"sync_mode" json:"sync_mode" query:"sync_mode"`
Cron string `thrift:"cron,6" form:"cron" json:"cron" query:"cron"`
Enabled bool `thrift:"enabled,7" form:"enabled" json:"enabled" query:"enabled"`
GitTags bool `thrift:"gitTags,8" form:"git_tags" json:"git_tags" query:"git_tags"`
GitForce bool `thrift:"gitForce,9" form:"git_force" json:"git_force" query:"git_force"`
GitPrune bool `thrift:"gitPrune,10" form:"git_prune" json:"git_prune" query:"git_prune"`
}
func NewUpdateTaskReq ¶
func NewUpdateTaskReq() *UpdateTaskReq
func (*UpdateTaskReq) GetCron ¶
func (p *UpdateTaskReq) GetCron() (v string)
func (*UpdateTaskReq) GetEnabled ¶
func (p *UpdateTaskReq) GetEnabled() (v bool)
func (*UpdateTaskReq) GetGitForce ¶
func (p *UpdateTaskReq) GetGitForce() (v bool)
func (*UpdateTaskReq) GetGitPrune ¶
func (p *UpdateTaskReq) GetGitPrune() (v bool)
func (*UpdateTaskReq) GetGitTags ¶
func (p *UpdateTaskReq) GetGitTags() (v bool)
func (*UpdateTaskReq) GetKey ¶
func (p *UpdateTaskReq) GetKey() (v string)
func (*UpdateTaskReq) GetName ¶
func (p *UpdateTaskReq) GetName() (v string)
func (*UpdateTaskReq) GetSourceBranch ¶
func (p *UpdateTaskReq) GetSourceBranch() (v string)
func (*UpdateTaskReq) GetSyncMode ¶
func (p *UpdateTaskReq) GetSyncMode() (v string)
func (*UpdateTaskReq) GetTargetBranch ¶
func (p *UpdateTaskReq) GetTargetBranch() (v string)
func (*UpdateTaskReq) InitDefault ¶
func (p *UpdateTaskReq) InitDefault()
func (*UpdateTaskReq) ReadField1 ¶
func (p *UpdateTaskReq) ReadField1(iprot thrift.TProtocol) error
func (*UpdateTaskReq) ReadField2 ¶
func (p *UpdateTaskReq) ReadField2(iprot thrift.TProtocol) error
func (*UpdateTaskReq) ReadField3 ¶
func (p *UpdateTaskReq) ReadField3(iprot thrift.TProtocol) error
func (*UpdateTaskReq) ReadField4 ¶
func (p *UpdateTaskReq) ReadField4(iprot thrift.TProtocol) error
func (*UpdateTaskReq) ReadField5 ¶
func (p *UpdateTaskReq) ReadField5(iprot thrift.TProtocol) error
func (*UpdateTaskReq) ReadField6 ¶
func (p *UpdateTaskReq) ReadField6(iprot thrift.TProtocol) error
func (*UpdateTaskReq) ReadField7 ¶
func (p *UpdateTaskReq) ReadField7(iprot thrift.TProtocol) error
func (*UpdateTaskReq) ReadField8 ¶
func (p *UpdateTaskReq) ReadField8(iprot thrift.TProtocol) error
func (*UpdateTaskReq) ReadField9 ¶
func (p *UpdateTaskReq) ReadField9(iprot thrift.TProtocol) error
func (*UpdateTaskReq) ReadField10 ¶
func (p *UpdateTaskReq) ReadField10(iprot thrift.TProtocol) error
func (*UpdateTaskReq) String ¶
func (p *UpdateTaskReq) String() string
type UpdateTaskResp ¶
type UpdateTaskResp struct {
Task *SyncTaskInfo `thrift:"task,1" form:"task" json:"task" query:"task"`
}
func NewUpdateTaskResp ¶
func NewUpdateTaskResp() *UpdateTaskResp
func (*UpdateTaskResp) GetTask ¶
func (p *UpdateTaskResp) GetTask() (v *SyncTaskInfo)
func (*UpdateTaskResp) InitDefault ¶
func (p *UpdateTaskResp) InitDefault()
func (*UpdateTaskResp) IsSetTask ¶
func (p *UpdateTaskResp) IsSetTask() bool
func (*UpdateTaskResp) ReadField1 ¶
func (p *UpdateTaskResp) ReadField1(iprot thrift.TProtocol) error
func (*UpdateTaskResp) String ¶
func (p *UpdateTaskResp) String() string
Click to show internal directories.
Click to hide internal directories.