mocks

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2017 License: Apache-2.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandRunner_ExecuteCommand_OngoingVerification

type CommandRunner_ExecuteCommand_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*CommandRunner_ExecuteCommand_OngoingVerification) GetAllCapturedArguments

func (c *CommandRunner_ExecuteCommand_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.Repo, _param2 []models.User, _param3 []int, _param4 []*events.Command, _param5 []vcs.Host)

func (*CommandRunner_ExecuteCommand_OngoingVerification) GetCapturedArguments

type CommitStatusUpdater_UpdateProjectResult_OngoingVerification added in v0.2.0

type CommitStatusUpdater_UpdateProjectResult_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*CommitStatusUpdater_UpdateProjectResult_OngoingVerification) GetAllCapturedArguments added in v0.2.0

func (*CommitStatusUpdater_UpdateProjectResult_OngoingVerification) GetCapturedArguments added in v0.2.0

type CommitStatusUpdater_Update_OngoingVerification added in v0.2.0

type CommitStatusUpdater_Update_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*CommitStatusUpdater_Update_OngoingVerification) GetAllCapturedArguments added in v0.2.0

func (c *CommitStatusUpdater_Update_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest, _param2 []vcs.CommitStatus, _param3 []*events.Command, _param4 []vcs.Host)

func (*CommitStatusUpdater_Update_OngoingVerification) GetCapturedArguments added in v0.2.0

type EventParsing_DetermineCommand_OngoingVerification

type EventParsing_DetermineCommand_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*EventParsing_DetermineCommand_OngoingVerification) GetAllCapturedArguments

func (c *EventParsing_DetermineCommand_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []vcs.Host)

func (*EventParsing_DetermineCommand_OngoingVerification) GetCapturedArguments

type EventParsing_ParseGithubIssueCommentEvent_OngoingVerification added in v0.2.0

type EventParsing_ParseGithubIssueCommentEvent_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*EventParsing_ParseGithubIssueCommentEvent_OngoingVerification) GetAllCapturedArguments added in v0.2.0

func (*EventParsing_ParseGithubIssueCommentEvent_OngoingVerification) GetCapturedArguments added in v0.2.0

type EventParsing_ParseGithubPull_OngoingVerification added in v0.2.0

type EventParsing_ParseGithubPull_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*EventParsing_ParseGithubPull_OngoingVerification) GetAllCapturedArguments added in v0.2.0

func (c *EventParsing_ParseGithubPull_OngoingVerification) GetAllCapturedArguments() (_param0 []*github.PullRequest)

func (*EventParsing_ParseGithubPull_OngoingVerification) GetCapturedArguments added in v0.2.0

type EventParsing_ParseGithubRepo_OngoingVerification added in v0.2.0

type EventParsing_ParseGithubRepo_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*EventParsing_ParseGithubRepo_OngoingVerification) GetAllCapturedArguments added in v0.2.0

func (c *EventParsing_ParseGithubRepo_OngoingVerification) GetAllCapturedArguments() (_param0 []*github.Repository)

func (*EventParsing_ParseGithubRepo_OngoingVerification) GetCapturedArguments added in v0.2.0

type EventParsing_ParseGitlabMergeCommentEvent_OngoingVerification added in v0.2.0

type EventParsing_ParseGitlabMergeCommentEvent_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*EventParsing_ParseGitlabMergeCommentEvent_OngoingVerification) GetAllCapturedArguments added in v0.2.0

func (*EventParsing_ParseGitlabMergeCommentEvent_OngoingVerification) GetCapturedArguments added in v0.2.0

type EventParsing_ParseGitlabMergeEvent_OngoingVerification added in v0.2.0

type EventParsing_ParseGitlabMergeEvent_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*EventParsing_ParseGitlabMergeEvent_OngoingVerification) GetAllCapturedArguments added in v0.2.0

func (c *EventParsing_ParseGitlabMergeEvent_OngoingVerification) GetAllCapturedArguments() (_param0 []go_gitlab.MergeEvent)

