Documentation ¶
Index ¶
- type CommandRunner_ExecuteCommand_OngoingVerification
- func (c *CommandRunner_ExecuteCommand_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.Repo, _param2 []models.User, ...)
- func (c *CommandRunner_ExecuteCommand_OngoingVerification) GetCapturedArguments() (models.Repo, models.Repo, models.User, int, *events.Command, vcs.Host)
- type CommitStatusUpdater_UpdateProjectResult_OngoingVerification
- func (c *CommitStatusUpdater_UpdateProjectResult_OngoingVerification) GetAllCapturedArguments() (_param0 []*events.CommandContext, _param1 []events.CommandResponse)
- func (c *CommitStatusUpdater_UpdateProjectResult_OngoingVerification) GetCapturedArguments() (*events.CommandContext, events.CommandResponse)
- type CommitStatusUpdater_Update_OngoingVerification
- func (c *CommitStatusUpdater_Update_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest, ...)
- func (c *CommitStatusUpdater_Update_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest, vcs.CommitStatus, *events.Command, vcs.Host)
- type EventParsing_DetermineCommand_OngoingVerification
- type EventParsing_ParseGithubIssueCommentEvent_OngoingVerification
- type EventParsing_ParseGithubPull_OngoingVerification
- type EventParsing_ParseGithubRepo_OngoingVerification
- type EventParsing_ParseGitlabMergeCommentEvent_OngoingVerification
- type EventParsing_ParseGitlabMergeEvent_OngoingVerification
- type EventParsing_ParseGitlabMergeRequest_OngoingVerification
- type Executor_Execute_OngoingVerification
- type GithubPullGetter_GetPullRequest_OngoingVerification
- type GitlabMergeRequestGetter_GetMergeRequest_OngoingVerification
- type LockURLGenerator_SetLockURL_OngoingVerification
- type MockCommandRunner
- func (mock *MockCommandRunner) ExecuteCommand(baseRepo models.Repo, headRepo models.Repo, user models.User, pullNum int, ...)
- func (mock *MockCommandRunner) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierCommandRunner
- func (mock *MockCommandRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierCommandRunner
- func (mock *MockCommandRunner) VerifyWasCalledOnce() *VerifierCommandRunner
- type MockCommitStatusUpdater
- func (mock *MockCommitStatusUpdater) Update(repo models.Repo, pull models.PullRequest, status vcs.CommitStatus, ...) error
- func (mock *MockCommitStatusUpdater) UpdateProjectResult(ctx *events.CommandContext, res events.CommandResponse) error
- func (mock *MockCommitStatusUpdater) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierCommitStatusUpdater
- func (mock *MockCommitStatusUpdater) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierCommitStatusUpdater
- func (mock *MockCommitStatusUpdater) VerifyWasCalledOnce() *VerifierCommitStatusUpdater
- type MockEventParsing
- func (mock *MockEventParsing) DetermineCommand(comment string, vcsHost vcs.Host) (*events.Command, error)
- func (mock *MockEventParsing) ParseGithubIssueCommentEvent(comment *github.IssueCommentEvent) (models.Repo, models.User, int, error)
- func (mock *MockEventParsing) ParseGithubPull(pull *github.PullRequest) (models.PullRequest, models.Repo, error)
- func (mock *MockEventParsing) ParseGithubRepo(ghRepo *github.Repository) (models.Repo, error)
- func (mock *MockEventParsing) ParseGitlabMergeCommentEvent(event go_gitlab.MergeCommentEvent) (models.Repo, models.Repo, models.User)
- func (mock *MockEventParsing) ParseGitlabMergeEvent(event go_gitlab.MergeEvent) (models.PullRequest, models.Repo)
- func (mock *MockEventParsing) ParseGitlabMergeRequest(mr *go_gitlab.MergeRequest) models.PullRequest
- func (mock *MockEventParsing) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierEventParsing
- func (mock *MockEventParsing) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierEventParsing
- func (mock *MockEventParsing) VerifyWasCalledOnce() *VerifierEventParsing
- type MockExecutor
- func (mock *MockExecutor) Execute(ctx *events.CommandContext) events.CommandResponse
- func (mock *MockExecutor) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierExecutor
- func (mock *MockExecutor) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierExecutor
- func (mock *MockExecutor) VerifyWasCalledOnce() *VerifierExecutor
- type MockGithubPullGetter
- func (mock *MockGithubPullGetter) GetPullRequest(repo models.Repo, pullNum int) (*github.PullRequest, error)
- func (mock *MockGithubPullGetter) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierGithubPullGetter
- func (mock *MockGithubPullGetter) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierGithubPullGetter
- func (mock *MockGithubPullGetter) VerifyWasCalledOnce() *VerifierGithubPullGetter
- type MockGitlabMergeRequestGetter
- func (mock *MockGitlabMergeRequestGetter) GetMergeRequest(repoFullName string, pullNum int) (*go_gitlab.MergeRequest, error)
- func (mock *MockGitlabMergeRequestGetter) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierGitlabMergeRequestGetter
- func (mock *MockGitlabMergeRequestGetter) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierGitlabMergeRequestGetter
- func (mock *MockGitlabMergeRequestGetter) VerifyWasCalledOnce() *VerifierGitlabMergeRequestGetter
- type MockLockURLGenerator
- func (mock *MockLockURLGenerator) SetLockURL(_param0 func(string) string)
- func (mock *MockLockURLGenerator) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierLockURLGenerator
- func (mock *MockLockURLGenerator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierLockURLGenerator
- func (mock *MockLockURLGenerator) VerifyWasCalledOnce() *VerifierLockURLGenerator
- type MockProjectConfigReader
- func (mock *MockProjectConfigReader) Exists(projectPath string) bool
- func (mock *MockProjectConfigReader) Read(projectPath string) (events.ProjectConfig, error)
- func (mock *MockProjectConfigReader) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierProjectConfigReader
- func (mock *MockProjectConfigReader) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierProjectConfigReader
- func (mock *MockProjectConfigReader) VerifyWasCalledOnce() *VerifierProjectConfigReader
- type MockProjectFinder
- func (mock *MockProjectFinder) FindModified(log *logging.SimpleLogger, modifiedFiles []string, repoFullName string) []models.Project
- func (mock *MockProjectFinder) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierProjectFinder
- func (mock *MockProjectFinder) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierProjectFinder
- func (mock *MockProjectFinder) VerifyWasCalledOnce() *VerifierProjectFinder
- type MockProjectPreExecutor
- func (mock *MockProjectPreExecutor) Execute(ctx *events.CommandContext, repoDir string, project models.Project) events.PreExecuteResult
- func (mock *MockProjectPreExecutor) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierProjectPreExecutor
- func (mock *MockProjectPreExecutor) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierProjectPreExecutor
- func (mock *MockProjectPreExecutor) VerifyWasCalledOnce() *VerifierProjectPreExecutor
- type MockPullCleaner
- func (mock *MockPullCleaner) CleanUpPull(repo models.Repo, pull models.PullRequest, host vcs.Host) error
- func (mock *MockPullCleaner) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierPullCleaner
- func (mock *MockPullCleaner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierPullCleaner
- func (mock *MockPullCleaner) VerifyWasCalledOnce() *VerifierPullCleaner
- type MockWorkspace
- func (mock *MockWorkspace) Clone(log *logging.SimpleLogger, baseRepo models.Repo, headRepo models.Repo, ...) (string, error)
- func (mock *MockWorkspace) Delete(r models.Repo, p models.PullRequest) error
- func (mock *MockWorkspace) GetWorkspace(r models.Repo, p models.PullRequest, env string) (string, error)
- func (mock *MockWorkspace) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierWorkspace
- func (mock *MockWorkspace) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierWorkspace
- func (mock *MockWorkspace) VerifyWasCalledOnce() *VerifierWorkspace
- type MockWorkspaceLocker
- func (mock *MockWorkspaceLocker) TryLock(repoFullName string, env string, pullNum int) bool
- func (mock *MockWorkspaceLocker) Unlock(repoFullName string, env string, pullNum int)
- func (mock *MockWorkspaceLocker) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierWorkspaceLocker
- func (mock *MockWorkspaceLocker) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierWorkspaceLocker
- func (mock *MockWorkspaceLocker) VerifyWasCalledOnce() *VerifierWorkspaceLocker
- type ProjectConfigReader_Exists_OngoingVerification
- type ProjectConfigReader_Read_OngoingVerification
- type ProjectFinder_FindModified_OngoingVerification
- type ProjectPreExecutor_Execute_OngoingVerification
- type PullCleaner_CleanUpPull_OngoingVerification
- type VerifierCommandRunner
- type VerifierCommitStatusUpdater
- func (verifier *VerifierCommitStatusUpdater) Update(repo models.Repo, pull models.PullRequest, status vcs.CommitStatus, ...) *CommitStatusUpdater_Update_OngoingVerification
- func (verifier *VerifierCommitStatusUpdater) UpdateProjectResult(ctx *events.CommandContext, res events.CommandResponse) *CommitStatusUpdater_UpdateProjectResult_OngoingVerification
- type VerifierEventParsing
- func (verifier *VerifierEventParsing) DetermineCommand(comment string, vcsHost vcs.Host) *EventParsing_DetermineCommand_OngoingVerification
- func (verifier *VerifierEventParsing) ParseGithubIssueCommentEvent(comment *github.IssueCommentEvent) *EventParsing_ParseGithubIssueCommentEvent_OngoingVerification
- func (verifier *VerifierEventParsing) ParseGithubPull(pull *github.PullRequest) *EventParsing_ParseGithubPull_OngoingVerification
- func (verifier *VerifierEventParsing) ParseGithubRepo(ghRepo *github.Repository) *EventParsing_ParseGithubRepo_OngoingVerification
- func (verifier *VerifierEventParsing) ParseGitlabMergeCommentEvent(event go_gitlab.MergeCommentEvent) *EventParsing_ParseGitlabMergeCommentEvent_OngoingVerification
- func (verifier *VerifierEventParsing) ParseGitlabMergeEvent(event go_gitlab.MergeEvent) *EventParsing_ParseGitlabMergeEvent_OngoingVerification
- func (verifier *VerifierEventParsing) ParseGitlabMergeRequest(mr *go_gitlab.MergeRequest) *EventParsing_ParseGitlabMergeRequest_OngoingVerification
- type VerifierExecutor
- type VerifierGithubPullGetter
- type VerifierGitlabMergeRequestGetter
- type VerifierLockURLGenerator
- type VerifierProjectConfigReader
- type VerifierProjectFinder
- type VerifierProjectPreExecutor
- type VerifierPullCleaner
- type VerifierWorkspace
- func (verifier *VerifierWorkspace) Clone(log *logging.SimpleLogger, baseRepo models.Repo, headRepo models.Repo, ...) *Workspace_Clone_OngoingVerification
- func (verifier *VerifierWorkspace) Delete(r models.Repo, p models.PullRequest) *Workspace_Delete_OngoingVerification
- func (verifier *VerifierWorkspace) GetWorkspace(r models.Repo, p models.PullRequest, env string) *Workspace_GetWorkspace_OngoingVerification
- type VerifierWorkspaceLocker
- type WorkspaceLocker_TryLock_OngoingVerification
- type WorkspaceLocker_Unlock_OngoingVerification
- type Workspace_Clone_OngoingVerification
- func (c *Workspace_Clone_OngoingVerification) GetAllCapturedArguments() (_param0 []*logging.SimpleLogger, _param1 []models.Repo, _param2 []models.Repo, ...)
- func (c *Workspace_Clone_OngoingVerification) GetCapturedArguments() (*logging.SimpleLogger, models.Repo, models.Repo, models.PullRequest, string)
- type Workspace_Delete_OngoingVerification
- type Workspace_GetWorkspace_OngoingVerification
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 ¶
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 (c *CommitStatusUpdater_UpdateProjectResult_OngoingVerification) GetAllCapturedArguments() (_param0 []*events.CommandContext, _param1 []events.CommandResponse)
func (*CommitStatusUpdater_UpdateProjectResult_OngoingVerification) GetCapturedArguments ¶ added in v0.2.0
func (c *CommitStatusUpdater_UpdateProjectResult_OngoingVerification) GetCapturedArguments() (*events.CommandContext, events.CommandResponse)
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
func (c *CommitStatusUpdater_Update_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest, vcs.CommitStatus, *events.Command, vcs.Host)
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 ¶
func (c *EventParsing_DetermineCommand_OngoingVerification) GetCapturedArguments() (string, vcs.Host)
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 (c *EventParsing_ParseGithubIssueCommentEvent_OngoingVerification) GetAllCapturedArguments() (_param0 []*github.IssueCommentEvent)
func (*EventParsing_ParseGithubIssueCommentEvent_OngoingVerification) GetCapturedArguments ¶ added in v0.2.0
func (c *EventParsing_ParseGithubIssueCommentEvent_OngoingVerification) GetCapturedArguments() *github.IssueCommentEvent
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
func (c *EventParsing_ParseGithubPull_OngoingVerification) GetCapturedArguments() *github.PullRequest
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
func (c *EventParsing_ParseGithubRepo_OngoingVerification) GetCapturedArguments() *github.Repository
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 (c *EventParsing_ParseGitlabMergeCommentEvent_OngoingVerification) GetAllCapturedArguments() (_param0 []go_gitlab.MergeCommentEvent)
func (*EventParsing_ParseGitlabMergeCommentEvent_OngoingVerification) GetCapturedArguments ¶ added in v0.2.0
func (c *EventParsing_ParseGitlabMergeCommentEvent_OngoingVerification) GetCapturedArguments() go_gitlab.MergeCommentEvent
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
func (c *EventParsing_ParseGitlabMergeEvent_OngoingVerification) GetCapturedArguments() go_gitlab.MergeEvent
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
func (c *EventParsing_ParseGitlabMergeRequest_OngoingVerification) GetCapturedArguments() *go_gitlab.MergeRequest
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
func (c *GithubPullGetter_GetPullRequest_OngoingVerification) GetCapturedArguments() (models.Repo, int)
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
func (c *GitlabMergeRequestGetter_GetMergeRequest_OngoingVerification) GetCapturedArguments() (string, int)
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 (*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 (*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 (mock *MockExecutor) Execute(ctx *events.CommandContext) events.CommandResponse
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
func (mock *MockGitlabMergeRequestGetter) VerifyWasCalledOnce() *VerifierGitlabMergeRequestGetter
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 (mock *MockProjectPreExecutor) Execute(ctx *events.CommandContext, repoDir string, project models.Project) events.PreExecuteResult
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
func (c *ProjectFinder_FindModified_OngoingVerification) GetCapturedArguments() (*logging.SimpleLogger, []string, string)
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 ¶
func (c *ProjectPreExecutor_Execute_OngoingVerification) GetCapturedArguments() (*events.CommandContext, string, models.Project)
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 ¶
func (c *PullCleaner_CleanUpPull_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest, vcs.Host)
type VerifierCommandRunner ¶
type VerifierCommandRunner struct {
// contains filtered or unexported fields
}
func (*VerifierCommandRunner) ExecuteCommand ¶
type VerifierCommitStatusUpdater ¶ added in v0.2.0
type VerifierCommitStatusUpdater struct {
// contains filtered or unexported fields
}
func (*VerifierCommitStatusUpdater) Update ¶ added in v0.2.0
func (verifier *VerifierCommitStatusUpdater) Update(repo models.Repo, pull models.PullRequest, status vcs.CommitStatus, cmd *events.Command, host vcs.Host) *CommitStatusUpdater_Update_OngoingVerification
func (*VerifierCommitStatusUpdater) UpdateProjectResult ¶ added in v0.2.0
func (verifier *VerifierCommitStatusUpdater) UpdateProjectResult(ctx *events.CommandContext, res events.CommandResponse) *CommitStatusUpdater_UpdateProjectResult_OngoingVerification
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 (verifier *VerifierEventParsing) ParseGithubIssueCommentEvent(comment *github.IssueCommentEvent) *EventParsing_ParseGithubIssueCommentEvent_OngoingVerification
func (*VerifierEventParsing) ParseGithubPull ¶ added in v0.2.0
func (verifier *VerifierEventParsing) ParseGithubPull(pull *github.PullRequest) *EventParsing_ParseGithubPull_OngoingVerification
func (*VerifierEventParsing) ParseGithubRepo ¶ added in v0.2.0
func (verifier *VerifierEventParsing) ParseGithubRepo(ghRepo *github.Repository) *EventParsing_ParseGithubRepo_OngoingVerification
func (*VerifierEventParsing) ParseGitlabMergeCommentEvent ¶ added in v0.2.0
func (verifier *VerifierEventParsing) ParseGitlabMergeCommentEvent(event go_gitlab.MergeCommentEvent) *EventParsing_ParseGitlabMergeCommentEvent_OngoingVerification
func (*VerifierEventParsing) ParseGitlabMergeEvent ¶ added in v0.2.0
func (verifier *VerifierEventParsing) ParseGitlabMergeEvent(event go_gitlab.MergeEvent) *EventParsing_ParseGitlabMergeEvent_OngoingVerification
func (*VerifierEventParsing) ParseGitlabMergeRequest ¶ added in v0.2.0
func (verifier *VerifierEventParsing) ParseGitlabMergeRequest(mr *go_gitlab.MergeRequest) *EventParsing_ParseGitlabMergeRequest_OngoingVerification
type VerifierExecutor ¶
type VerifierExecutor struct {
// contains filtered or unexported fields
}
func (*VerifierExecutor) Execute ¶
func (verifier *VerifierExecutor) Execute(ctx *events.CommandContext) *Executor_Execute_OngoingVerification
type VerifierGithubPullGetter ¶ added in v0.2.0
type VerifierGithubPullGetter struct {
// contains filtered or unexported fields
}
func (*VerifierGithubPullGetter) GetPullRequest ¶ added in v0.2.0
func (verifier *VerifierGithubPullGetter) GetPullRequest(repo models.Repo, pullNum int) *GithubPullGetter_GetPullRequest_OngoingVerification
type VerifierGitlabMergeRequestGetter ¶ added in v0.2.0
type VerifierGitlabMergeRequestGetter struct {
// contains filtered or unexported fields
}
func (*VerifierGitlabMergeRequestGetter) GetMergeRequest ¶ added in v0.2.0
func (verifier *VerifierGitlabMergeRequestGetter) GetMergeRequest(repoFullName string, pullNum int) *GitlabMergeRequestGetter_GetMergeRequest_OngoingVerification
type VerifierLockURLGenerator ¶
type VerifierLockURLGenerator struct {
// contains filtered or unexported fields
}
func (*VerifierLockURLGenerator) SetLockURL ¶
func (verifier *VerifierLockURLGenerator) SetLockURL(_param0 func(string) string) *LockURLGenerator_SetLockURL_OngoingVerification
type VerifierProjectConfigReader ¶
type VerifierProjectConfigReader struct {
// contains filtered or unexported fields
}
func (*VerifierProjectConfigReader) Exists ¶
func (verifier *VerifierProjectConfigReader) Exists(projectPath string) *ProjectConfigReader_Exists_OngoingVerification
func (*VerifierProjectConfigReader) Read ¶
func (verifier *VerifierProjectConfigReader) Read(projectPath string) *ProjectConfigReader_Read_OngoingVerification
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 ¶
func (verifier *VerifierProjectPreExecutor) Execute(ctx *events.CommandContext, repoDir string, project models.Project) *ProjectPreExecutor_Execute_OngoingVerification
type VerifierPullCleaner ¶
type VerifierPullCleaner struct {
// contains filtered or unexported fields
}
func (*VerifierPullCleaner) CleanUpPull ¶
func (verifier *VerifierPullCleaner) CleanUpPull(repo models.Repo, pull models.PullRequest, host vcs.Host) *PullCleaner_CleanUpPull_OngoingVerification
type VerifierWorkspace ¶
type VerifierWorkspace struct {
// contains filtered or unexported fields
}
func (*VerifierWorkspace) Clone ¶
func (verifier *VerifierWorkspace) Clone(log *logging.SimpleLogger, baseRepo models.Repo, headRepo models.Repo, p models.PullRequest, env string) *Workspace_Clone_OngoingVerification
func (*VerifierWorkspace) Delete ¶
func (verifier *VerifierWorkspace) Delete(r models.Repo, p models.PullRequest) *Workspace_Delete_OngoingVerification
func (*VerifierWorkspace) GetWorkspace ¶
func (verifier *VerifierWorkspace) GetWorkspace(r models.Repo, p models.PullRequest, env string) *Workspace_GetWorkspace_OngoingVerification
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 ¶
func (c *Workspace_Clone_OngoingVerification) GetCapturedArguments() (*logging.SimpleLogger, models.Repo, models.Repo, models.PullRequest, string)
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 ¶
func (c *Workspace_GetWorkspace_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest, string)
Source Files ¶
- mock_command_runner.go
- mock_commit_status_updater.go
- mock_event_parsing.go
- mock_executor.go
- mock_github_pull_getter.go
- mock_gitlab_merge_request_getter.go
- mock_lock_url_generator.go
- mock_project_config_reader.go
- mock_project_finder.go
- mock_project_pre_executor.go
- mock_pull_cleaner.go
- mock_workspace.go
- mock_workspace_locker.go
Click to show internal directories.
Click to hide internal directories.