Documentation
¶
Index ¶
- type JiraController
- func (jc *JiraController) Add(project, jiraID string, targetBranch []string) (err error)
- func (jc *JiraController) CheckBranchMerged(project, jiraId string) (err error)
- func (jc *JiraController) Clear(project string, disableCheckMerged bool) (err error)
- func (jc *JiraController) Del(project, jiraID string) (err error)
- func (jc *JiraController) Detach(project, jiraID, branch string) error
- func (jc *JiraController) Print(project, jiraId string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JiraController ¶
type JiraController struct {
// contains filtered or unexported fields
}
func NewJiraController ¶
func NewJiraController(config *repo.Config) (jc *JiraController, err error)
func (*JiraController) Add ¶
func (jc *JiraController) Add(project, jiraID string, targetBranch []string) (err error)
Add 添加Jira
func (*JiraController) CheckBranchMerged ¶
func (jc *JiraController) CheckBranchMerged(project, jiraId string) (err error)
func (*JiraController) Clear ¶
func (jc *JiraController) Clear(project string, disableCheckMerged bool) (err error)
Clear 检查目标分支中是否已合并定时任务若,若已合并则标记,同时删除本地以及远程分支 配合定时任务,保持本地项目和远程项目的分支简洁性
func (*JiraController) Del ¶
func (jc *JiraController) Del(project, jiraID string) (err error)
Del 删除Jira
func (*JiraController) Detach ¶
func (jc *JiraController) Detach(project, jiraID, branch string) error
func (*JiraController) Print ¶
func (jc *JiraController) Print(project, jiraId string) (err error)
Print 打印出那些为合并完成的Jira
Click to show internal directories.
Click to hide internal directories.