func (*EventParsing_ParseGitlabMergeEvent_OngoingVerification) GetCapturedArguments added in v0.2.0

type EventParsing_ParseGitlabMergeRequest_OngoingVerification added in v0.2.0

type EventParsing_ParseGitlabMergeRequest_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*EventParsing_ParseGitlabMergeRequest_OngoingVerification) GetAllCapturedArguments added in v0.2.0

func (c *EventParsing_ParseGitlabMergeRequest_OngoingVerification) GetAllCapturedArguments() (_param0 []*go_gitlab.MergeRequest)

func (*EventParsing_ParseGitlabMergeRequest_OngoingVerification) GetCapturedArguments added in v0.2.0

type Executor_Execute_OngoingVerification

type Executor_Execute_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*Executor_Execute_OngoingVerification) GetAllCapturedArguments

func (c *Executor_Execute_OngoingVerification) GetAllCapturedArguments() (_param0 []*events.CommandContext)

func (*Executor_Execute_OngoingVerification) GetCapturedArguments

func (c *Executor_Execute_OngoingVerification) GetCapturedArguments() *events.CommandContext

type GithubPullGetter_GetPullRequest_OngoingVerification added in v0.2.0

type GithubPullGetter_GetPullRequest_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*GithubPullGetter_GetPullRequest_OngoingVerification) GetAllCapturedArguments added in v0.2.0

func (c *GithubPullGetter_GetPullRequest_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []int)

func (*GithubPullGetter_GetPullRequest_OngoingVerification) GetCapturedArguments added in v0.2.0

type GitlabMergeRequestGetter_GetMergeRequest_OngoingVerification added in v0.2.0

type GitlabMergeRequestGetter_GetMergeRequest_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*GitlabMergeRequestGetter_GetMergeRequest_OngoingVerification) GetAllCapturedArguments added in v0.2.0

func (c *GitlabMergeRequestGetter_GetMergeRequest_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []int)

func (*GitlabMergeRequestGetter_GetMergeRequest_OngoingVerification) GetCapturedArguments added in v0.2.0

type LockURLGenerator_SetLockURL_OngoingVerification

type LockURLGenerator_SetLockURL_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*LockURLGenerator_SetLockURL_OngoingVerification) GetAllCapturedArguments

func (c *LockURLGenerator_SetLockURL_OngoingVerification) GetAllCapturedArguments() (_param0 []func(string) string)

func (*LockURLGenerator_SetLockURL_OngoingVerification) GetCapturedArguments

func (c *LockURLGenerator_SetLockURL_OngoingVerification) GetCapturedArguments() func(string) string

type MockCommandRunner

type MockCommandRunner struct {
	// contains filtered or unexported fields
}

func NewMockCommandRunner

func NewMockCommandRunner() *MockCommandRunner

func (*MockCommandRunner) ExecuteCommand

func (mock *MockCommandRunner) ExecuteCommand(baseRepo models.Repo, headRepo models.Repo, user models.User, pullNum int, cmd *events.Command, vcsHost vcs.Host)

func (*MockCommandRunner) VerifyWasCalled

func (mock *MockCommandRunner) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierCommandRunner

func (*MockCommandRunner) VerifyWasCalledInOrder

