Documentation ¶
Index ¶
- func GetInFlight() int
- type CheckEvent
- func (ce *CheckEvent) CommitStatus(ctx context.Context, status pkg.CommitState)
- func (ce *CheckEvent) GenerateListOfAffectedApps(ctx context.Context, repo *git.Repo, targetBranch string) error
- func (ce *CheckEvent) Process(ctx context.Context) error
- func (ce *CheckEvent) UpdateListOfChangedFiles(ctx context.Context, repo *git.Repo) error
- type Runner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInFlight ¶
func GetInFlight() int
Types ¶
type CheckEvent ¶
type CheckEvent struct {
// contains filtered or unexported fields
}
func NewCheckEvent ¶
func NewCheckEvent(pullRequest vcs.PullRequest, ctr container.Container, repoManager repoManager, processors []checks.ProcessorEntry) *CheckEvent
func (*CheckEvent) CommitStatus ¶
func (ce *CheckEvent) CommitStatus(ctx context.Context, status pkg.CommitState)
CommitStatus sets the commit status on the MR To set the PR/MR status
func (*CheckEvent) GenerateListOfAffectedApps ¶
func (ce *CheckEvent) GenerateListOfAffectedApps(ctx context.Context, repo *git.Repo, targetBranch string) error
GenerateListOfAffectedApps walks the repo to find any apps or appsets impacted by the changes in the MR/PR.
func (*CheckEvent) Process ¶ added in v1.5.0
func (ce *CheckEvent) Process(ctx context.Context) error
func (*CheckEvent) UpdateListOfChangedFiles ¶ added in v1.5.0
Click to show internal directories.
Click to hide internal directories.