Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsPrOpen ¶
IsPrOpen returns true for all types of results which indicate that a pull request is still open.
func ModifyRepositoryContent ¶ added in v0.40.0
func ModifyRepositoryContent( f exec.Exec, logger *zap.SugaredLogger, t *task.Task, repo host.Repository, dir string, scriptGen exec.ScriptGenerator, ) error
ModifyRepositoryContent executes the script of task to modify the content of a repository. It sets up the environment for the script. It uses dir to set the current working directory of the script. Actual execution is done by f.
Types ¶
type ProcessResult ¶
type Processor ¶
type Processor struct {
Clock clock.Clock
DataDir string
Git git.GitClient
PullRequestCache host.PullRequestCache
CommandExec exec.Exec
ScriptGenerator exec.ScriptGenerator
}
func (*Processor) Process ¶
func (p *Processor) Process(dryRun bool, repo host.Repository, tasks []*task.Task, doFilter bool) []ProcessResult
type RepositoryTaskProcessor ¶
type RepositoryTaskProcessor interface {
Process(dryRun bool, repo host.Repository, tasks []*task.Task, doFilter bool) []ProcessResult
}
Click to show internal directories.
Click to hide internal directories.