func (mock *MockCommandRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierCommandRunner

func (*MockCommandRunner) VerifyWasCalledOnce

func (mock *MockCommandRunner) VerifyWasCalledOnce() *VerifierCommandRunner

type MockCommitStatusUpdater added in v0.2.0

type MockCommitStatusUpdater struct {
	// contains filtered or unexported fields
}

func NewMockCommitStatusUpdater added in v0.2.0

func NewMockCommitStatusUpdater() *MockCommitStatusUpdater

func (*MockCommitStatusUpdater) Update added in v0.2.0

func (mock *MockCommitStatusUpdater) Update(repo models.Repo, pull models.PullRequest, status vcs.CommitStatus, cmd *events.Command, host vcs.Host) error

func (*MockCommitStatusUpdater) UpdateProjectResult added in v0.2.0

func (mock *MockCommitStatusUpdater) UpdateProjectResult(ctx *events.CommandContext, res events.CommandResponse) error

func (*MockCommitStatusUpdater) VerifyWasCalled added in v0.2.0

func (mock *MockCommitStatusUpdater) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierCommitStatusUpdater

func (*MockCommitStatusUpdater) VerifyWasCalledInOrder added in v0.2.0

func (mock *MockCommitStatusUpdater) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierCommitStatusUpdater

func (*MockCommitStatusUpdater) VerifyWasCalledOnce added in v0.2.0

func (mock *MockCommitStatusUpdater) VerifyWasCalledOnce() *VerifierCommitStatusUpdater

type MockEventParsing

type MockEventParsing struct {
	// contains filtered or unexported fields
}

func NewMockEventParsing

func NewMockEventParsing() *MockEventParsing

func (*MockEventParsing) DetermineCommand

func (mock *MockEventParsing) DetermineCommand(comment string, vcsHost vcs.Host) (*events.Command, error)

func (*MockEventParsing) ParseGithubIssueCommentEvent added in v0.2.0

func (mock *MockEventParsing) ParseGithubIssueCommentEvent(comment *github.IssueCommentEvent) (models.Repo, models.User, int, error)

func (*MockEventParsing) ParseGithubPull added in v0.2.0

func (mock *MockEventParsing) ParseGithubPull(pull *github.PullRequest) (models.PullRequest, models.Repo, error)

func (*MockEventParsing) ParseGithubRepo added in v0.2.0

func (mock *MockEventParsing) ParseGithubRepo(ghRepo *github.Repository) (models.Repo, error)

func (*MockEventParsing) ParseGitlabMergeCommentEvent added in v0.2.0

func (mock *MockEventParsing) ParseGitlabMergeCommentEvent(event go_gitlab.MergeCommentEvent) (models.Repo, models.Repo, models.User)

func (*MockEventParsing) ParseGitlabMergeEvent added in v0.2.0

func (mock *MockEventParsing) ParseGitlabMergeEvent(event go_gitlab.MergeEvent) (models.PullRequest, models.Repo)

func (*MockEventParsing) ParseGitlabMergeRequest added in v0.2.0

func (mock *MockEventParsing) ParseGitlabMergeRequest(mr *go_gitlab.MergeRequest) models.PullRequest

func (*MockEventParsing) VerifyWasCalled

func (mock *MockEventParsing) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierEventParsing

func (*MockEventParsing) VerifyWasCalledInOrder

func (mock *MockEventParsing) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierEventParsing

func (*MockEventParsing) VerifyWasCalledOnce

func (mock *MockEventParsing) VerifyWasCalledOnce() *VerifierEventParsing

type MockExecutor

type MockExecutor struct {
	// contains filtered or unexported fields
}

func NewMockExecutor

func NewMockExecutor() *MockExecutor

func (*MockExecutor) Execute

func (*MockExecutor) VerifyWasCalled

func (mock *MockExecutor) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierExecutor

func (*MockExecutor) VerifyWasCalledInOrder

func (mock *MockExecutor) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierExecutor

func (*MockExecutor) VerifyWasCalledOnce

func (mock *MockExecutor) VerifyWasCalledOnce() *VerifierExecutor

type MockGithubPullGetter added in v0.2.0

type MockGithubPullGetter struct {
	// contains filtered or unexported fields
}

func NewMockGithubPullGetter added in v0.2.0

func NewMockGithubPullGetter() *MockGithubPullGetter

func (*MockGithubPullGetter) GetPullRequest added in v0.2.0

func (mock *MockGithubPullGetter) GetPullRequest(repo models.Repo, pullNum int) (*github.PullRequest, error)

func (*MockGithubPullGetter) VerifyWasCalled added in v0.2.0

func (mock *MockGithubPullGetter) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierGithubPullGetter

func (*MockGithubPullGetter) VerifyWasCalledInOrder added in v0.2.0

func (mock *MockGithubPullGetter) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierGithubPullGetter

func (*MockGithubPullGetter) VerifyWasCalledOnce added in v0.2.0

func (mock *MockGithubPullGetter) VerifyWasCalledOnce() *VerifierGithubPullGetter

type MockGitlabMergeRequestGetter added in v0.2.0

type MockGitlabMergeRequestGetter struct {
	// contains filtered or unexported fields
}

func NewMockGitlabMergeRequestGetter added in v0.2.0

func NewMockGitlabMergeRequestGetter() *MockGitlabMergeRequestGetter

func (*MockGitlabMergeRequestGetter) GetMergeRequest added in v0.2.0

func (mock *MockGitlabMergeRequestGetter) GetMergeRequest(repoFullName string, pullNum int) (*go_gitlab.MergeRequest, error)

func (*MockGitlabMergeRequestGetter) VerifyWasCalled added in v0.2.0

func (mock *MockGitlabMergeRequestGetter) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierGitlabMergeRequestGetter

func (*MockGitlabMergeRequestGetter) VerifyWasCalledInOrder added in v0.2.0

func (mock *MockGitlabMergeRequestGetter) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierGitlabMergeRequestGetter

func (*MockGitlabMergeRequestGetter) VerifyWasCalledOnce added in v0.2.0

type MockLockURLGenerator

type MockLockURLGenerator struct {
	// contains filtered or unexported fields
}

func NewMockLockURLGenerator

func NewMockLockURLGenerator() *MockLockURLGenerator

func (*MockLockURLGenerator) SetLockURL

func (mock *MockLockURLGenerator) SetLockURL(_param0 func(string) string)

func (*MockLockURLGenerator) VerifyWasCalled

func (mock *MockLockURLGenerator) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierLockURLGenerator

func (*MockLockURLGenerator) VerifyWasCalledInOrder

func (mock *MockLockURLGenerator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierLockURLGenerator

func (*MockLockURLGenerator) VerifyWasCalledOnce

func (mock *MockLockURLGenerator) VerifyWasCalledOnce() *VerifierLockURLGenerator

type MockProjectConfigReader

type MockProjectConfigReader struct {
	// contains filtered or unexported fields
}

func NewMockProjectConfigReader

func NewMockProjectConfigReader() *MockProjectConfigReader

func (*MockProjectConfigReader) Exists

func (mock *MockProjectConfigReader) Exists(projectPath string) bool

func (*MockProjectConfigReader) Read

func (mock *MockProjectConfigReader) Read(projectPath string) (events.ProjectConfig, error)

func (*MockProjectConfigReader) VerifyWasCalled

func (mock *MockProjectConfigReader) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierProjectConfigReader

func (*MockProjectConfigReader) VerifyWasCalledInOrder

func (mock *MockProjectConfigReader) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierProjectConfigReader

func (*MockProjectConfigReader) VerifyWasCalledOnce

func (mock *MockProjectConfigReader) VerifyWasCalledOnce() *VerifierProjectConfigReader

type MockProjectFinder added in v0.2.1

type MockProjectFinder struct {
	// contains filtered or unexported fields
}

func NewMockProjectFinder added in v0.2.1

func NewMockProjectFinder() *MockProjectFinder

func (*MockProjectFinder) FindModified added in v0.2.1

func (mock *MockProjectFinder) FindModified(log *logging.SimpleLogger, modifiedFiles []string, repoFullName string) []models.Project

func (*MockProjectFinder) VerifyWasCalled added in v0.2.1

func (mock *MockProjectFinder) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierProjectFinder

func (*MockProjectFinder) VerifyWasCalledInOrder added in v0.2.1

func (mock *MockProjectFinder) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierProjectFinder

func (*MockProjectFinder) VerifyWasCalledOnce added in v0.2.1

func (mock *MockProjectFinder) VerifyWasCalledOnce() *VerifierProjectFinder

type MockProjectPreExecutor

type MockProjectPreExecutor struct {
	// contains filtered or unexported fields
}

func NewMockProjectPreExecutor

func NewMockProjectPreExecutor() *MockProjectPreExecutor

func (*MockProjectPreExecutor) Execute

func (*MockProjectPreExecutor) VerifyWasCalled

func (mock *MockProjectPreExecutor) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierProjectPreExecutor

func (*MockProjectPreExecutor) VerifyWasCalledInOrder

func (mock *MockProjectPreExecutor) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierProjectPreExecutor

func (*MockProjectPreExecutor) VerifyWasCalledOnce

func (mock *MockProjectPreExecutor) VerifyWasCalledOnce() *VerifierProjectPreExecutor

type MockPullCleaner

type MockPullCleaner struct {
	// contains filtered or unexported fields
}

func NewMockPullCleaner

func NewMockPullCleaner() *MockPullCleaner

func (*MockPullCleaner) CleanUpPull

func (mock *MockPullCleaner) CleanUpPull(repo models.Repo, pull models.PullRequest, host vcs.Host) error

func (*MockPullCleaner) VerifyWasCalled

func (mock *MockPullCleaner) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierPullCleaner

func (*MockPullCleaner) VerifyWasCalledInOrder

func (mock *MockPullCleaner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierPullCleaner

func (*MockPullCleaner) VerifyWasCalledOnce

func (mock *MockPullCleaner) VerifyWasCalledOnce() *VerifierPullCleaner

type MockWorkspace

type MockWorkspace struct {
	// contains filtered or unexported fields
}

func NewMockWorkspace

func NewMockWorkspace() *MockWorkspace

func (*MockWorkspace) Clone

func (mock *MockWorkspace) Clone(log *logging.SimpleLogger, baseRepo models.Repo, headRepo models.Repo, p models.PullRequest, env string) (string, error)

func (*MockWorkspace) Delete

func (mock *MockWorkspace) Delete(r models.Repo, p models.PullRequest) error

func (*MockWorkspace) GetWorkspace

func (mock *MockWorkspace) GetWorkspace(r models.Repo, p models.PullRequest, env string) (string, error)

func (*MockWorkspace) VerifyWasCalled

func (mock *MockWorkspace) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierWorkspace

func (*MockWorkspace) VerifyWasCalledInOrder

func (mock *MockWorkspace) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierWorkspace

func (*MockWorkspace) VerifyWasCalledOnce

func (mock *MockWorkspace) VerifyWasCalledOnce() *VerifierWorkspace

type MockWorkspaceLocker added in v0.2.1

type MockWorkspaceLocker struct {
	// contains filtered or unexported fields
}

func NewMockWorkspaceLocker added in v0.2.1

func NewMockWorkspaceLocker() *MockWorkspaceLocker

func (*MockWorkspaceLocker) TryLock added in v0.2.1

func (mock *MockWorkspaceLocker) TryLock(repoFullName string, env string, pullNum int) bool

func (*MockWorkspaceLocker) Unlock added in v0.2.1

func (mock *MockWorkspaceLocker) Unlock(repoFullName string, env string, pullNum int)

func (*MockWorkspaceLocker) VerifyWasCalled added in v0.2.1

func (mock *MockWorkspaceLocker) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierWorkspaceLocker

func (*MockWorkspaceLocker) VerifyWasCalledInOrder added in v0.2.1

func (mock *MockWorkspaceLocker) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierWorkspaceLocker

func (*MockWorkspaceLocker) VerifyWasCalledOnce added in v0.2.1

func (mock *MockWorkspaceLocker) VerifyWasCalledOnce() *VerifierWorkspaceLocker

type ProjectConfigReader_Exists_OngoingVerification

type ProjectConfigReader_Exists_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*ProjectConfigReader_Exists_OngoingVerification) GetAllCapturedArguments

func (c *ProjectConfigReader_Exists_OngoingVerification) GetAllCapturedArguments() (_param0 []string)

func (*ProjectConfigReader_Exists_OngoingVerification) GetCapturedArguments

func (c *ProjectConfigReader_Exists_OngoingVerification) GetCapturedArguments() string

type ProjectConfigReader_Read_OngoingVerification

type ProjectConfigReader_Read_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*ProjectConfigReader_Read_OngoingVerification) GetAllCapturedArguments

func (c *ProjectConfigReader_Read_OngoingVerification) GetAllCapturedArguments() (_param0 []string)

func (*ProjectConfigReader_Read_OngoingVerification) GetCapturedArguments

func (c *ProjectConfigReader_Read_OngoingVerification) GetCapturedArguments() string

type ProjectFinder_FindModified_OngoingVerification added in v0.2.1

type ProjectFinder_FindModified_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*ProjectFinder_FindModified_OngoingVerification) GetAllCapturedArguments added in v0.2.1

