Documentation
¶
Index ¶
- type Command
- func (c *Command) BuildContributor(repo *model.RepoInfo) (err error)
- func (c *Command) DeleteRunningTask(projID int, mrID int) (err error)
- func (c *Command) Exec(ctx context.Context, cmd string, event *model.HookComment, repo *model.Repo) (err error)
- func (c *Command) GetAllPathAuth(projID int, mrIID int, authBranch string) (pathOwners []model.RequireReviewFolder, err error)
- func (c *Command) GetAuthBranch(targetBranch string, authBranches []string) (authBranch string)
- func (c *Command) GetPathAuth(projID int, branch string, path string) (owners []string, reviewers []string, err error)
- func (c *Command) HookDelayMerge(projID int, branch string, mergeInfo *model.MergeInfo) (err error)
- func (c *Command) HookMerge(projID int, branch string, mergeInfo *model.MergeInfo) (err error)
- func (c *Command) HookPipeline(projID int, branch string, pipelineID int) (err error)
- func (c *Command) ListenTask()
- func (c *Command) Registers()
- func (c *Command) SaveContributor(projID int, branch string, files []string, clean bool) (err error)
- func (c *Command) UpdateContributor(projID int, mrIID int, sourceBranch string, targetBranch string, ...) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
Command Command def.
func (*Command) BuildContributor ¶
BuildContributor ...
func (*Command) DeleteRunningTask ¶
DeleteRunningTask ...
func (*Command) Exec ¶
func (c *Command) Exec(ctx context.Context, cmd string, event *model.HookComment, repo *model.Repo) (err error)
Exec ...
func (*Command) GetAllPathAuth ¶
func (c *Command) GetAllPathAuth(projID int, mrIID int, authBranch string) (pathOwners []model.RequireReviewFolder, err error)
GetAllPathAuth ...
func (*Command) GetAuthBranch ¶
GetAuthBranch ...
func (*Command) GetPathAuth ¶
func (c *Command) GetPathAuth(projID int, branch string, path string) (owners []string, reviewers []string, err error)
GetPathAuth ...
func (*Command) HookDelayMerge ¶
HookDelayMerge ...
func (*Command) HookPipeline ¶
HookPipeline ...
Click to show internal directories.
Click to hide internal directories.