func (c *ProjectFinder_FindModified_OngoingVerification) GetAllCapturedArguments() (_param0 []*logging.SimpleLogger, _param1 [][]string, _param2 []string)

func (*ProjectFinder_FindModified_OngoingVerification) GetCapturedArguments added in v0.2.1

type ProjectPreExecutor_Execute_OngoingVerification

type ProjectPreExecutor_Execute_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*ProjectPreExecutor_Execute_OngoingVerification) GetAllCapturedArguments

func (c *ProjectPreExecutor_Execute_OngoingVerification) GetAllCapturedArguments() (_param0 []*events.CommandContext, _param1 []string, _param2 []models.Project)

func (*ProjectPreExecutor_Execute_OngoingVerification) GetCapturedArguments

type PullCleaner_CleanUpPull_OngoingVerification

type PullCleaner_CleanUpPull_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*PullCleaner_CleanUpPull_OngoingVerification) GetAllCapturedArguments

func (c *PullCleaner_CleanUpPull_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest, _param2 []vcs.Host)

func (*PullCleaner_CleanUpPull_OngoingVerification) GetCapturedArguments

type VerifierCommandRunner

type VerifierCommandRunner struct {
	// contains filtered or unexported fields
}

func (*VerifierCommandRunner) ExecuteCommand

func (verifier *VerifierCommandRunner) ExecuteCommand(baseRepo models.Repo, headRepo models.Repo, user models.User, pullNum int, cmd *events.Command, vcsHost vcs.Host) *CommandRunner_ExecuteCommand_OngoingVerification

type VerifierCommitStatusUpdater added in v0.2.0

type VerifierCommitStatusUpdater struct {
	// contains filtered or unexported fields
}

func (*VerifierCommitStatusUpdater) Update added in v0.2.0

func (*VerifierCommitStatusUpdater) UpdateProjectResult added in v0.2.0

type VerifierEventParsing

type VerifierEventParsing struct {
	// contains filtered or unexported fields
}

func (*VerifierEventParsing) DetermineCommand

func (verifier *VerifierEventParsing) DetermineCommand(comment string, vcsHost vcs.Host) *EventParsing_DetermineCommand_OngoingVerification

func (*VerifierEventParsing) ParseGithubIssueCommentEvent added in v0.2.0

func (*VerifierEventParsing) ParseGithubPull added in v0.2.0

func (*VerifierEventParsing) ParseGithubRepo added in v0.2.0

func (*VerifierEventParsing) ParseGitlabMergeCommentEvent added in v0.2.0

func (*VerifierEventParsing) ParseGitlabMergeEvent added in v0.2.0

func (*VerifierEventParsing) ParseGitlabMergeRequest added in v0.2.0

type VerifierExecutor

type VerifierExecutor struct {
	// contains filtered or unexported fields
}

func (*VerifierExecutor) Execute

type VerifierGithubPullGetter added in v0.2.0

type VerifierGithubPullGetter struct {
	// contains filtered or unexported fields
}

func (*VerifierGithubPullGetter) GetPullRequest added in v0.2.0

type VerifierGitlabMergeRequestGetter added in v0.2.0

type VerifierGitlabMergeRequestGetter struct {
	// contains filtered or unexported fields
}

func (*VerifierGitlabMergeRequestGetter) GetMergeRequest added in v0.2.0

type VerifierLockURLGenerator

type VerifierLockURLGenerator struct {
	// contains filtered or unexported fields
}

func (*VerifierLockURLGenerator) SetLockURL

type VerifierProjectConfigReader

type VerifierProjectConfigReader struct {
	// contains filtered or unexported fields
}

func (*VerifierProjectConfigReader) Exists

func (*VerifierProjectConfigReader) Read

type VerifierProjectFinder added in v0.2.1

type VerifierProjectFinder struct {
	// contains filtered or unexported fields
}

func (*VerifierProjectFinder) FindModified added in v0.2.1

func (verifier *VerifierProjectFinder) FindModified(log *logging.SimpleLogger, modifiedFiles []string, repoFullName string) *ProjectFinder_FindModified_OngoingVerification

type VerifierProjectPreExecutor

type VerifierProjectPreExecutor struct {
	// contains filtered or unexported fields
}

func (*VerifierProjectPreExecutor) Execute

type VerifierPullCleaner

type VerifierPullCleaner struct {
	// contains filtered or unexported fields
}

func (*VerifierPullCleaner) CleanUpPull

type VerifierWorkspace

type VerifierWorkspace struct {
	// contains filtered or unexported fields
}

func (*VerifierWorkspace) Clone

func (*VerifierWorkspace) Delete

func (*VerifierWorkspace) GetWorkspace

type VerifierWorkspaceLocker added in v0.2.1

type VerifierWorkspaceLocker struct {
	// contains filtered or unexported fields
}

func (*VerifierWorkspaceLocker) TryLock added in v0.2.1

func (verifier *VerifierWorkspaceLocker) TryLock(repoFullName string, env string, pullNum int) *WorkspaceLocker_TryLock_OngoingVerification

func (*VerifierWorkspaceLocker) Unlock added in v0.2.1

func (verifier *VerifierWorkspaceLocker) Unlock(repoFullName string, env string, pullNum int) *WorkspaceLocker_Unlock_OngoingVerification

type WorkspaceLocker_TryLock_OngoingVerification added in v0.2.1

type WorkspaceLocker_TryLock_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*WorkspaceLocker_TryLock_OngoingVerification) GetAllCapturedArguments added in v0.2.1

func (c *WorkspaceLocker_TryLock_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []int)

func (*WorkspaceLocker_TryLock_OngoingVerification) GetCapturedArguments added in v0.2.1

func (c *WorkspaceLocker_TryLock_OngoingVerification) GetCapturedArguments() (string, string, int)

type WorkspaceLocker_Unlock_OngoingVerification added in v0.2.1

type WorkspaceLocker_Unlock_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*WorkspaceLocker_Unlock_OngoingVerification) GetAllCapturedArguments added in v0.2.1

func (c *WorkspaceLocker_Unlock_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []int)

func (*WorkspaceLocker_Unlock_OngoingVerification) GetCapturedArguments added in v0.2.1

func (c *WorkspaceLocker_Unlock_OngoingVerification) GetCapturedArguments() (string, string, int)

type Workspace_Clone_OngoingVerification

type Workspace_Clone_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*Workspace_Clone_OngoingVerification) GetAllCapturedArguments

func (c *Workspace_Clone_OngoingVerification) GetAllCapturedArguments() (_param0 []*logging.SimpleLogger, _param1 []models.Repo, _param2 []models.Repo, _param3 []models.PullRequest, _param4 []string)

func (*Workspace_Clone_OngoingVerification) GetCapturedArguments

type Workspace_Delete_OngoingVerification

type Workspace_Delete_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*Workspace_Delete_OngoingVerification) GetAllCapturedArguments

func (c *Workspace_Delete_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest)

func (*Workspace_Delete_OngoingVerification) GetCapturedArguments

func (c *Workspace_Delete_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest)

type Workspace_GetWorkspace_OngoingVerification

type Workspace_GetWorkspace_OngoingVerification struct {
	// contains filtered or unexported fields
}

func (*Workspace_GetWorkspace_OngoingVerification) GetAllCapturedArguments

func (c *Workspace_GetWorkspace_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest, _param2 []string)

func (*Workspace_GetWorkspace_OngoingVerification) GetCapturedArguments

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL