Documentation ¶
Index ¶
- type MockApplyCommandLocker
- func (mock *MockApplyCommandLocker) FailHandler() pegomock.FailHandler
- func (mock *MockApplyCommandLocker) IsDisabled(ctx *command.Context) bool
- func (mock *MockApplyCommandLocker) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockApplyCommandLocker) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockApplyCommandLocker
- func (mock *MockApplyCommandLocker) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockApplyCommandLocker
- func (mock *MockApplyCommandLocker) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierMockApplyCommandLocker
- func (mock *MockApplyCommandLocker) VerifyWasCalledOnce() *VerifierMockApplyCommandLocker
- type MockApplyCommandLocker_IsDisabled_OngoingVerification
- type MockApplyRequirement
- func (mock *MockApplyRequirement) FailHandler() pegomock.FailHandler
- func (mock *MockApplyRequirement) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockApplyRequirement) ValidateProject(_param0 string, _param1 command.ProjectContext) (string, error)
- func (mock *MockApplyRequirement) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockApplyRequirement
- func (mock *MockApplyRequirement) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockApplyRequirement
- func (mock *MockApplyRequirement) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockApplyRequirement
- func (mock *MockApplyRequirement) VerifyWasCalledOnce() *VerifierMockApplyRequirement
- type MockApplyRequirement_ValidateProject_OngoingVerification
- type MockAzureDevopsPullGetter
- func (mock *MockAzureDevopsPullGetter) FailHandler() pegomock.FailHandler
- func (mock *MockAzureDevopsPullGetter) GetPullRequest(repo models.Repo, pullNum int) (*azuredevops.GitPullRequest, error)
- func (mock *MockAzureDevopsPullGetter) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockAzureDevopsPullGetter) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockAzureDevopsPullGetter
- func (mock *MockAzureDevopsPullGetter) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockAzureDevopsPullGetter
- func (mock *MockAzureDevopsPullGetter) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockAzureDevopsPullGetter
- func (mock *MockAzureDevopsPullGetter) VerifyWasCalledOnce() *VerifierMockAzureDevopsPullGetter
- type MockAzureDevopsPullGetter_GetPullRequest_OngoingVerification
- type MockCommandRunner
- func (mock *MockCommandRunner) FailHandler() pegomock.FailHandler
- func (mock *MockCommandRunner) RunAutoplanCommand(baseRepo models.Repo, headRepo models.Repo, pull models.PullRequest, ...)
- func (mock *MockCommandRunner) RunCommentCommand(baseRepo models.Repo, maybeHeadRepo *models.Repo, ...)
- func (mock *MockCommandRunner) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockCommandRunner) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockCommandRunner
- func (mock *MockCommandRunner) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockCommandRunner
- func (mock *MockCommandRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockCommandRunner
- func (mock *MockCommandRunner) VerifyWasCalledOnce() *VerifierMockCommandRunner
- type MockCommandRunner_RunAutoplanCommand_OngoingVerification
- func (c *MockCommandRunner_RunAutoplanCommand_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.Repo, _param2 []models.PullRequest, ...)
- func (c *MockCommandRunner_RunAutoplanCommand_OngoingVerification) GetCapturedArguments() (models.Repo, models.Repo, models.PullRequest, models.User)
- type MockCommandRunner_RunCommentCommand_OngoingVerification
- func (c *MockCommandRunner_RunCommentCommand_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []*models.Repo, _param2 []*models.PullRequest, ...)
- func (c *MockCommandRunner_RunCommentCommand_OngoingVerification) GetCapturedArguments() (models.Repo, *models.Repo, *models.PullRequest, models.User, int, ...)
- type MockCommentBuilder
- func (mock *MockCommentBuilder) BuildApplyComment(repoRelDir string, workspace string, project string, autoMergeDisabled bool) string
- func (mock *MockCommentBuilder) BuildPlanComment(repoRelDir string, workspace string, project string, commentArgs []string) string
- func (mock *MockCommentBuilder) BuildVersionComment(repoRelDir string, workspace string, project string) string
- func (mock *MockCommentBuilder) FailHandler() pegomock.FailHandler
- func (mock *MockCommentBuilder) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockCommentBuilder) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockCommentBuilder
- func (mock *MockCommentBuilder) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockCommentBuilder
- func (mock *MockCommentBuilder) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockCommentBuilder
- func (mock *MockCommentBuilder) VerifyWasCalledOnce() *VerifierMockCommentBuilder
- type MockCommentBuilder_BuildApplyComment_OngoingVerification
- type MockCommentBuilder_BuildPlanComment_OngoingVerification
- type MockCommentBuilder_BuildVersionComment_OngoingVerification
- type MockCommentParsing
- func (mock *MockCommentParsing) FailHandler() pegomock.FailHandler
- func (mock *MockCommentParsing) Parse(comment string, vcsHost models.VCSHostType) events.CommentParseResult
- func (mock *MockCommentParsing) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockCommentParsing) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockCommentParsing
- func (mock *MockCommentParsing) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockCommentParsing
- func (mock *MockCommentParsing) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockCommentParsing
- func (mock *MockCommentParsing) VerifyWasCalledOnce() *VerifierMockCommentParsing
- type MockCommentParsing_Parse_OngoingVerification
- type MockCommitStatusUpdater
- func (mock *MockCommitStatusUpdater) FailHandler() pegomock.FailHandler
- func (mock *MockCommitStatusUpdater) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockCommitStatusUpdater) UpdateCombined(repo models.Repo, pull models.PullRequest, status models.CommitStatus, ...) error
- func (mock *MockCommitStatusUpdater) UpdateCombinedCount(repo models.Repo, pull models.PullRequest, status models.CommitStatus, ...) error
- func (mock *MockCommitStatusUpdater) UpdateProject(ctx command.ProjectContext, cmdName command.Name, status models.CommitStatus, ...) error
- func (mock *MockCommitStatusUpdater) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockCommitStatusUpdater
- func (mock *MockCommitStatusUpdater) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockCommitStatusUpdater
- func (mock *MockCommitStatusUpdater) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockCommitStatusUpdater
- func (mock *MockCommitStatusUpdater) VerifyWasCalledOnce() *VerifierMockCommitStatusUpdater
- type MockCommitStatusUpdater_UpdateCombinedCount_OngoingVerification
- func (c *MockCommitStatusUpdater_UpdateCombinedCount_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest, ...)
- func (c *MockCommitStatusUpdater_UpdateCombinedCount_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest, models.CommitStatus, command.Name, int, int)
- type MockCommitStatusUpdater_UpdateCombined_OngoingVerification
- func (c *MockCommitStatusUpdater_UpdateCombined_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest, ...)
- func (c *MockCommitStatusUpdater_UpdateCombined_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest, models.CommitStatus, command.Name)
- type MockCommitStatusUpdater_UpdateProject_OngoingVerification
- func (c *MockCommitStatusUpdater_UpdateProject_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext, _param1 []command.Name, ...)
- func (c *MockCommitStatusUpdater_UpdateProject_OngoingVerification) GetCapturedArguments() (command.ProjectContext, command.Name, models.CommitStatus, string)
- type MockCustomStepRunner
- func (mock *MockCustomStepRunner) FailHandler() pegomock.FailHandler
- func (mock *MockCustomStepRunner) Run(ctx command.ProjectContext, cmd string, path string, envs map[string]string) (string, error)
- func (mock *MockCustomStepRunner) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockCustomStepRunner) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockCustomStepRunner
- func (mock *MockCustomStepRunner) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockCustomStepRunner
- func (mock *MockCustomStepRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockCustomStepRunner
- func (mock *MockCustomStepRunner) VerifyWasCalledOnce() *VerifierMockCustomStepRunner
- type MockCustomStepRunner_Run_OngoingVerification
- type MockDeleteLockCommand
- func (mock *MockDeleteLockCommand) DeleteLock(id string) (*models.ProjectLock, error)
- func (mock *MockDeleteLockCommand) DeleteLocksByPull(repoFullName string, pullNum int) (int, error)
- func (mock *MockDeleteLockCommand) FailHandler() pegomock.FailHandler
- func (mock *MockDeleteLockCommand) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockDeleteLockCommand) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockDeleteLockCommand
- func (mock *MockDeleteLockCommand) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockDeleteLockCommand
- func (mock *MockDeleteLockCommand) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockDeleteLockCommand
- func (mock *MockDeleteLockCommand) VerifyWasCalledOnce() *VerifierMockDeleteLockCommand
- type MockDeleteLockCommand_DeleteLock_OngoingVerification
- type MockDeleteLockCommand_DeleteLocksByPull_OngoingVerification
- type MockEnvStepRunner
- func (mock *MockEnvStepRunner) FailHandler() pegomock.FailHandler
- func (mock *MockEnvStepRunner) Run(ctx command.ProjectContext, cmd string, value string, path string, ...) (string, error)
- func (mock *MockEnvStepRunner) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockEnvStepRunner) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockEnvStepRunner
- func (mock *MockEnvStepRunner) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockEnvStepRunner
- func (mock *MockEnvStepRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockEnvStepRunner
- func (mock *MockEnvStepRunner) VerifyWasCalledOnce() *VerifierMockEnvStepRunner
- type MockEnvStepRunner_Run_OngoingVerification
- type MockEventParsing
- func (mock *MockEventParsing) FailHandler() pegomock.FailHandler
- func (mock *MockEventParsing) GetBitbucketCloudPullEventType(eventTypeHeader string) models.PullRequestEventType
- func (mock *MockEventParsing) GetBitbucketServerPullEventType(eventTypeHeader string) models.PullRequestEventType
- func (mock *MockEventParsing) ParseAzureDevopsPull(adPull *azuredevops.GitPullRequest) (models.PullRequest, models.Repo, models.Repo, error)
- func (mock *MockEventParsing) ParseAzureDevopsPullEvent(pullEvent azuredevops.Event) (models.PullRequest, models.PullRequestEventType, models.Repo, models.Repo, ...)
- func (mock *MockEventParsing) ParseAzureDevopsRepo(adRepo *azuredevops.GitRepository) (models.Repo, error)
- func (mock *MockEventParsing) ParseBitbucketCloudPullCommentEvent(body []byte) (models.PullRequest, models.Repo, models.Repo, models.User, string, error)
- func (mock *MockEventParsing) ParseBitbucketCloudPullEvent(body []byte) (models.PullRequest, models.Repo, models.Repo, models.User, error)
- func (mock *MockEventParsing) ParseBitbucketServerPullCommentEvent(body []byte) (models.PullRequest, models.Repo, models.Repo, models.User, string, error)
- func (mock *MockEventParsing) ParseBitbucketServerPullEvent(body []byte) (models.PullRequest, models.Repo, models.Repo, models.User, error)
- func (mock *MockEventParsing) ParseGithubIssueCommentEvent(comment *github.IssueCommentEvent) (models.Repo, models.User, int, error)
- func (mock *MockEventParsing) ParseGithubPull(ghPull *github.PullRequest) (models.PullRequest, models.Repo, models.Repo, error)
- func (mock *MockEventParsing) ParseGithubPullEvent(pullEvent *github.PullRequestEvent) (models.PullRequest, models.PullRequestEventType, models.Repo, models.Repo, ...)
- func (mock *MockEventParsing) ParseGithubRepo(ghRepo *github.Repository) (models.Repo, error)
- func (mock *MockEventParsing) ParseGitlabMergeRequest(mr *go_gitlab.MergeRequest, baseRepo models.Repo) models.PullRequest
- func (mock *MockEventParsing) ParseGitlabMergeRequestCommentEvent(event go_gitlab.MergeCommentEvent) (models.Repo, models.Repo, models.User, error)
- func (mock *MockEventParsing) ParseGitlabMergeRequestEvent(event go_gitlab.MergeEvent) (models.PullRequest, models.PullRequestEventType, models.Repo, models.Repo, ...)
- func (mock *MockEventParsing) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockEventParsing) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockEventParsing
- func (mock *MockEventParsing) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockEventParsing
- func (mock *MockEventParsing) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockEventParsing
- func (mock *MockEventParsing) VerifyWasCalledOnce() *VerifierMockEventParsing
- type MockEventParsing_GetBitbucketCloudPullEventType_OngoingVerification
- type MockEventParsing_GetBitbucketServerPullEventType_OngoingVerification
- type MockEventParsing_ParseAzureDevopsPullEvent_OngoingVerification
- type MockEventParsing_ParseAzureDevopsPull_OngoingVerification
- type MockEventParsing_ParseAzureDevopsRepo_OngoingVerification
- type MockEventParsing_ParseBitbucketCloudPullCommentEvent_OngoingVerification
- type MockEventParsing_ParseBitbucketCloudPullEvent_OngoingVerification
- type MockEventParsing_ParseBitbucketServerPullCommentEvent_OngoingVerification
- type MockEventParsing_ParseBitbucketServerPullEvent_OngoingVerification
- type MockEventParsing_ParseGithubIssueCommentEvent_OngoingVerification
- type MockEventParsing_ParseGithubPullEvent_OngoingVerification
- type MockEventParsing_ParseGithubPull_OngoingVerification
- type MockEventParsing_ParseGithubRepo_OngoingVerification
- type MockEventParsing_ParseGitlabMergeRequestCommentEvent_OngoingVerification
- type MockEventParsing_ParseGitlabMergeRequestEvent_OngoingVerification
- type MockEventParsing_ParseGitlabMergeRequest_OngoingVerification
- type MockGithubPullGetter
- func (mock *MockGithubPullGetter) FailHandler() pegomock.FailHandler
- func (mock *MockGithubPullGetter) GetPullRequest(repo models.Repo, pullNum int) (*github.PullRequest, error)
- func (mock *MockGithubPullGetter) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockGithubPullGetter) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockGithubPullGetter
- func (mock *MockGithubPullGetter) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockGithubPullGetter
- func (mock *MockGithubPullGetter) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockGithubPullGetter
- func (mock *MockGithubPullGetter) VerifyWasCalledOnce() *VerifierMockGithubPullGetter
- type MockGithubPullGetter_GetPullRequest_OngoingVerification
- type MockGitlabMergeRequestGetter
- func (mock *MockGitlabMergeRequestGetter) FailHandler() pegomock.FailHandler
- func (mock *MockGitlabMergeRequestGetter) GetMergeRequest(repoFullName string, pullNum int) (*go_gitlab.MergeRequest, error)
- func (mock *MockGitlabMergeRequestGetter) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockGitlabMergeRequestGetter) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockGitlabMergeRequestGetter
- func (mock *MockGitlabMergeRequestGetter) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockGitlabMergeRequestGetter
- func (mock *MockGitlabMergeRequestGetter) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockGitlabMergeRequestGetter
- func (mock *MockGitlabMergeRequestGetter) VerifyWasCalledOnce() *VerifierMockGitlabMergeRequestGetter
- type MockGitlabMergeRequestGetter_GetMergeRequest_OngoingVerification
- type MockJobIDGenerator
- func (mock *MockJobIDGenerator) FailHandler() pegomock.FailHandler
- func (mock *MockJobIDGenerator) GenerateJobID() string
- func (mock *MockJobIDGenerator) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockJobIDGenerator) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockJobIDGenerator
- func (mock *MockJobIDGenerator) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockJobIDGenerator
- func (mock *MockJobIDGenerator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockJobIDGenerator
- func (mock *MockJobIDGenerator) VerifyWasCalledOnce() *VerifierMockJobIDGenerator
- type MockJobIDGenerator_GenerateJobID_OngoingVerification
- type MockJobMessageSender
- func (mock *MockJobMessageSender) FailHandler() pegomock.FailHandler
- func (mock *MockJobMessageSender) Send(_param0 command.ProjectContext, _param1 string, _param2 bool)
- func (mock *MockJobMessageSender) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockJobMessageSender) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockJobMessageSender
- func (mock *MockJobMessageSender) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockJobMessageSender
- func (mock *MockJobMessageSender) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockJobMessageSender
- func (mock *MockJobMessageSender) VerifyWasCalledOnce() *VerifierMockJobMessageSender
- type MockJobMessageSender_Send_OngoingVerification
- type MockJobURLSetter
- func (mock *MockJobURLSetter) FailHandler() pegomock.FailHandler
- func (mock *MockJobURLSetter) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockJobURLSetter) SetJobURLWithStatus(_param0 command.ProjectContext, _param1 command.Name, ...) error
- func (mock *MockJobURLSetter) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockJobURLSetter
- func (mock *MockJobURLSetter) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockJobURLSetter
- func (mock *MockJobURLSetter) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockJobURLSetter
- func (mock *MockJobURLSetter) VerifyWasCalledOnce() *VerifierMockJobURLSetter
- type MockJobURLSetter_SetJobURLWithStatus_OngoingVerification
- func (c *MockJobURLSetter_SetJobURLWithStatus_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext, _param1 []command.Name, ...)
- func (c *MockJobURLSetter_SetJobURLWithStatus_OngoingVerification) GetCapturedArguments() (command.ProjectContext, command.Name, models.CommitStatus)
- type MockJobsUrlGenerator
- func (mock *MockJobsUrlGenerator) FailHandler() pegomock.FailHandler
- func (mock *MockJobsUrlGenerator) GenerateProjectJobsUrl(pull models.PullRequest, p command.ProjectContext) string
- func (mock *MockJobsUrlGenerator) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockJobsUrlGenerator) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockJobsUrlGenerator
- func (mock *MockJobsUrlGenerator) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockJobsUrlGenerator
- func (mock *MockJobsUrlGenerator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockJobsUrlGenerator
- func (mock *MockJobsUrlGenerator) VerifyWasCalledOnce() *VerifierMockJobsUrlGenerator
- type MockJobsUrlGenerator_GenerateProjectJobsUrl_OngoingVerification
- func (c *MockJobsUrlGenerator_GenerateProjectJobsUrl_OngoingVerification) GetAllCapturedArguments() (_param0 []models.PullRequest, _param1 []command.ProjectContext)
- func (c *MockJobsUrlGenerator_GenerateProjectJobsUrl_OngoingVerification) GetCapturedArguments() (models.PullRequest, command.ProjectContext)
- type MockLockURLGenerator
- func (mock *MockLockURLGenerator) FailHandler() pegomock.FailHandler
- func (mock *MockLockURLGenerator) GenerateLockURL(lockID string) string
- func (mock *MockLockURLGenerator) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockLockURLGenerator) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockLockURLGenerator
- func (mock *MockLockURLGenerator) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockLockURLGenerator
- func (mock *MockLockURLGenerator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockLockURLGenerator
- func (mock *MockLockURLGenerator) VerifyWasCalledOnce() *VerifierMockLockURLGenerator
- type MockLockURLGenerator_GenerateLockURL_OngoingVerification
- type MockPendingPlanFinder
- func (mock *MockPendingPlanFinder) DeletePlans(pullDir string) error
- func (mock *MockPendingPlanFinder) FailHandler() pegomock.FailHandler
- func (mock *MockPendingPlanFinder) Find(pullDir string) ([]events.PendingPlan, error)
- func (mock *MockPendingPlanFinder) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockPendingPlanFinder) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockPendingPlanFinder
- func (mock *MockPendingPlanFinder) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockPendingPlanFinder
- func (mock *MockPendingPlanFinder) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockPendingPlanFinder
- func (mock *MockPendingPlanFinder) VerifyWasCalledOnce() *VerifierMockPendingPlanFinder
- type MockPendingPlanFinder_DeletePlans_OngoingVerification
- type MockPendingPlanFinder_Find_OngoingVerification
- type MockPostWorkflowHooksCommandRunner
- func (mock *MockPostWorkflowHooksCommandRunner) FailHandler() pegomock.FailHandler
- func (mock *MockPostWorkflowHooksCommandRunner) RunPostHooks(ctx *command.Context) error
- func (mock *MockPostWorkflowHooksCommandRunner) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockPostWorkflowHooksCommandRunner) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockPostWorkflowHooksCommandRunner
- func (mock *MockPostWorkflowHooksCommandRunner) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockPostWorkflowHooksCommandRunner
- func (mock *MockPostWorkflowHooksCommandRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockPostWorkflowHooksCommandRunner
- func (mock *MockPostWorkflowHooksCommandRunner) VerifyWasCalledOnce() *VerifierMockPostWorkflowHooksCommandRunner
- type MockPostWorkflowHooksCommandRunner_RunPostHooks_OngoingVerification
- type MockPreWorkflowHooksCommandRunner
- func (mock *MockPreWorkflowHooksCommandRunner) FailHandler() pegomock.FailHandler
- func (mock *MockPreWorkflowHooksCommandRunner) RunPreHooks(ctx *command.Context) error
- func (mock *MockPreWorkflowHooksCommandRunner) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockPreWorkflowHooksCommandRunner) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockPreWorkflowHooksCommandRunner
- func (mock *MockPreWorkflowHooksCommandRunner) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockPreWorkflowHooksCommandRunner
- func (mock *MockPreWorkflowHooksCommandRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockPreWorkflowHooksCommandRunner
- func (mock *MockPreWorkflowHooksCommandRunner) VerifyWasCalledOnce() *VerifierMockPreWorkflowHooksCommandRunner
- type MockPreWorkflowHooksCommandRunner_RunPreHooks_OngoingVerification
- type MockProjectCommandBuilder
- func (mock *MockProjectCommandBuilder) BuildApplyCommands(ctx *command.Context, comment *events.CommentCommand) ([]command.ProjectContext, error)
- func (mock *MockProjectCommandBuilder) BuildApprovePoliciesCommands(ctx *command.Context, comment *events.CommentCommand) ([]command.ProjectContext, error)
- func (mock *MockProjectCommandBuilder) BuildAutoplanCommands(ctx *command.Context) ([]command.ProjectContext, error)
- func (mock *MockProjectCommandBuilder) BuildPlanCommands(ctx *command.Context, comment *events.CommentCommand) ([]command.ProjectContext, error)
- func (mock *MockProjectCommandBuilder) BuildVersionCommands(ctx *command.Context, comment *events.CommentCommand) ([]command.ProjectContext, error)
- func (mock *MockProjectCommandBuilder) FailHandler() pegomock.FailHandler
- func (mock *MockProjectCommandBuilder) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockProjectCommandBuilder) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockProjectCommandBuilder
- func (mock *MockProjectCommandBuilder) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockProjectCommandBuilder
- func (mock *MockProjectCommandBuilder) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockProjectCommandBuilder
- func (mock *MockProjectCommandBuilder) VerifyWasCalledOnce() *VerifierMockProjectCommandBuilder
- type MockProjectCommandBuilder_BuildApplyCommands_OngoingVerification
- func (c *MockProjectCommandBuilder_BuildApplyCommands_OngoingVerification) GetAllCapturedArguments() (_param0 []*command.Context, _param1 []*events.CommentCommand)
- func (c *MockProjectCommandBuilder_BuildApplyCommands_OngoingVerification) GetCapturedArguments() (*command.Context, *events.CommentCommand)
- type MockProjectCommandBuilder_BuildApprovePoliciesCommands_OngoingVerification
- func (c *MockProjectCommandBuilder_BuildApprovePoliciesCommands_OngoingVerification) GetAllCapturedArguments() (_param0 []*command.Context, _param1 []*events.CommentCommand)
- func (c *MockProjectCommandBuilder_BuildApprovePoliciesCommands_OngoingVerification) GetCapturedArguments() (*command.Context, *events.CommentCommand)
- type MockProjectCommandBuilder_BuildAutoplanCommands_OngoingVerification
- type MockProjectCommandBuilder_BuildPlanCommands_OngoingVerification
- func (c *MockProjectCommandBuilder_BuildPlanCommands_OngoingVerification) GetAllCapturedArguments() (_param0 []*command.Context, _param1 []*events.CommentCommand)
- func (c *MockProjectCommandBuilder_BuildPlanCommands_OngoingVerification) GetCapturedArguments() (*command.Context, *events.CommentCommand)
- type MockProjectCommandBuilder_BuildVersionCommands_OngoingVerification
- func (c *MockProjectCommandBuilder_BuildVersionCommands_OngoingVerification) GetAllCapturedArguments() (_param0 []*command.Context, _param1 []*events.CommentCommand)
- func (c *MockProjectCommandBuilder_BuildVersionCommands_OngoingVerification) GetCapturedArguments() (*command.Context, *events.CommentCommand)
- type MockProjectCommandRunner
- func (mock *MockProjectCommandRunner) Apply(ctx command.ProjectContext) command.ProjectResult
- func (mock *MockProjectCommandRunner) ApprovePolicies(ctx command.ProjectContext) command.ProjectResult
- func (mock *MockProjectCommandRunner) FailHandler() pegomock.FailHandler
- func (mock *MockProjectCommandRunner) Plan(ctx command.ProjectContext) command.ProjectResult
- func (mock *MockProjectCommandRunner) PolicyCheck(ctx command.ProjectContext) command.ProjectResult
- func (mock *MockProjectCommandRunner) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockProjectCommandRunner) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockProjectCommandRunner
- func (mock *MockProjectCommandRunner) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockProjectCommandRunner
- func (mock *MockProjectCommandRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockProjectCommandRunner
- func (mock *MockProjectCommandRunner) VerifyWasCalledOnce() *VerifierMockProjectCommandRunner
- func (mock *MockProjectCommandRunner) Version(ctx command.ProjectContext) command.ProjectResult
- type MockProjectCommandRunner_Apply_OngoingVerification
- type MockProjectCommandRunner_ApprovePolicies_OngoingVerification
- type MockProjectCommandRunner_Plan_OngoingVerification
- type MockProjectCommandRunner_PolicyCheck_OngoingVerification
- type MockProjectCommandRunner_Version_OngoingVerification
- type MockProjectLocker
- func (mock *MockProjectLocker) FailHandler() pegomock.FailHandler
- func (mock *MockProjectLocker) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockProjectLocker) TryLock(log logging.SimpleLogging, pull models.PullRequest, user models.User, ...) (*events.TryLockResponse, error)
- func (mock *MockProjectLocker) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockProjectLocker
- func (mock *MockProjectLocker) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockProjectLocker
- func (mock *MockProjectLocker) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockProjectLocker
- func (mock *MockProjectLocker) VerifyWasCalledOnce() *VerifierMockProjectLocker
- type MockProjectLocker_TryLock_OngoingVerification
- func (c *MockProjectLocker_TryLock_OngoingVerification) GetAllCapturedArguments() (_param0 []logging.SimpleLogging, _param1 []models.PullRequest, ...)
- func (c *MockProjectLocker_TryLock_OngoingVerification) GetCapturedArguments() (logging.SimpleLogging, models.PullRequest, models.User, string, models.Project)
- type MockPullCleaner
- func (mock *MockPullCleaner) CleanUpPull(repo models.Repo, pull models.PullRequest) error
- func (mock *MockPullCleaner) FailHandler() pegomock.FailHandler
- func (mock *MockPullCleaner) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockPullCleaner) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockPullCleaner
- func (mock *MockPullCleaner) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockPullCleaner
- func (mock *MockPullCleaner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockPullCleaner
- func (mock *MockPullCleaner) VerifyWasCalledOnce() *VerifierMockPullCleaner
- type MockPullCleaner_CleanUpPull_OngoingVerification
- type MockResourceCleaner
- func (mock *MockResourceCleaner) CleanUp(_param0 jobs.PullInfo)
- func (mock *MockResourceCleaner) FailHandler() pegomock.FailHandler
- func (mock *MockResourceCleaner) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockResourceCleaner) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockResourceCleaner
- func (mock *MockResourceCleaner) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockResourceCleaner
- func (mock *MockResourceCleaner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockResourceCleaner
- func (mock *MockResourceCleaner) VerifyWasCalledOnce() *VerifierMockResourceCleaner
- type MockResourceCleaner_CleanUp_OngoingVerification
- type MockStepRunner
- func (mock *MockStepRunner) FailHandler() pegomock.FailHandler
- func (mock *MockStepRunner) Run(ctx command.ProjectContext, extraArgs []string, path string, ...) (string, error)
- func (mock *MockStepRunner) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockStepRunner) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockStepRunner
- func (mock *MockStepRunner) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockStepRunner
- func (mock *MockStepRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockStepRunner
- func (mock *MockStepRunner) VerifyWasCalledOnce() *VerifierMockStepRunner
- type MockStepRunner_Run_OngoingVerification
- type MockWebhooksSender
- func (mock *MockWebhooksSender) FailHandler() pegomock.FailHandler
- func (mock *MockWebhooksSender) Send(log logging.SimpleLogging, res webhooks.ApplyResult) error
- func (mock *MockWebhooksSender) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockWebhooksSender) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockWebhooksSender
- func (mock *MockWebhooksSender) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockWebhooksSender
- func (mock *MockWebhooksSender) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockWebhooksSender
- func (mock *MockWebhooksSender) VerifyWasCalledOnce() *VerifierMockWebhooksSender
- type MockWebhooksSender_Send_OngoingVerification
- type MockWorkingDir
- func (mock *MockWorkingDir) Clone(log logging.SimpleLogging, headRepo models.Repo, p models.PullRequest, ...) (string, bool, error)
- func (mock *MockWorkingDir) Delete(r models.Repo, p models.PullRequest) error
- func (mock *MockWorkingDir) DeleteForWorkspace(r models.Repo, p models.PullRequest, workspace string) error
- func (mock *MockWorkingDir) FailHandler() pegomock.FailHandler
- func (mock *MockWorkingDir) GetPullDir(r models.Repo, p models.PullRequest) (string, error)
- func (mock *MockWorkingDir) GetWorkingDir(r models.Repo, p models.PullRequest, workspace string) (string, error)
- func (mock *MockWorkingDir) HasDiverged(log logging.SimpleLogging, cloneDir string) bool
- func (mock *MockWorkingDir) IsFileTracked(log logging.SimpleLogging, cloneDir string, filename string) (bool, error)
- func (mock *MockWorkingDir) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockWorkingDir) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockWorkingDir
- func (mock *MockWorkingDir) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockWorkingDir
- func (mock *MockWorkingDir) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockWorkingDir
- func (mock *MockWorkingDir) VerifyWasCalledOnce() *VerifierMockWorkingDir
- type MockWorkingDirLocker
- func (mock *MockWorkingDirLocker) FailHandler() pegomock.FailHandler
- func (mock *MockWorkingDirLocker) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockWorkingDirLocker) TryLock(repoFullName string, pullNum int, workspace string, path string) (func(), error)
- func (mock *MockWorkingDirLocker) TryLockPull(repoFullName string, pullNum int) (func(), error)
- func (mock *MockWorkingDirLocker) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockWorkingDirLocker
- func (mock *MockWorkingDirLocker) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockWorkingDirLocker
- func (mock *MockWorkingDirLocker) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockWorkingDirLocker
- func (mock *MockWorkingDirLocker) VerifyWasCalledOnce() *VerifierMockWorkingDirLocker
- type MockWorkingDirLocker_TryLockPull_OngoingVerification
- type MockWorkingDirLocker_TryLock_OngoingVerification
- type MockWorkingDir_Clone_OngoingVerification
- type MockWorkingDir_DeleteForWorkspace_OngoingVerification
- type MockWorkingDir_Delete_OngoingVerification
- type MockWorkingDir_GetPullDir_OngoingVerification
- type MockWorkingDir_GetWorkingDir_OngoingVerification
- type MockWorkingDir_HasDiverged_OngoingVerification
- type MockWorkingDir_IsFileTracked_OngoingVerification
- type VerifierMockApplyCommandLocker
- type VerifierMockApplyRequirement
- type VerifierMockAzureDevopsPullGetter
- type VerifierMockCommandRunner
- func (verifier *VerifierMockCommandRunner) RunAutoplanCommand(baseRepo models.Repo, headRepo models.Repo, pull models.PullRequest, ...) *MockCommandRunner_RunAutoplanCommand_OngoingVerification
- func (verifier *VerifierMockCommandRunner) RunCommentCommand(baseRepo models.Repo, maybeHeadRepo *models.Repo, ...) *MockCommandRunner_RunCommentCommand_OngoingVerification
- type VerifierMockCommentBuilder
- func (verifier *VerifierMockCommentBuilder) BuildApplyComment(repoRelDir string, workspace string, project string, autoMergeDisabled bool) *MockCommentBuilder_BuildApplyComment_OngoingVerification
- func (verifier *VerifierMockCommentBuilder) BuildPlanComment(repoRelDir string, workspace string, project string, commentArgs []string) *MockCommentBuilder_BuildPlanComment_OngoingVerification
- func (verifier *VerifierMockCommentBuilder) BuildVersionComment(repoRelDir string, workspace string, project string) *MockCommentBuilder_BuildVersionComment_OngoingVerification
- type VerifierMockCommentParsing
- type VerifierMockCommitStatusUpdater
- func (verifier *VerifierMockCommitStatusUpdater) UpdateCombined(repo models.Repo, pull models.PullRequest, status models.CommitStatus, ...) *MockCommitStatusUpdater_UpdateCombined_OngoingVerification
- func (verifier *VerifierMockCommitStatusUpdater) UpdateCombinedCount(repo models.Repo, pull models.PullRequest, status models.CommitStatus, ...) *MockCommitStatusUpdater_UpdateCombinedCount_OngoingVerification
- func (verifier *VerifierMockCommitStatusUpdater) UpdateProject(ctx command.ProjectContext, cmdName command.Name, status models.CommitStatus, ...) *MockCommitStatusUpdater_UpdateProject_OngoingVerification
- type VerifierMockCustomStepRunner
- type VerifierMockDeleteLockCommand
- type VerifierMockEnvStepRunner
- type VerifierMockEventParsing
- func (verifier *VerifierMockEventParsing) GetBitbucketCloudPullEventType(eventTypeHeader string) *MockEventParsing_GetBitbucketCloudPullEventType_OngoingVerification
- func (verifier *VerifierMockEventParsing) GetBitbucketServerPullEventType(eventTypeHeader string) *MockEventParsing_GetBitbucketServerPullEventType_OngoingVerification
- func (verifier *VerifierMockEventParsing) ParseAzureDevopsPull(adPull *azuredevops.GitPullRequest) *MockEventParsing_ParseAzureDevopsPull_OngoingVerification
- func (verifier *VerifierMockEventParsing) ParseAzureDevopsPullEvent(pullEvent azuredevops.Event) *MockEventParsing_ParseAzureDevopsPullEvent_OngoingVerification
- func (verifier *VerifierMockEventParsing) ParseAzureDevopsRepo(adRepo *azuredevops.GitRepository) *MockEventParsing_ParseAzureDevopsRepo_OngoingVerification
- func (verifier *VerifierMockEventParsing) ParseBitbucketCloudPullCommentEvent(body []byte) *MockEventParsing_ParseBitbucketCloudPullCommentEvent_OngoingVerification
- func (verifier *VerifierMockEventParsing) ParseBitbucketCloudPullEvent(body []byte) *MockEventParsing_ParseBitbucketCloudPullEvent_OngoingVerification
- func (verifier *VerifierMockEventParsing) ParseBitbucketServerPullCommentEvent(body []byte) *MockEventParsing_ParseBitbucketServerPullCommentEvent_OngoingVerification
- func (verifier *VerifierMockEventParsing) ParseBitbucketServerPullEvent(body []byte) *MockEventParsing_ParseBitbucketServerPullEvent_OngoingVerification
- func (verifier *VerifierMockEventParsing) ParseGithubIssueCommentEvent(comment *github.IssueCommentEvent) *MockEventParsing_ParseGithubIssueCommentEvent_OngoingVerification
- func (verifier *VerifierMockEventParsing) ParseGithubPull(ghPull *github.PullRequest) *MockEventParsing_ParseGithubPull_OngoingVerification
- func (verifier *VerifierMockEventParsing) ParseGithubPullEvent(pullEvent *github.PullRequestEvent) *MockEventParsing_ParseGithubPullEvent_OngoingVerification
- func (verifier *VerifierMockEventParsing) ParseGithubRepo(ghRepo *github.Repository) *MockEventParsing_ParseGithubRepo_OngoingVerification
- func (verifier *VerifierMockEventParsing) ParseGitlabMergeRequest(mr *go_gitlab.MergeRequest, baseRepo models.Repo) *MockEventParsing_ParseGitlabMergeRequest_OngoingVerification
- func (verifier *VerifierMockEventParsing) ParseGitlabMergeRequestCommentEvent(event go_gitlab.MergeCommentEvent) *MockEventParsing_ParseGitlabMergeRequestCommentEvent_OngoingVerification
- func (verifier *VerifierMockEventParsing) ParseGitlabMergeRequestEvent(event go_gitlab.MergeEvent) *MockEventParsing_ParseGitlabMergeRequestEvent_OngoingVerification
- type VerifierMockGithubPullGetter
- type VerifierMockGitlabMergeRequestGetter
- type VerifierMockJobIDGenerator
- type VerifierMockJobMessageSender
- type VerifierMockJobURLSetter
- type VerifierMockJobsUrlGenerator
- type VerifierMockLockURLGenerator
- type VerifierMockPendingPlanFinder
- type VerifierMockPostWorkflowHooksCommandRunner
- type VerifierMockPreWorkflowHooksCommandRunner
- type VerifierMockProjectCommandBuilder
- func (verifier *VerifierMockProjectCommandBuilder) BuildApplyCommands(ctx *command.Context, comment *events.CommentCommand) *MockProjectCommandBuilder_BuildApplyCommands_OngoingVerification
- func (verifier *VerifierMockProjectCommandBuilder) BuildApprovePoliciesCommands(ctx *command.Context, comment *events.CommentCommand) *MockProjectCommandBuilder_BuildApprovePoliciesCommands_OngoingVerification
- func (verifier *VerifierMockProjectCommandBuilder) BuildAutoplanCommands(ctx *command.Context) *MockProjectCommandBuilder_BuildAutoplanCommands_OngoingVerification
- func (verifier *VerifierMockProjectCommandBuilder) BuildPlanCommands(ctx *command.Context, comment *events.CommentCommand) *MockProjectCommandBuilder_BuildPlanCommands_OngoingVerification
- func (verifier *VerifierMockProjectCommandBuilder) BuildVersionCommands(ctx *command.Context, comment *events.CommentCommand) *MockProjectCommandBuilder_BuildVersionCommands_OngoingVerification
- type VerifierMockProjectCommandRunner
- func (verifier *VerifierMockProjectCommandRunner) Apply(ctx command.ProjectContext) *MockProjectCommandRunner_Apply_OngoingVerification
- func (verifier *VerifierMockProjectCommandRunner) ApprovePolicies(ctx command.ProjectContext) *MockProjectCommandRunner_ApprovePolicies_OngoingVerification
- func (verifier *VerifierMockProjectCommandRunner) Plan(ctx command.ProjectContext) *MockProjectCommandRunner_Plan_OngoingVerification
- func (verifier *VerifierMockProjectCommandRunner) PolicyCheck(ctx command.ProjectContext) *MockProjectCommandRunner_PolicyCheck_OngoingVerification
- func (verifier *VerifierMockProjectCommandRunner) Version(ctx command.ProjectContext) *MockProjectCommandRunner_Version_OngoingVerification
- type VerifierMockProjectLocker
- type VerifierMockPullCleaner
- type VerifierMockResourceCleaner
- type VerifierMockStepRunner
- type VerifierMockWebhooksSender
- type VerifierMockWorkingDir
- func (verifier *VerifierMockWorkingDir) Clone(log logging.SimpleLogging, headRepo models.Repo, p models.PullRequest, ...) *MockWorkingDir_Clone_OngoingVerification
- func (verifier *VerifierMockWorkingDir) Delete(r models.Repo, p models.PullRequest) *MockWorkingDir_Delete_OngoingVerification
- func (verifier *VerifierMockWorkingDir) DeleteForWorkspace(r models.Repo, p models.PullRequest, workspace string) *MockWorkingDir_DeleteForWorkspace_OngoingVerification
- func (verifier *VerifierMockWorkingDir) GetPullDir(r models.Repo, p models.PullRequest) *MockWorkingDir_GetPullDir_OngoingVerification
- func (verifier *VerifierMockWorkingDir) GetWorkingDir(r models.Repo, p models.PullRequest, workspace string) *MockWorkingDir_GetWorkingDir_OngoingVerification
- func (verifier *VerifierMockWorkingDir) HasDiverged(log logging.SimpleLogging, cloneDir string) *MockWorkingDir_HasDiverged_OngoingVerification
- func (verifier *VerifierMockWorkingDir) IsFileTracked(log logging.SimpleLogging, cloneDir string, filename string) *MockWorkingDir_IsFileTracked_OngoingVerification
- type VerifierMockWorkingDirLocker
- func (verifier *VerifierMockWorkingDirLocker) TryLock(repoFullName string, pullNum int, workspace string) *MockWorkingDirLocker_TryLock_OngoingVerification
- func (verifier *VerifierMockWorkingDirLocker) TryLockPull(repoFullName string, pullNum int) *MockWorkingDirLocker_TryLockPull_OngoingVerification
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockApplyCommandLocker ¶ added in v0.17.0
type MockApplyCommandLocker struct {
// contains filtered or unexported fields
}
func NewMockApplyCommandLocker ¶ added in v0.17.0
func NewMockApplyCommandLocker(options ...pegomock.Option) *MockApplyCommandLocker
func (*MockApplyCommandLocker) FailHandler ¶ added in v0.17.0
func (mock *MockApplyCommandLocker) FailHandler() pegomock.FailHandler
func (*MockApplyCommandLocker) IsDisabled ¶ added in v0.17.0
func (mock *MockApplyCommandLocker) IsDisabled(ctx *command.Context) bool
func (*MockApplyCommandLocker) SetFailHandler ¶ added in v0.17.0
func (mock *MockApplyCommandLocker) SetFailHandler(fh pegomock.FailHandler)
func (*MockApplyCommandLocker) VerifyWasCalled ¶ added in v0.17.0
func (mock *MockApplyCommandLocker) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockApplyCommandLocker
func (*MockApplyCommandLocker) VerifyWasCalledEventually ¶ added in v0.17.0
func (mock *MockApplyCommandLocker) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockApplyCommandLocker
func (*MockApplyCommandLocker) VerifyWasCalledInOrder ¶ added in v0.17.0
func (mock *MockApplyCommandLocker) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierMockApplyCommandLocker
func (*MockApplyCommandLocker) VerifyWasCalledOnce ¶ added in v0.17.0
func (mock *MockApplyCommandLocker) VerifyWasCalledOnce() *VerifierMockApplyCommandLocker
type MockApplyCommandLocker_IsDisabled_OngoingVerification ¶ added in v0.17.0
type MockApplyCommandLocker_IsDisabled_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockApplyCommandLocker_IsDisabled_OngoingVerification) GetAllCapturedArguments ¶ added in v0.17.0
func (c *MockApplyCommandLocker_IsDisabled_OngoingVerification) GetAllCapturedArguments() (_param0 []*command.Context)
func (*MockApplyCommandLocker_IsDisabled_OngoingVerification) GetCapturedArguments ¶ added in v0.17.0
func (c *MockApplyCommandLocker_IsDisabled_OngoingVerification) GetCapturedArguments() *command.Context
type MockApplyRequirement ¶ added in v0.17.3
type MockApplyRequirement struct {
// contains filtered or unexported fields
}
func NewMockApplyRequirement ¶ added in v0.17.3
func NewMockApplyRequirement(options ...pegomock.Option) *MockApplyRequirement
func (*MockApplyRequirement) FailHandler ¶ added in v0.17.3
func (mock *MockApplyRequirement) FailHandler() pegomock.FailHandler
func (*MockApplyRequirement) SetFailHandler ¶ added in v0.17.3
func (mock *MockApplyRequirement) SetFailHandler(fh pegomock.FailHandler)
func (*MockApplyRequirement) ValidateProject ¶ added in v0.17.3
func (mock *MockApplyRequirement) ValidateProject(_param0 string, _param1 command.ProjectContext) (string, error)
func (*MockApplyRequirement) VerifyWasCalled ¶ added in v0.17.3
func (mock *MockApplyRequirement) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockApplyRequirement
func (*MockApplyRequirement) VerifyWasCalledEventually ¶ added in v0.17.3
func (mock *MockApplyRequirement) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockApplyRequirement
func (*MockApplyRequirement) VerifyWasCalledInOrder ¶ added in v0.17.3
func (mock *MockApplyRequirement) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockApplyRequirement
func (*MockApplyRequirement) VerifyWasCalledOnce ¶ added in v0.17.3
func (mock *MockApplyRequirement) VerifyWasCalledOnce() *VerifierMockApplyRequirement
type MockApplyRequirement_ValidateProject_OngoingVerification ¶ added in v0.17.3
type MockApplyRequirement_ValidateProject_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockApplyRequirement_ValidateProject_OngoingVerification) GetAllCapturedArguments ¶ added in v0.17.3
func (c *MockApplyRequirement_ValidateProject_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []command.ProjectContext)
func (*MockApplyRequirement_ValidateProject_OngoingVerification) GetCapturedArguments ¶ added in v0.17.3
func (c *MockApplyRequirement_ValidateProject_OngoingVerification) GetCapturedArguments() (string, command.ProjectContext)
type MockAzureDevopsPullGetter ¶ added in v0.10.0
type MockAzureDevopsPullGetter struct {
// contains filtered or unexported fields
}
func NewMockAzureDevopsPullGetter ¶ added in v0.10.0
func NewMockAzureDevopsPullGetter(options ...pegomock.Option) *MockAzureDevopsPullGetter
func (*MockAzureDevopsPullGetter) FailHandler ¶ added in v0.10.0
func (mock *MockAzureDevopsPullGetter) FailHandler() pegomock.FailHandler
func (*MockAzureDevopsPullGetter) GetPullRequest ¶ added in v0.10.0
func (mock *MockAzureDevopsPullGetter) GetPullRequest(repo models.Repo, pullNum int) (*azuredevops.GitPullRequest, error)
func (*MockAzureDevopsPullGetter) SetFailHandler ¶ added in v0.10.0
func (mock *MockAzureDevopsPullGetter) SetFailHandler(fh pegomock.FailHandler)
func (*MockAzureDevopsPullGetter) VerifyWasCalled ¶ added in v0.10.0
func (mock *MockAzureDevopsPullGetter) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockAzureDevopsPullGetter
func (*MockAzureDevopsPullGetter) VerifyWasCalledEventually ¶ added in v0.10.0
func (mock *MockAzureDevopsPullGetter) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockAzureDevopsPullGetter
func (*MockAzureDevopsPullGetter) VerifyWasCalledInOrder ¶ added in v0.10.0
func (mock *MockAzureDevopsPullGetter) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockAzureDevopsPullGetter
func (*MockAzureDevopsPullGetter) VerifyWasCalledOnce ¶ added in v0.10.0
func (mock *MockAzureDevopsPullGetter) VerifyWasCalledOnce() *VerifierMockAzureDevopsPullGetter
type MockAzureDevopsPullGetter_GetPullRequest_OngoingVerification ¶ added in v0.10.0
type MockAzureDevopsPullGetter_GetPullRequest_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockAzureDevopsPullGetter_GetPullRequest_OngoingVerification) GetAllCapturedArguments ¶ added in v0.10.0
func (c *MockAzureDevopsPullGetter_GetPullRequest_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []int)
func (*MockAzureDevopsPullGetter_GetPullRequest_OngoingVerification) GetCapturedArguments ¶ added in v0.10.0
func (c *MockAzureDevopsPullGetter_GetPullRequest_OngoingVerification) GetCapturedArguments() (models.Repo, int)
type MockCommandRunner ¶
type MockCommandRunner struct {
// contains filtered or unexported fields
}
func NewMockCommandRunner ¶
func NewMockCommandRunner(options ...pegomock.Option) *MockCommandRunner
func (*MockCommandRunner) FailHandler ¶ added in v0.6.0
func (mock *MockCommandRunner) FailHandler() pegomock.FailHandler
func (*MockCommandRunner) RunAutoplanCommand ¶ added in v0.4.0
func (mock *MockCommandRunner) RunAutoplanCommand(baseRepo models.Repo, headRepo models.Repo, pull models.PullRequest, user models.User)
func (*MockCommandRunner) RunCommentCommand ¶ added in v0.4.0
func (mock *MockCommandRunner) RunCommentCommand(baseRepo models.Repo, maybeHeadRepo *models.Repo, maybePull *models.PullRequest, user models.User, pullNum int, cmd *events.CommentCommand)
func (*MockCommandRunner) SetFailHandler ¶ added in v0.6.0
func (mock *MockCommandRunner) SetFailHandler(fh pegomock.FailHandler)
func (*MockCommandRunner) VerifyWasCalled ¶
func (mock *MockCommandRunner) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockCommandRunner
func (*MockCommandRunner) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockCommandRunner) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockCommandRunner
func (*MockCommandRunner) VerifyWasCalledInOrder ¶
func (mock *MockCommandRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockCommandRunner
func (*MockCommandRunner) VerifyWasCalledOnce ¶
func (mock *MockCommandRunner) VerifyWasCalledOnce() *VerifierMockCommandRunner
type MockCommandRunner_RunAutoplanCommand_OngoingVerification ¶ added in v0.8.3
type MockCommandRunner_RunAutoplanCommand_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockCommandRunner_RunAutoplanCommand_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockCommandRunner_RunAutoplanCommand_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.Repo, _param2 []models.PullRequest, _param3 []models.User)
func (*MockCommandRunner_RunAutoplanCommand_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockCommandRunner_RunAutoplanCommand_OngoingVerification) GetCapturedArguments() (models.Repo, models.Repo, models.PullRequest, models.User)
type MockCommandRunner_RunCommentCommand_OngoingVerification ¶ added in v0.8.3
type MockCommandRunner_RunCommentCommand_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockCommandRunner_RunCommentCommand_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockCommandRunner_RunCommentCommand_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []*models.Repo, _param2 []*models.PullRequest, _param3 []models.User, _param4 []int, _param5 []*events.CommentCommand)
func (*MockCommandRunner_RunCommentCommand_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockCommandRunner_RunCommentCommand_OngoingVerification) GetCapturedArguments() (models.Repo, *models.Repo, *models.PullRequest, models.User, int, *events.CommentCommand)
type MockCommentBuilder ¶ added in v0.17.0
type MockCommentBuilder struct {
// contains filtered or unexported fields
}
func NewMockCommentBuilder ¶ added in v0.17.0
func NewMockCommentBuilder(options ...pegomock.Option) *MockCommentBuilder
func (*MockCommentBuilder) BuildApplyComment ¶ added in v0.17.0
func (*MockCommentBuilder) BuildPlanComment ¶ added in v0.17.0
func (*MockCommentBuilder) BuildVersionComment ¶ added in v0.17.3
func (mock *MockCommentBuilder) BuildVersionComment(repoRelDir string, workspace string, project string) string
func (*MockCommentBuilder) FailHandler ¶ added in v0.17.0
func (mock *MockCommentBuilder) FailHandler() pegomock.FailHandler
func (*MockCommentBuilder) SetFailHandler ¶ added in v0.17.0
func (mock *MockCommentBuilder) SetFailHandler(fh pegomock.FailHandler)
func (*MockCommentBuilder) VerifyWasCalled ¶ added in v0.17.0
func (mock *MockCommentBuilder) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockCommentBuilder
func (*MockCommentBuilder) VerifyWasCalledEventually ¶ added in v0.17.0
func (mock *MockCommentBuilder) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockCommentBuilder
func (*MockCommentBuilder) VerifyWasCalledInOrder ¶ added in v0.17.0
func (mock *MockCommentBuilder) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockCommentBuilder
func (*MockCommentBuilder) VerifyWasCalledOnce ¶ added in v0.17.0
func (mock *MockCommentBuilder) VerifyWasCalledOnce() *VerifierMockCommentBuilder
type MockCommentBuilder_BuildApplyComment_OngoingVerification ¶ added in v0.17.0
type MockCommentBuilder_BuildApplyComment_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockCommentBuilder_BuildApplyComment_OngoingVerification) GetAllCapturedArguments ¶ added in v0.17.0
func (c *MockCommentBuilder_BuildApplyComment_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string, _param3 []bool)
func (*MockCommentBuilder_BuildApplyComment_OngoingVerification) GetCapturedArguments ¶ added in v0.17.0
func (c *MockCommentBuilder_BuildApplyComment_OngoingVerification) GetCapturedArguments() (string, string, string, bool)
type MockCommentBuilder_BuildPlanComment_OngoingVerification ¶ added in v0.17.0
type MockCommentBuilder_BuildPlanComment_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockCommentBuilder_BuildPlanComment_OngoingVerification) GetAllCapturedArguments ¶ added in v0.17.0
func (c *MockCommentBuilder_BuildPlanComment_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string, _param3 [][]string)
func (*MockCommentBuilder_BuildPlanComment_OngoingVerification) GetCapturedArguments ¶ added in v0.17.0
func (c *MockCommentBuilder_BuildPlanComment_OngoingVerification) GetCapturedArguments() (string, string, string, []string)
type MockCommentBuilder_BuildVersionComment_OngoingVerification ¶ added in v0.17.3
type MockCommentBuilder_BuildVersionComment_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockCommentBuilder_BuildVersionComment_OngoingVerification) GetAllCapturedArguments ¶ added in v0.17.3
func (c *MockCommentBuilder_BuildVersionComment_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []string)
func (*MockCommentBuilder_BuildVersionComment_OngoingVerification) GetCapturedArguments ¶ added in v0.17.3
func (c *MockCommentBuilder_BuildVersionComment_OngoingVerification) GetCapturedArguments() (string, string, string)
type MockCommentParsing ¶ added in v0.3.0
type MockCommentParsing struct {
// contains filtered or unexported fields
}
func NewMockCommentParsing ¶ added in v0.3.0
func NewMockCommentParsing(options ...pegomock.Option) *MockCommentParsing
func (*MockCommentParsing) FailHandler ¶ added in v0.6.0
func (mock *MockCommentParsing) FailHandler() pegomock.FailHandler
func (*MockCommentParsing) Parse ¶ added in v0.3.0
func (mock *MockCommentParsing) Parse(comment string, vcsHost models.VCSHostType) events.CommentParseResult
func (*MockCommentParsing) SetFailHandler ¶ added in v0.6.0
func (mock *MockCommentParsing) SetFailHandler(fh pegomock.FailHandler)
func (*MockCommentParsing) VerifyWasCalled ¶ added in v0.3.0
func (mock *MockCommentParsing) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockCommentParsing
func (*MockCommentParsing) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockCommentParsing) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockCommentParsing
func (*MockCommentParsing) VerifyWasCalledInOrder ¶ added in v0.3.0
func (mock *MockCommentParsing) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockCommentParsing
func (*MockCommentParsing) VerifyWasCalledOnce ¶ added in v0.3.0
func (mock *MockCommentParsing) VerifyWasCalledOnce() *VerifierMockCommentParsing
type MockCommentParsing_Parse_OngoingVerification ¶ added in v0.8.3
type MockCommentParsing_Parse_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockCommentParsing_Parse_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockCommentParsing_Parse_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []models.VCSHostType)
func (*MockCommentParsing_Parse_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockCommentParsing_Parse_OngoingVerification) GetCapturedArguments() (string, models.VCSHostType)
type MockCommitStatusUpdater ¶ added in v0.2.0
type MockCommitStatusUpdater struct {
// contains filtered or unexported fields
}
func NewMockCommitStatusUpdater ¶ added in v0.2.0
func NewMockCommitStatusUpdater(options ...pegomock.Option) *MockCommitStatusUpdater
func (*MockCommitStatusUpdater) FailHandler ¶ added in v0.6.0
func (mock *MockCommitStatusUpdater) FailHandler() pegomock.FailHandler
func (*MockCommitStatusUpdater) SetFailHandler ¶ added in v0.6.0
func (mock *MockCommitStatusUpdater) SetFailHandler(fh pegomock.FailHandler)
func (*MockCommitStatusUpdater) UpdateCombined ¶ added in v0.5.0
func (mock *MockCommitStatusUpdater) UpdateCombined(repo models.Repo, pull models.PullRequest, status models.CommitStatus, command command.Name) error
func (*MockCommitStatusUpdater) UpdateCombinedCount ¶ added in v0.5.0
func (mock *MockCommitStatusUpdater) UpdateCombinedCount(repo models.Repo, pull models.PullRequest, status models.CommitStatus, command command.Name, numSuccess int, numTotal int) error
func (*MockCommitStatusUpdater) UpdateProject ¶ added in v0.5.0
func (mock *MockCommitStatusUpdater) UpdateProject(ctx command.ProjectContext, cmdName command.Name, status models.CommitStatus, url string) error
func (*MockCommitStatusUpdater) VerifyWasCalled ¶ added in v0.2.0
func (mock *MockCommitStatusUpdater) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockCommitStatusUpdater
func (*MockCommitStatusUpdater) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockCommitStatusUpdater) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockCommitStatusUpdater
func (*MockCommitStatusUpdater) VerifyWasCalledInOrder ¶ added in v0.2.0
func (mock *MockCommitStatusUpdater) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockCommitStatusUpdater
func (*MockCommitStatusUpdater) VerifyWasCalledOnce ¶ added in v0.2.0
func (mock *MockCommitStatusUpdater) VerifyWasCalledOnce() *VerifierMockCommitStatusUpdater
type MockCommitStatusUpdater_UpdateCombinedCount_OngoingVerification ¶ added in v0.8.3
type MockCommitStatusUpdater_UpdateCombinedCount_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockCommitStatusUpdater_UpdateCombinedCount_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockCommitStatusUpdater_UpdateCombinedCount_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest, _param2 []models.CommitStatus, _param3 []command.Name, _param4 []int, _param5 []int)
func (*MockCommitStatusUpdater_UpdateCombinedCount_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockCommitStatusUpdater_UpdateCombinedCount_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest, models.CommitStatus, command.Name, int, int)
type MockCommitStatusUpdater_UpdateCombined_OngoingVerification ¶ added in v0.8.3
type MockCommitStatusUpdater_UpdateCombined_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockCommitStatusUpdater_UpdateCombined_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockCommitStatusUpdater_UpdateCombined_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest, _param2 []models.CommitStatus, _param3 []command.Name)
func (*MockCommitStatusUpdater_UpdateCombined_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockCommitStatusUpdater_UpdateCombined_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest, models.CommitStatus, command.Name)
type MockCommitStatusUpdater_UpdateProject_OngoingVerification ¶ added in v0.8.3
type MockCommitStatusUpdater_UpdateProject_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockCommitStatusUpdater_UpdateProject_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockCommitStatusUpdater_UpdateProject_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext, _param1 []command.Name, _param2 []models.CommitStatus, _param3 []string)
func (*MockCommitStatusUpdater_UpdateProject_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockCommitStatusUpdater_UpdateProject_OngoingVerification) GetCapturedArguments() (command.ProjectContext, command.Name, models.CommitStatus, string)
type MockCustomStepRunner ¶ added in v0.7.0
type MockCustomStepRunner struct {
// contains filtered or unexported fields
}
func NewMockCustomStepRunner ¶ added in v0.7.0
func NewMockCustomStepRunner(options ...pegomock.Option) *MockCustomStepRunner
func (*MockCustomStepRunner) FailHandler ¶ added in v0.7.0
func (mock *MockCustomStepRunner) FailHandler() pegomock.FailHandler
func (*MockCustomStepRunner) Run ¶ added in v0.7.0
func (mock *MockCustomStepRunner) Run(ctx command.ProjectContext, cmd string, path string, envs map[string]string) (string, error)
func (*MockCustomStepRunner) SetFailHandler ¶ added in v0.7.0
func (mock *MockCustomStepRunner) SetFailHandler(fh pegomock.FailHandler)
func (*MockCustomStepRunner) VerifyWasCalled ¶ added in v0.7.0
func (mock *MockCustomStepRunner) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockCustomStepRunner
func (*MockCustomStepRunner) VerifyWasCalledEventually ¶ added in v0.7.0
func (mock *MockCustomStepRunner) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockCustomStepRunner
func (*MockCustomStepRunner) VerifyWasCalledInOrder ¶ added in v0.7.0
func (mock *MockCustomStepRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockCustomStepRunner
func (*MockCustomStepRunner) VerifyWasCalledOnce ¶ added in v0.7.0
func (mock *MockCustomStepRunner) VerifyWasCalledOnce() *VerifierMockCustomStepRunner
type MockCustomStepRunner_Run_OngoingVerification ¶ added in v0.8.3
type MockCustomStepRunner_Run_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockCustomStepRunner_Run_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockCustomStepRunner_Run_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext, _param1 []string, _param2 []string, _param3 []map[string]string)
func (*MockCustomStepRunner_Run_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockCustomStepRunner_Run_OngoingVerification) GetCapturedArguments() (command.ProjectContext, string, string, map[string]string)
type MockDeleteLockCommand ¶ added in v0.14.0
type MockDeleteLockCommand struct {
// contains filtered or unexported fields
}
func NewMockDeleteLockCommand ¶ added in v0.14.0
func NewMockDeleteLockCommand(options ...pegomock.Option) *MockDeleteLockCommand
func (*MockDeleteLockCommand) DeleteLock ¶ added in v0.14.0
func (mock *MockDeleteLockCommand) DeleteLock(id string) (*models.ProjectLock, error)
func (*MockDeleteLockCommand) DeleteLocksByPull ¶ added in v0.14.0
func (mock *MockDeleteLockCommand) DeleteLocksByPull(repoFullName string, pullNum int) (int, error)
func (*MockDeleteLockCommand) FailHandler ¶ added in v0.14.0
func (mock *MockDeleteLockCommand) FailHandler() pegomock.FailHandler
func (*MockDeleteLockCommand) SetFailHandler ¶ added in v0.14.0
func (mock *MockDeleteLockCommand) SetFailHandler(fh pegomock.FailHandler)
func (*MockDeleteLockCommand) VerifyWasCalled ¶ added in v0.14.0
func (mock *MockDeleteLockCommand) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockDeleteLockCommand
func (*MockDeleteLockCommand) VerifyWasCalledEventually ¶ added in v0.14.0
func (mock *MockDeleteLockCommand) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockDeleteLockCommand
func (*MockDeleteLockCommand) VerifyWasCalledInOrder ¶ added in v0.14.0
func (mock *MockDeleteLockCommand) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockDeleteLockCommand
func (*MockDeleteLockCommand) VerifyWasCalledOnce ¶ added in v0.14.0
func (mock *MockDeleteLockCommand) VerifyWasCalledOnce() *VerifierMockDeleteLockCommand
type MockDeleteLockCommand_DeleteLock_OngoingVerification ¶ added in v0.14.0
type MockDeleteLockCommand_DeleteLock_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockDeleteLockCommand_DeleteLock_OngoingVerification) GetAllCapturedArguments ¶ added in v0.14.0
func (c *MockDeleteLockCommand_DeleteLock_OngoingVerification) GetAllCapturedArguments() (_param0 []string)
func (*MockDeleteLockCommand_DeleteLock_OngoingVerification) GetCapturedArguments ¶ added in v0.14.0
func (c *MockDeleteLockCommand_DeleteLock_OngoingVerification) GetCapturedArguments() string
type MockDeleteLockCommand_DeleteLocksByPull_OngoingVerification ¶ added in v0.14.0
type MockDeleteLockCommand_DeleteLocksByPull_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockDeleteLockCommand_DeleteLocksByPull_OngoingVerification) GetAllCapturedArguments ¶ added in v0.14.0
func (c *MockDeleteLockCommand_DeleteLocksByPull_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []int)
func (*MockDeleteLockCommand_DeleteLocksByPull_OngoingVerification) GetCapturedArguments ¶ added in v0.14.0
func (c *MockDeleteLockCommand_DeleteLocksByPull_OngoingVerification) GetCapturedArguments() (string, int)
type MockEnvStepRunner ¶ added in v0.9.0
type MockEnvStepRunner struct {
// contains filtered or unexported fields
}
func NewMockEnvStepRunner ¶ added in v0.9.0
func NewMockEnvStepRunner(options ...pegomock.Option) *MockEnvStepRunner
func (*MockEnvStepRunner) FailHandler ¶ added in v0.9.0
func (mock *MockEnvStepRunner) FailHandler() pegomock.FailHandler
func (*MockEnvStepRunner) Run ¶ added in v0.9.0
func (mock *MockEnvStepRunner) Run(ctx command.ProjectContext, cmd string, value string, path string, envs map[string]string) (string, error)
func (*MockEnvStepRunner) SetFailHandler ¶ added in v0.9.0
func (mock *MockEnvStepRunner) SetFailHandler(fh pegomock.FailHandler)
func (*MockEnvStepRunner) VerifyWasCalled ¶ added in v0.9.0
func (mock *MockEnvStepRunner) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockEnvStepRunner
func (*MockEnvStepRunner) VerifyWasCalledEventually ¶ added in v0.9.0
func (mock *MockEnvStepRunner) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockEnvStepRunner
func (*MockEnvStepRunner) VerifyWasCalledInOrder ¶ added in v0.9.0
func (mock *MockEnvStepRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockEnvStepRunner
func (*MockEnvStepRunner) VerifyWasCalledOnce ¶ added in v0.9.0
func (mock *MockEnvStepRunner) VerifyWasCalledOnce() *VerifierMockEnvStepRunner
type MockEnvStepRunner_Run_OngoingVerification ¶ added in v0.9.0
type MockEnvStepRunner_Run_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockEnvStepRunner_Run_OngoingVerification) GetAllCapturedArguments ¶ added in v0.9.0
func (c *MockEnvStepRunner_Run_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext, _param1 []string, _param2 []string, _param3 []string, _param4 []map[string]string)
func (*MockEnvStepRunner_Run_OngoingVerification) GetCapturedArguments ¶ added in v0.9.0
func (c *MockEnvStepRunner_Run_OngoingVerification) GetCapturedArguments() (command.ProjectContext, string, string, string, map[string]string)
type MockEventParsing ¶
type MockEventParsing struct {
// contains filtered or unexported fields
}
func NewMockEventParsing ¶
func NewMockEventParsing(options ...pegomock.Option) *MockEventParsing
func (*MockEventParsing) FailHandler ¶ added in v0.6.0
func (mock *MockEventParsing) FailHandler() pegomock.FailHandler
func (*MockEventParsing) GetBitbucketCloudPullEventType ¶ added in v0.4.8
func (mock *MockEventParsing) GetBitbucketCloudPullEventType(eventTypeHeader string) models.PullRequestEventType
func (*MockEventParsing) GetBitbucketServerPullEventType ¶ added in v0.4.8
func (mock *MockEventParsing) GetBitbucketServerPullEventType(eventTypeHeader string) models.PullRequestEventType
func (*MockEventParsing) ParseAzureDevopsPull ¶ added in v0.10.0
func (mock *MockEventParsing) ParseAzureDevopsPull(adPull *azuredevops.GitPullRequest) (models.PullRequest, models.Repo, models.Repo, error)
func (*MockEventParsing) ParseAzureDevopsPullEvent ¶ added in v0.10.0
func (mock *MockEventParsing) ParseAzureDevopsPullEvent(pullEvent azuredevops.Event) (models.PullRequest, models.PullRequestEventType, models.Repo, models.Repo, models.User, error)
func (*MockEventParsing) ParseAzureDevopsRepo ¶ added in v0.10.0
func (mock *MockEventParsing) ParseAzureDevopsRepo(adRepo *azuredevops.GitRepository) (models.Repo, error)
func (*MockEventParsing) ParseBitbucketCloudPullCommentEvent ¶ added in v0.4.8
func (*MockEventParsing) ParseBitbucketCloudPullEvent ¶ added in v0.4.3
func (*MockEventParsing) ParseBitbucketServerPullCommentEvent ¶ added in v0.4.8
func (*MockEventParsing) ParseBitbucketServerPullEvent ¶ added in v0.4.4
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(ghPull *github.PullRequest) (models.PullRequest, models.Repo, models.Repo, error)
func (*MockEventParsing) ParseGithubPullEvent ¶ added in v0.4.0
func (mock *MockEventParsing) ParseGithubPullEvent(pullEvent *github.PullRequestEvent) (models.PullRequest, models.PullRequestEventType, models.Repo, models.Repo, models.User, error)
func (*MockEventParsing) ParseGithubRepo ¶ added in v0.2.0
func (mock *MockEventParsing) ParseGithubRepo(ghRepo *github.Repository) (models.Repo, error)
func (*MockEventParsing) ParseGitlabMergeRequest ¶ added in v0.2.0
func (mock *MockEventParsing) ParseGitlabMergeRequest(mr *go_gitlab.MergeRequest, baseRepo models.Repo) models.PullRequest
func (*MockEventParsing) ParseGitlabMergeRequestCommentEvent ¶ added in v0.4.8
func (mock *MockEventParsing) ParseGitlabMergeRequestCommentEvent(event go_gitlab.MergeCommentEvent) (models.Repo, models.Repo, models.User, error)
func (*MockEventParsing) ParseGitlabMergeRequestEvent ¶ added in v0.4.8
func (mock *MockEventParsing) ParseGitlabMergeRequestEvent(event go_gitlab.MergeEvent) (models.PullRequest, models.PullRequestEventType, models.Repo, models.Repo, models.User, error)
func (*MockEventParsing) SetFailHandler ¶ added in v0.6.0
func (mock *MockEventParsing) SetFailHandler(fh pegomock.FailHandler)
func (*MockEventParsing) VerifyWasCalled ¶
func (mock *MockEventParsing) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockEventParsing
func (*MockEventParsing) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockEventParsing) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockEventParsing
func (*MockEventParsing) VerifyWasCalledInOrder ¶
func (mock *MockEventParsing) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockEventParsing
func (*MockEventParsing) VerifyWasCalledOnce ¶
func (mock *MockEventParsing) VerifyWasCalledOnce() *VerifierMockEventParsing
type MockEventParsing_GetBitbucketCloudPullEventType_OngoingVerification ¶ added in v0.8.3
type MockEventParsing_GetBitbucketCloudPullEventType_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockEventParsing_GetBitbucketCloudPullEventType_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_GetBitbucketCloudPullEventType_OngoingVerification) GetAllCapturedArguments() (_param0 []string)
func (*MockEventParsing_GetBitbucketCloudPullEventType_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_GetBitbucketCloudPullEventType_OngoingVerification) GetCapturedArguments() string
type MockEventParsing_GetBitbucketServerPullEventType_OngoingVerification ¶ added in v0.8.3
type MockEventParsing_GetBitbucketServerPullEventType_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockEventParsing_GetBitbucketServerPullEventType_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_GetBitbucketServerPullEventType_OngoingVerification) GetAllCapturedArguments() (_param0 []string)
func (*MockEventParsing_GetBitbucketServerPullEventType_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_GetBitbucketServerPullEventType_OngoingVerification) GetCapturedArguments() string
type MockEventParsing_ParseAzureDevopsPullEvent_OngoingVerification ¶ added in v0.10.0
type MockEventParsing_ParseAzureDevopsPullEvent_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockEventParsing_ParseAzureDevopsPullEvent_OngoingVerification) GetAllCapturedArguments ¶ added in v0.10.0
func (c *MockEventParsing_ParseAzureDevopsPullEvent_OngoingVerification) GetAllCapturedArguments() (_param0 []azuredevops.Event)
func (*MockEventParsing_ParseAzureDevopsPullEvent_OngoingVerification) GetCapturedArguments ¶ added in v0.10.0
func (c *MockEventParsing_ParseAzureDevopsPullEvent_OngoingVerification) GetCapturedArguments() azuredevops.Event
type MockEventParsing_ParseAzureDevopsPull_OngoingVerification ¶ added in v0.10.0
type MockEventParsing_ParseAzureDevopsPull_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockEventParsing_ParseAzureDevopsPull_OngoingVerification) GetAllCapturedArguments ¶ added in v0.10.0
func (c *MockEventParsing_ParseAzureDevopsPull_OngoingVerification) GetAllCapturedArguments() (_param0 []*azuredevops.GitPullRequest)
func (*MockEventParsing_ParseAzureDevopsPull_OngoingVerification) GetCapturedArguments ¶ added in v0.10.0
func (c *MockEventParsing_ParseAzureDevopsPull_OngoingVerification) GetCapturedArguments() *azuredevops.GitPullRequest
type MockEventParsing_ParseAzureDevopsRepo_OngoingVerification ¶ added in v0.10.0
type MockEventParsing_ParseAzureDevopsRepo_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockEventParsing_ParseAzureDevopsRepo_OngoingVerification) GetAllCapturedArguments ¶ added in v0.10.0
func (c *MockEventParsing_ParseAzureDevopsRepo_OngoingVerification) GetAllCapturedArguments() (_param0 []*azuredevops.GitRepository)
func (*MockEventParsing_ParseAzureDevopsRepo_OngoingVerification) GetCapturedArguments ¶ added in v0.10.0
func (c *MockEventParsing_ParseAzureDevopsRepo_OngoingVerification) GetCapturedArguments() *azuredevops.GitRepository
type MockEventParsing_ParseBitbucketCloudPullCommentEvent_OngoingVerification ¶ added in v0.8.3
type MockEventParsing_ParseBitbucketCloudPullCommentEvent_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockEventParsing_ParseBitbucketCloudPullCommentEvent_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_ParseBitbucketCloudPullCommentEvent_OngoingVerification) GetAllCapturedArguments() (_param0 [][]byte)
func (*MockEventParsing_ParseBitbucketCloudPullCommentEvent_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_ParseBitbucketCloudPullCommentEvent_OngoingVerification) GetCapturedArguments() []byte
type MockEventParsing_ParseBitbucketCloudPullEvent_OngoingVerification ¶ added in v0.8.3
type MockEventParsing_ParseBitbucketCloudPullEvent_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockEventParsing_ParseBitbucketCloudPullEvent_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_ParseBitbucketCloudPullEvent_OngoingVerification) GetAllCapturedArguments() (_param0 [][]byte)
func (*MockEventParsing_ParseBitbucketCloudPullEvent_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_ParseBitbucketCloudPullEvent_OngoingVerification) GetCapturedArguments() []byte
type MockEventParsing_ParseBitbucketServerPullCommentEvent_OngoingVerification ¶ added in v0.8.3
type MockEventParsing_ParseBitbucketServerPullCommentEvent_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockEventParsing_ParseBitbucketServerPullCommentEvent_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_ParseBitbucketServerPullCommentEvent_OngoingVerification) GetAllCapturedArguments() (_param0 [][]byte)
func (*MockEventParsing_ParseBitbucketServerPullCommentEvent_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_ParseBitbucketServerPullCommentEvent_OngoingVerification) GetCapturedArguments() []byte
type MockEventParsing_ParseBitbucketServerPullEvent_OngoingVerification ¶ added in v0.8.3
type MockEventParsing_ParseBitbucketServerPullEvent_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockEventParsing_ParseBitbucketServerPullEvent_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_ParseBitbucketServerPullEvent_OngoingVerification) GetAllCapturedArguments() (_param0 [][]byte)
func (*MockEventParsing_ParseBitbucketServerPullEvent_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_ParseBitbucketServerPullEvent_OngoingVerification) GetCapturedArguments() []byte
type MockEventParsing_ParseGithubIssueCommentEvent_OngoingVerification ¶ added in v0.8.3
type MockEventParsing_ParseGithubIssueCommentEvent_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockEventParsing_ParseGithubIssueCommentEvent_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_ParseGithubIssueCommentEvent_OngoingVerification) GetAllCapturedArguments() (_param0 []*github.IssueCommentEvent)
func (*MockEventParsing_ParseGithubIssueCommentEvent_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_ParseGithubIssueCommentEvent_OngoingVerification) GetCapturedArguments() *github.IssueCommentEvent
type MockEventParsing_ParseGithubPullEvent_OngoingVerification ¶ added in v0.8.3
type MockEventParsing_ParseGithubPullEvent_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockEventParsing_ParseGithubPullEvent_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_ParseGithubPullEvent_OngoingVerification) GetAllCapturedArguments() (_param0 []*github.PullRequestEvent)
func (*MockEventParsing_ParseGithubPullEvent_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_ParseGithubPullEvent_OngoingVerification) GetCapturedArguments() *github.PullRequestEvent
type MockEventParsing_ParseGithubPull_OngoingVerification ¶ added in v0.8.3
type MockEventParsing_ParseGithubPull_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockEventParsing_ParseGithubPull_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_ParseGithubPull_OngoingVerification) GetAllCapturedArguments() (_param0 []*github.PullRequest)
func (*MockEventParsing_ParseGithubPull_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_ParseGithubPull_OngoingVerification) GetCapturedArguments() *github.PullRequest
type MockEventParsing_ParseGithubRepo_OngoingVerification ¶ added in v0.8.3
type MockEventParsing_ParseGithubRepo_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockEventParsing_ParseGithubRepo_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_ParseGithubRepo_OngoingVerification) GetAllCapturedArguments() (_param0 []*github.Repository)
func (*MockEventParsing_ParseGithubRepo_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_ParseGithubRepo_OngoingVerification) GetCapturedArguments() *github.Repository
type MockEventParsing_ParseGitlabMergeRequestCommentEvent_OngoingVerification ¶ added in v0.8.3
type MockEventParsing_ParseGitlabMergeRequestCommentEvent_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockEventParsing_ParseGitlabMergeRequestCommentEvent_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_ParseGitlabMergeRequestCommentEvent_OngoingVerification) GetAllCapturedArguments() (_param0 []go_gitlab.MergeCommentEvent)
func (*MockEventParsing_ParseGitlabMergeRequestCommentEvent_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_ParseGitlabMergeRequestCommentEvent_OngoingVerification) GetCapturedArguments() go_gitlab.MergeCommentEvent
type MockEventParsing_ParseGitlabMergeRequestEvent_OngoingVerification ¶ added in v0.8.3
type MockEventParsing_ParseGitlabMergeRequestEvent_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockEventParsing_ParseGitlabMergeRequestEvent_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_ParseGitlabMergeRequestEvent_OngoingVerification) GetAllCapturedArguments() (_param0 []go_gitlab.MergeEvent)
func (*MockEventParsing_ParseGitlabMergeRequestEvent_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_ParseGitlabMergeRequestEvent_OngoingVerification) GetCapturedArguments() go_gitlab.MergeEvent
type MockEventParsing_ParseGitlabMergeRequest_OngoingVerification ¶ added in v0.8.3
type MockEventParsing_ParseGitlabMergeRequest_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockEventParsing_ParseGitlabMergeRequest_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_ParseGitlabMergeRequest_OngoingVerification) GetAllCapturedArguments() (_param0 []*go_gitlab.MergeRequest, _param1 []models.Repo)
func (*MockEventParsing_ParseGitlabMergeRequest_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockEventParsing_ParseGitlabMergeRequest_OngoingVerification) GetCapturedArguments() (*go_gitlab.MergeRequest, models.Repo)
type MockGithubPullGetter ¶ added in v0.2.0
type MockGithubPullGetter struct {
// contains filtered or unexported fields
}
func NewMockGithubPullGetter ¶ added in v0.2.0
func NewMockGithubPullGetter(options ...pegomock.Option) *MockGithubPullGetter
func (*MockGithubPullGetter) FailHandler ¶ added in v0.6.0
func (mock *MockGithubPullGetter) FailHandler() pegomock.FailHandler
func (*MockGithubPullGetter) GetPullRequest ¶ added in v0.2.0
func (mock *MockGithubPullGetter) GetPullRequest(repo models.Repo, pullNum int) (*github.PullRequest, error)
func (*MockGithubPullGetter) SetFailHandler ¶ added in v0.6.0
func (mock *MockGithubPullGetter) SetFailHandler(fh pegomock.FailHandler)
func (*MockGithubPullGetter) VerifyWasCalled ¶ added in v0.2.0
func (mock *MockGithubPullGetter) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockGithubPullGetter
func (*MockGithubPullGetter) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockGithubPullGetter) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockGithubPullGetter
func (*MockGithubPullGetter) VerifyWasCalledInOrder ¶ added in v0.2.0
func (mock *MockGithubPullGetter) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockGithubPullGetter
func (*MockGithubPullGetter) VerifyWasCalledOnce ¶ added in v0.2.0
func (mock *MockGithubPullGetter) VerifyWasCalledOnce() *VerifierMockGithubPullGetter
type MockGithubPullGetter_GetPullRequest_OngoingVerification ¶ added in v0.8.3
type MockGithubPullGetter_GetPullRequest_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockGithubPullGetter_GetPullRequest_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockGithubPullGetter_GetPullRequest_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []int)
func (*MockGithubPullGetter_GetPullRequest_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockGithubPullGetter_GetPullRequest_OngoingVerification) GetCapturedArguments() (models.Repo, int)
type MockGitlabMergeRequestGetter ¶ added in v0.2.0
type MockGitlabMergeRequestGetter struct {
// contains filtered or unexported fields
}
func NewMockGitlabMergeRequestGetter ¶ added in v0.2.0
func NewMockGitlabMergeRequestGetter(options ...pegomock.Option) *MockGitlabMergeRequestGetter
func (*MockGitlabMergeRequestGetter) FailHandler ¶ added in v0.6.0
func (mock *MockGitlabMergeRequestGetter) FailHandler() pegomock.FailHandler
func (*MockGitlabMergeRequestGetter) GetMergeRequest ¶ added in v0.2.0
func (mock *MockGitlabMergeRequestGetter) GetMergeRequest(repoFullName string, pullNum int) (*go_gitlab.MergeRequest, error)
func (*MockGitlabMergeRequestGetter) SetFailHandler ¶ added in v0.6.0
func (mock *MockGitlabMergeRequestGetter) SetFailHandler(fh pegomock.FailHandler)
func (*MockGitlabMergeRequestGetter) VerifyWasCalled ¶ added in v0.2.0
func (mock *MockGitlabMergeRequestGetter) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockGitlabMergeRequestGetter
func (*MockGitlabMergeRequestGetter) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockGitlabMergeRequestGetter) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockGitlabMergeRequestGetter
func (*MockGitlabMergeRequestGetter) VerifyWasCalledInOrder ¶ added in v0.2.0
func (mock *MockGitlabMergeRequestGetter) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockGitlabMergeRequestGetter
func (*MockGitlabMergeRequestGetter) VerifyWasCalledOnce ¶ added in v0.2.0
func (mock *MockGitlabMergeRequestGetter) VerifyWasCalledOnce() *VerifierMockGitlabMergeRequestGetter
type MockGitlabMergeRequestGetter_GetMergeRequest_OngoingVerification ¶ added in v0.8.3
type MockGitlabMergeRequestGetter_GetMergeRequest_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockGitlabMergeRequestGetter_GetMergeRequest_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockGitlabMergeRequestGetter_GetMergeRequest_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []int)
func (*MockGitlabMergeRequestGetter_GetMergeRequest_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockGitlabMergeRequestGetter_GetMergeRequest_OngoingVerification) GetCapturedArguments() (string, int)
type MockJobIDGenerator ¶ added in v0.18.3
type MockJobIDGenerator struct {
// contains filtered or unexported fields
}
func NewMockJobIDGenerator ¶ added in v0.18.3
func NewMockJobIDGenerator(options ...pegomock.Option) *MockJobIDGenerator
func (*MockJobIDGenerator) FailHandler ¶ added in v0.18.3
func (mock *MockJobIDGenerator) FailHandler() pegomock.FailHandler
func (*MockJobIDGenerator) GenerateJobID ¶ added in v0.18.3
func (mock *MockJobIDGenerator) GenerateJobID() string
func (*MockJobIDGenerator) SetFailHandler ¶ added in v0.18.3
func (mock *MockJobIDGenerator) SetFailHandler(fh pegomock.FailHandler)
func (*MockJobIDGenerator) VerifyWasCalled ¶ added in v0.18.3
func (mock *MockJobIDGenerator) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockJobIDGenerator
func (*MockJobIDGenerator) VerifyWasCalledEventually ¶ added in v0.18.3
func (mock *MockJobIDGenerator) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockJobIDGenerator
func (*MockJobIDGenerator) VerifyWasCalledInOrder ¶ added in v0.18.3
func (mock *MockJobIDGenerator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockJobIDGenerator
func (*MockJobIDGenerator) VerifyWasCalledOnce ¶ added in v0.18.3
func (mock *MockJobIDGenerator) VerifyWasCalledOnce() *VerifierMockJobIDGenerator
type MockJobIDGenerator_GenerateJobID_OngoingVerification ¶ added in v0.18.3
type MockJobIDGenerator_GenerateJobID_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockJobIDGenerator_GenerateJobID_OngoingVerification) GetAllCapturedArguments ¶ added in v0.18.3
func (c *MockJobIDGenerator_GenerateJobID_OngoingVerification) GetAllCapturedArguments()
func (*MockJobIDGenerator_GenerateJobID_OngoingVerification) GetCapturedArguments ¶ added in v0.18.3
func (c *MockJobIDGenerator_GenerateJobID_OngoingVerification) GetCapturedArguments()
type MockJobMessageSender ¶ added in v0.18.3
type MockJobMessageSender struct {
// contains filtered or unexported fields
}
func NewMockJobMessageSender ¶ added in v0.18.3
func NewMockJobMessageSender(options ...pegomock.Option) *MockJobMessageSender
func (*MockJobMessageSender) FailHandler ¶ added in v0.18.3
func (mock *MockJobMessageSender) FailHandler() pegomock.FailHandler
func (*MockJobMessageSender) Send ¶ added in v0.18.3
func (mock *MockJobMessageSender) Send(_param0 command.ProjectContext, _param1 string, _param2 bool)
func (*MockJobMessageSender) SetFailHandler ¶ added in v0.18.3
func (mock *MockJobMessageSender) SetFailHandler(fh pegomock.FailHandler)
func (*MockJobMessageSender) VerifyWasCalled ¶ added in v0.18.3
func (mock *MockJobMessageSender) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockJobMessageSender
func (*MockJobMessageSender) VerifyWasCalledEventually ¶ added in v0.18.3
func (mock *MockJobMessageSender) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockJobMessageSender
func (*MockJobMessageSender) VerifyWasCalledInOrder ¶ added in v0.18.3
func (mock *MockJobMessageSender) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockJobMessageSender
func (*MockJobMessageSender) VerifyWasCalledOnce ¶ added in v0.18.3
func (mock *MockJobMessageSender) VerifyWasCalledOnce() *VerifierMockJobMessageSender
type MockJobMessageSender_Send_OngoingVerification ¶ added in v0.18.3
type MockJobMessageSender_Send_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockJobMessageSender_Send_OngoingVerification) GetAllCapturedArguments ¶ added in v0.18.3
func (c *MockJobMessageSender_Send_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext, _param1 []string, _param2 []bool)
func (*MockJobMessageSender_Send_OngoingVerification) GetCapturedArguments ¶ added in v0.18.3
func (c *MockJobMessageSender_Send_OngoingVerification) GetCapturedArguments() (command.ProjectContext, string, bool)
type MockJobURLSetter ¶ added in v0.18.3
type MockJobURLSetter struct {
// contains filtered or unexported fields
}
func NewMockJobURLSetter ¶ added in v0.18.3
func NewMockJobURLSetter(options ...pegomock.Option) *MockJobURLSetter
func (*MockJobURLSetter) FailHandler ¶ added in v0.18.3
func (mock *MockJobURLSetter) FailHandler() pegomock.FailHandler
func (*MockJobURLSetter) SetFailHandler ¶ added in v0.18.3
func (mock *MockJobURLSetter) SetFailHandler(fh pegomock.FailHandler)
func (*MockJobURLSetter) SetJobURLWithStatus ¶ added in v0.18.3
func (mock *MockJobURLSetter) SetJobURLWithStatus(_param0 command.ProjectContext, _param1 command.Name, _param2 models.CommitStatus) error
func (*MockJobURLSetter) VerifyWasCalled ¶ added in v0.18.3
func (mock *MockJobURLSetter) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockJobURLSetter
func (*MockJobURLSetter) VerifyWasCalledEventually ¶ added in v0.18.3
func (mock *MockJobURLSetter) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockJobURLSetter
func (*MockJobURLSetter) VerifyWasCalledInOrder ¶ added in v0.18.3
func (mock *MockJobURLSetter) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockJobURLSetter
func (*MockJobURLSetter) VerifyWasCalledOnce ¶ added in v0.18.3
func (mock *MockJobURLSetter) VerifyWasCalledOnce() *VerifierMockJobURLSetter
type MockJobURLSetter_SetJobURLWithStatus_OngoingVerification ¶ added in v0.18.3
type MockJobURLSetter_SetJobURLWithStatus_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockJobURLSetter_SetJobURLWithStatus_OngoingVerification) GetAllCapturedArguments ¶ added in v0.18.3
func (c *MockJobURLSetter_SetJobURLWithStatus_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext, _param1 []command.Name, _param2 []models.CommitStatus)
func (*MockJobURLSetter_SetJobURLWithStatus_OngoingVerification) GetCapturedArguments ¶ added in v0.18.3
func (c *MockJobURLSetter_SetJobURLWithStatus_OngoingVerification) GetCapturedArguments() (command.ProjectContext, command.Name, models.CommitStatus)
type MockJobsUrlGenerator ¶ added in v0.18.0
type MockJobsUrlGenerator struct {
// contains filtered or unexported fields
}
func NewMockJobsUrlGenerator ¶ added in v0.18.0
func NewMockJobsUrlGenerator(options ...pegomock.Option) *MockJobsUrlGenerator
func (*MockJobsUrlGenerator) FailHandler ¶ added in v0.18.0
func (mock *MockJobsUrlGenerator) FailHandler() pegomock.FailHandler
func (*MockJobsUrlGenerator) GenerateProjectJobsUrl ¶ added in v0.18.0
func (mock *MockJobsUrlGenerator) GenerateProjectJobsUrl(pull models.PullRequest, p command.ProjectContext) string
func (*MockJobsUrlGenerator) SetFailHandler ¶ added in v0.18.0
func (mock *MockJobsUrlGenerator) SetFailHandler(fh pegomock.FailHandler)
func (*MockJobsUrlGenerator) VerifyWasCalled ¶ added in v0.18.0
func (mock *MockJobsUrlGenerator) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockJobsUrlGenerator
func (*MockJobsUrlGenerator) VerifyWasCalledEventually ¶ added in v0.18.0
func (mock *MockJobsUrlGenerator) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockJobsUrlGenerator
func (*MockJobsUrlGenerator) VerifyWasCalledInOrder ¶ added in v0.18.0
func (mock *MockJobsUrlGenerator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockJobsUrlGenerator
func (*MockJobsUrlGenerator) VerifyWasCalledOnce ¶ added in v0.18.0
func (mock *MockJobsUrlGenerator) VerifyWasCalledOnce() *VerifierMockJobsUrlGenerator
type MockJobsUrlGenerator_GenerateProjectJobsUrl_OngoingVerification ¶ added in v0.18.0
type MockJobsUrlGenerator_GenerateProjectJobsUrl_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockJobsUrlGenerator_GenerateProjectJobsUrl_OngoingVerification) GetAllCapturedArguments ¶ added in v0.18.0
func (c *MockJobsUrlGenerator_GenerateProjectJobsUrl_OngoingVerification) GetAllCapturedArguments() (_param0 []models.PullRequest, _param1 []command.ProjectContext)
func (*MockJobsUrlGenerator_GenerateProjectJobsUrl_OngoingVerification) GetCapturedArguments ¶ added in v0.18.0
func (c *MockJobsUrlGenerator_GenerateProjectJobsUrl_OngoingVerification) GetCapturedArguments() (models.PullRequest, command.ProjectContext)
type MockLockURLGenerator ¶
type MockLockURLGenerator struct {
// contains filtered or unexported fields
}
func NewMockLockURLGenerator ¶
func NewMockLockURLGenerator(options ...pegomock.Option) *MockLockURLGenerator
func (*MockLockURLGenerator) FailHandler ¶ added in v0.6.0
func (mock *MockLockURLGenerator) FailHandler() pegomock.FailHandler
func (*MockLockURLGenerator) GenerateLockURL ¶ added in v0.4.0
func (mock *MockLockURLGenerator) GenerateLockURL(lockID string) string
func (*MockLockURLGenerator) SetFailHandler ¶ added in v0.6.0
func (mock *MockLockURLGenerator) SetFailHandler(fh pegomock.FailHandler)
func (*MockLockURLGenerator) VerifyWasCalled ¶
func (mock *MockLockURLGenerator) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockLockURLGenerator
func (*MockLockURLGenerator) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockLockURLGenerator) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockLockURLGenerator
func (*MockLockURLGenerator) VerifyWasCalledInOrder ¶
func (mock *MockLockURLGenerator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockLockURLGenerator
func (*MockLockURLGenerator) VerifyWasCalledOnce ¶
func (mock *MockLockURLGenerator) VerifyWasCalledOnce() *VerifierMockLockURLGenerator
type MockLockURLGenerator_GenerateLockURL_OngoingVerification ¶ added in v0.8.3
type MockLockURLGenerator_GenerateLockURL_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockLockURLGenerator_GenerateLockURL_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockLockURLGenerator_GenerateLockURL_OngoingVerification) GetAllCapturedArguments() (_param0 []string)
func (*MockLockURLGenerator_GenerateLockURL_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockLockURLGenerator_GenerateLockURL_OngoingVerification) GetCapturedArguments() string
type MockPendingPlanFinder ¶ added in v0.4.14
type MockPendingPlanFinder struct {
// contains filtered or unexported fields
}
func NewMockPendingPlanFinder ¶ added in v0.4.14
func NewMockPendingPlanFinder(options ...pegomock.Option) *MockPendingPlanFinder
func (*MockPendingPlanFinder) DeletePlans ¶ added in v0.4.14
func (mock *MockPendingPlanFinder) DeletePlans(pullDir string) error
func (*MockPendingPlanFinder) FailHandler ¶ added in v0.6.0
func (mock *MockPendingPlanFinder) FailHandler() pegomock.FailHandler
func (*MockPendingPlanFinder) Find ¶ added in v0.4.14
func (mock *MockPendingPlanFinder) Find(pullDir string) ([]events.PendingPlan, error)
func (*MockPendingPlanFinder) SetFailHandler ¶ added in v0.6.0
func (mock *MockPendingPlanFinder) SetFailHandler(fh pegomock.FailHandler)
func (*MockPendingPlanFinder) VerifyWasCalled ¶ added in v0.4.14
func (mock *MockPendingPlanFinder) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockPendingPlanFinder
func (*MockPendingPlanFinder) VerifyWasCalledEventually ¶ added in v0.4.14
func (mock *MockPendingPlanFinder) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockPendingPlanFinder
func (*MockPendingPlanFinder) VerifyWasCalledInOrder ¶ added in v0.4.14
func (mock *MockPendingPlanFinder) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockPendingPlanFinder
func (*MockPendingPlanFinder) VerifyWasCalledOnce ¶ added in v0.4.14
func (mock *MockPendingPlanFinder) VerifyWasCalledOnce() *VerifierMockPendingPlanFinder
type MockPendingPlanFinder_DeletePlans_OngoingVerification ¶ added in v0.8.3
type MockPendingPlanFinder_DeletePlans_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockPendingPlanFinder_DeletePlans_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockPendingPlanFinder_DeletePlans_OngoingVerification) GetAllCapturedArguments() (_param0 []string)
func (*MockPendingPlanFinder_DeletePlans_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockPendingPlanFinder_DeletePlans_OngoingVerification) GetCapturedArguments() string
type MockPendingPlanFinder_Find_OngoingVerification ¶ added in v0.8.3
type MockPendingPlanFinder_Find_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockPendingPlanFinder_Find_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockPendingPlanFinder_Find_OngoingVerification) GetAllCapturedArguments() (_param0 []string)
func (*MockPendingPlanFinder_Find_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockPendingPlanFinder_Find_OngoingVerification) GetCapturedArguments() string
type MockPostWorkflowHooksCommandRunner ¶ added in v0.18.2
type MockPostWorkflowHooksCommandRunner struct {
// contains filtered or unexported fields
}
func NewMockPostWorkflowHooksCommandRunner ¶ added in v0.18.2
func NewMockPostWorkflowHooksCommandRunner(options ...pegomock.Option) *MockPostWorkflowHooksCommandRunner
func (*MockPostWorkflowHooksCommandRunner) FailHandler ¶ added in v0.18.2
func (mock *MockPostWorkflowHooksCommandRunner) FailHandler() pegomock.FailHandler
func (*MockPostWorkflowHooksCommandRunner) RunPostHooks ¶ added in v0.18.2
func (mock *MockPostWorkflowHooksCommandRunner) RunPostHooks(ctx *command.Context) error
func (*MockPostWorkflowHooksCommandRunner) SetFailHandler ¶ added in v0.18.2
func (mock *MockPostWorkflowHooksCommandRunner) SetFailHandler(fh pegomock.FailHandler)
func (*MockPostWorkflowHooksCommandRunner) VerifyWasCalled ¶ added in v0.18.2
func (mock *MockPostWorkflowHooksCommandRunner) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockPostWorkflowHooksCommandRunner
func (*MockPostWorkflowHooksCommandRunner) VerifyWasCalledEventually ¶ added in v0.18.2
func (mock *MockPostWorkflowHooksCommandRunner) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockPostWorkflowHooksCommandRunner
func (*MockPostWorkflowHooksCommandRunner) VerifyWasCalledInOrder ¶ added in v0.18.2
func (mock *MockPostWorkflowHooksCommandRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockPostWorkflowHooksCommandRunner
func (*MockPostWorkflowHooksCommandRunner) VerifyWasCalledOnce ¶ added in v0.18.2
func (mock *MockPostWorkflowHooksCommandRunner) VerifyWasCalledOnce() *VerifierMockPostWorkflowHooksCommandRunner
type MockPostWorkflowHooksCommandRunner_RunPostHooks_OngoingVerification ¶ added in v0.18.2
type MockPostWorkflowHooksCommandRunner_RunPostHooks_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockPostWorkflowHooksCommandRunner_RunPostHooks_OngoingVerification) GetAllCapturedArguments ¶ added in v0.18.2
func (c *MockPostWorkflowHooksCommandRunner_RunPostHooks_OngoingVerification) GetAllCapturedArguments() (_param0 []*command.Context)
func (*MockPostWorkflowHooksCommandRunner_RunPostHooks_OngoingVerification) GetCapturedArguments ¶ added in v0.18.2
func (c *MockPostWorkflowHooksCommandRunner_RunPostHooks_OngoingVerification) GetCapturedArguments() *command.Context
type MockPreWorkflowHooksCommandRunner ¶ added in v0.16.0
type MockPreWorkflowHooksCommandRunner struct {
// contains filtered or unexported fields
}
func NewMockPreWorkflowHooksCommandRunner ¶ added in v0.16.0
func NewMockPreWorkflowHooksCommandRunner(options ...pegomock.Option) *MockPreWorkflowHooksCommandRunner
func (*MockPreWorkflowHooksCommandRunner) FailHandler ¶ added in v0.16.0
func (mock *MockPreWorkflowHooksCommandRunner) FailHandler() pegomock.FailHandler
func (*MockPreWorkflowHooksCommandRunner) RunPreHooks ¶ added in v0.16.0
func (mock *MockPreWorkflowHooksCommandRunner) RunPreHooks(ctx *command.Context) error
func (*MockPreWorkflowHooksCommandRunner) SetFailHandler ¶ added in v0.16.0
func (mock *MockPreWorkflowHooksCommandRunner) SetFailHandler(fh pegomock.FailHandler)
func (*MockPreWorkflowHooksCommandRunner) VerifyWasCalled ¶ added in v0.16.0
func (mock *MockPreWorkflowHooksCommandRunner) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockPreWorkflowHooksCommandRunner
func (*MockPreWorkflowHooksCommandRunner) VerifyWasCalledEventually ¶ added in v0.16.0
func (mock *MockPreWorkflowHooksCommandRunner) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockPreWorkflowHooksCommandRunner
func (*MockPreWorkflowHooksCommandRunner) VerifyWasCalledInOrder ¶ added in v0.16.0
func (mock *MockPreWorkflowHooksCommandRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockPreWorkflowHooksCommandRunner
func (*MockPreWorkflowHooksCommandRunner) VerifyWasCalledOnce ¶ added in v0.16.0
func (mock *MockPreWorkflowHooksCommandRunner) VerifyWasCalledOnce() *VerifierMockPreWorkflowHooksCommandRunner
type MockPreWorkflowHooksCommandRunner_RunPreHooks_OngoingVerification ¶ added in v0.16.0
type MockPreWorkflowHooksCommandRunner_RunPreHooks_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockPreWorkflowHooksCommandRunner_RunPreHooks_OngoingVerification) GetAllCapturedArguments ¶ added in v0.16.0
func (c *MockPreWorkflowHooksCommandRunner_RunPreHooks_OngoingVerification) GetAllCapturedArguments() (_param0 []*command.Context)
func (*MockPreWorkflowHooksCommandRunner_RunPreHooks_OngoingVerification) GetCapturedArguments ¶ added in v0.16.0
func (c *MockPreWorkflowHooksCommandRunner_RunPreHooks_OngoingVerification) GetCapturedArguments() *command.Context
type MockProjectCommandBuilder ¶ added in v0.4.0
type MockProjectCommandBuilder struct {
// contains filtered or unexported fields
}
func NewMockProjectCommandBuilder ¶ added in v0.4.0
func NewMockProjectCommandBuilder(options ...pegomock.Option) *MockProjectCommandBuilder
func (*MockProjectCommandBuilder) BuildApplyCommands ¶ added in v0.4.5
func (mock *MockProjectCommandBuilder) BuildApplyCommands(ctx *command.Context, comment *events.CommentCommand) ([]command.ProjectContext, error)
func (*MockProjectCommandBuilder) BuildApprovePoliciesCommands ¶ added in v0.17.0
func (mock *MockProjectCommandBuilder) BuildApprovePoliciesCommands(ctx *command.Context, comment *events.CommentCommand) ([]command.ProjectContext, error)
func (*MockProjectCommandBuilder) BuildAutoplanCommands ¶ added in v0.4.0
func (mock *MockProjectCommandBuilder) BuildAutoplanCommands(ctx *command.Context) ([]command.ProjectContext, error)
func (*MockProjectCommandBuilder) BuildPlanCommands ¶ added in v0.4.5
func (mock *MockProjectCommandBuilder) BuildPlanCommands(ctx *command.Context, comment *events.CommentCommand) ([]command.ProjectContext, error)
func (*MockProjectCommandBuilder) BuildVersionCommands ¶ added in v0.17.3
func (mock *MockProjectCommandBuilder) BuildVersionCommands(ctx *command.Context, comment *events.CommentCommand) ([]command.ProjectContext, error)
func (*MockProjectCommandBuilder) FailHandler ¶ added in v0.6.0
func (mock *MockProjectCommandBuilder) FailHandler() pegomock.FailHandler
func (*MockProjectCommandBuilder) SetFailHandler ¶ added in v0.6.0
func (mock *MockProjectCommandBuilder) SetFailHandler(fh pegomock.FailHandler)
func (*MockProjectCommandBuilder) VerifyWasCalled ¶ added in v0.4.0
func (mock *MockProjectCommandBuilder) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockProjectCommandBuilder
func (*MockProjectCommandBuilder) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockProjectCommandBuilder) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockProjectCommandBuilder
func (*MockProjectCommandBuilder) VerifyWasCalledInOrder ¶ added in v0.4.0
func (mock *MockProjectCommandBuilder) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockProjectCommandBuilder
func (*MockProjectCommandBuilder) VerifyWasCalledOnce ¶ added in v0.4.0
func (mock *MockProjectCommandBuilder) VerifyWasCalledOnce() *VerifierMockProjectCommandBuilder
type MockProjectCommandBuilder_BuildApplyCommands_OngoingVerification ¶ added in v0.8.3
type MockProjectCommandBuilder_BuildApplyCommands_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockProjectCommandBuilder_BuildApplyCommands_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockProjectCommandBuilder_BuildApplyCommands_OngoingVerification) GetAllCapturedArguments() (_param0 []*command.Context, _param1 []*events.CommentCommand)
func (*MockProjectCommandBuilder_BuildApplyCommands_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockProjectCommandBuilder_BuildApplyCommands_OngoingVerification) GetCapturedArguments() (*command.Context, *events.CommentCommand)
type MockProjectCommandBuilder_BuildApprovePoliciesCommands_OngoingVerification ¶ added in v0.17.0
type MockProjectCommandBuilder_BuildApprovePoliciesCommands_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockProjectCommandBuilder_BuildApprovePoliciesCommands_OngoingVerification) GetAllCapturedArguments ¶ added in v0.17.0
func (c *MockProjectCommandBuilder_BuildApprovePoliciesCommands_OngoingVerification) GetAllCapturedArguments() (_param0 []*command.Context, _param1 []*events.CommentCommand)
func (*MockProjectCommandBuilder_BuildApprovePoliciesCommands_OngoingVerification) GetCapturedArguments ¶ added in v0.17.0
func (c *MockProjectCommandBuilder_BuildApprovePoliciesCommands_OngoingVerification) GetCapturedArguments() (*command.Context, *events.CommentCommand)
type MockProjectCommandBuilder_BuildAutoplanCommands_OngoingVerification ¶ added in v0.8.3
type MockProjectCommandBuilder_BuildAutoplanCommands_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockProjectCommandBuilder_BuildAutoplanCommands_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockProjectCommandBuilder_BuildAutoplanCommands_OngoingVerification) GetAllCapturedArguments() (_param0 []*command.Context)
func (*MockProjectCommandBuilder_BuildAutoplanCommands_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockProjectCommandBuilder_BuildAutoplanCommands_OngoingVerification) GetCapturedArguments() *command.Context
type MockProjectCommandBuilder_BuildPlanCommands_OngoingVerification ¶ added in v0.8.3
type MockProjectCommandBuilder_BuildPlanCommands_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockProjectCommandBuilder_BuildPlanCommands_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockProjectCommandBuilder_BuildPlanCommands_OngoingVerification) GetAllCapturedArguments() (_param0 []*command.Context, _param1 []*events.CommentCommand)
func (*MockProjectCommandBuilder_BuildPlanCommands_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockProjectCommandBuilder_BuildPlanCommands_OngoingVerification) GetCapturedArguments() (*command.Context, *events.CommentCommand)
type MockProjectCommandBuilder_BuildVersionCommands_OngoingVerification ¶ added in v0.17.3
type MockProjectCommandBuilder_BuildVersionCommands_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockProjectCommandBuilder_BuildVersionCommands_OngoingVerification) GetAllCapturedArguments ¶ added in v0.17.3
func (c *MockProjectCommandBuilder_BuildVersionCommands_OngoingVerification) GetAllCapturedArguments() (_param0 []*command.Context, _param1 []*events.CommentCommand)
func (*MockProjectCommandBuilder_BuildVersionCommands_OngoingVerification) GetCapturedArguments ¶ added in v0.17.3
func (c *MockProjectCommandBuilder_BuildVersionCommands_OngoingVerification) GetCapturedArguments() (*command.Context, *events.CommentCommand)
type MockProjectCommandRunner ¶ added in v0.4.0
type MockProjectCommandRunner struct {
// contains filtered or unexported fields
}
func NewMockProjectCommandRunner ¶ added in v0.4.0
func NewMockProjectCommandRunner(options ...pegomock.Option) *MockProjectCommandRunner
func (*MockProjectCommandRunner) Apply ¶ added in v0.4.0
func (mock *MockProjectCommandRunner) Apply(ctx command.ProjectContext) command.ProjectResult
func (*MockProjectCommandRunner) ApprovePolicies ¶ added in v0.17.0
func (mock *MockProjectCommandRunner) ApprovePolicies(ctx command.ProjectContext) command.ProjectResult
func (*MockProjectCommandRunner) FailHandler ¶ added in v0.6.0
func (mock *MockProjectCommandRunner) FailHandler() pegomock.FailHandler
func (*MockProjectCommandRunner) Plan ¶ added in v0.4.0
func (mock *MockProjectCommandRunner) Plan(ctx command.ProjectContext) command.ProjectResult
func (*MockProjectCommandRunner) PolicyCheck ¶ added in v0.17.0
func (mock *MockProjectCommandRunner) PolicyCheck(ctx command.ProjectContext) command.ProjectResult
func (*MockProjectCommandRunner) SetFailHandler ¶ added in v0.6.0
func (mock *MockProjectCommandRunner) SetFailHandler(fh pegomock.FailHandler)
func (*MockProjectCommandRunner) VerifyWasCalled ¶ added in v0.4.0
func (mock *MockProjectCommandRunner) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockProjectCommandRunner
func (*MockProjectCommandRunner) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockProjectCommandRunner) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockProjectCommandRunner
func (*MockProjectCommandRunner) VerifyWasCalledInOrder ¶ added in v0.4.0
func (mock *MockProjectCommandRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockProjectCommandRunner
func (*MockProjectCommandRunner) VerifyWasCalledOnce ¶ added in v0.4.0
func (mock *MockProjectCommandRunner) VerifyWasCalledOnce() *VerifierMockProjectCommandRunner
func (*MockProjectCommandRunner) Version ¶ added in v0.17.3
func (mock *MockProjectCommandRunner) Version(ctx command.ProjectContext) command.ProjectResult
type MockProjectCommandRunner_Apply_OngoingVerification ¶ added in v0.8.3
type MockProjectCommandRunner_Apply_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockProjectCommandRunner_Apply_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockProjectCommandRunner_Apply_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext)
func (*MockProjectCommandRunner_Apply_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockProjectCommandRunner_Apply_OngoingVerification) GetCapturedArguments() command.ProjectContext
type MockProjectCommandRunner_ApprovePolicies_OngoingVerification ¶ added in v0.17.0
type MockProjectCommandRunner_ApprovePolicies_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockProjectCommandRunner_ApprovePolicies_OngoingVerification) GetAllCapturedArguments ¶ added in v0.17.0
func (c *MockProjectCommandRunner_ApprovePolicies_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext)
func (*MockProjectCommandRunner_ApprovePolicies_OngoingVerification) GetCapturedArguments ¶ added in v0.17.0
func (c *MockProjectCommandRunner_ApprovePolicies_OngoingVerification) GetCapturedArguments() command.ProjectContext
type MockProjectCommandRunner_Plan_OngoingVerification ¶ added in v0.8.3
type MockProjectCommandRunner_Plan_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockProjectCommandRunner_Plan_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockProjectCommandRunner_Plan_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext)
func (*MockProjectCommandRunner_Plan_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockProjectCommandRunner_Plan_OngoingVerification) GetCapturedArguments() command.ProjectContext
type MockProjectCommandRunner_PolicyCheck_OngoingVerification ¶ added in v0.17.0
type MockProjectCommandRunner_PolicyCheck_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockProjectCommandRunner_PolicyCheck_OngoingVerification) GetAllCapturedArguments ¶ added in v0.17.0
func (c *MockProjectCommandRunner_PolicyCheck_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext)
func (*MockProjectCommandRunner_PolicyCheck_OngoingVerification) GetCapturedArguments ¶ added in v0.17.0
func (c *MockProjectCommandRunner_PolicyCheck_OngoingVerification) GetCapturedArguments() command.ProjectContext
type MockProjectCommandRunner_Version_OngoingVerification ¶ added in v0.17.3
type MockProjectCommandRunner_Version_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockProjectCommandRunner_Version_OngoingVerification) GetAllCapturedArguments ¶ added in v0.17.3
func (c *MockProjectCommandRunner_Version_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext)
func (*MockProjectCommandRunner_Version_OngoingVerification) GetCapturedArguments ¶ added in v0.17.3
func (c *MockProjectCommandRunner_Version_OngoingVerification) GetCapturedArguments() command.ProjectContext
type MockProjectLocker ¶ added in v0.4.0
type MockProjectLocker struct {
// contains filtered or unexported fields
}
func NewMockProjectLocker ¶ added in v0.4.0
func NewMockProjectLocker(options ...pegomock.Option) *MockProjectLocker
func (*MockProjectLocker) FailHandler ¶ added in v0.6.0
func (mock *MockProjectLocker) FailHandler() pegomock.FailHandler
func (*MockProjectLocker) SetFailHandler ¶ added in v0.6.0
func (mock *MockProjectLocker) SetFailHandler(fh pegomock.FailHandler)
func (*MockProjectLocker) TryLock ¶ added in v0.4.0
func (mock *MockProjectLocker) TryLock(log logging.SimpleLogging, pull models.PullRequest, user models.User, workspace string, project models.Project) (*events.TryLockResponse, error)
func (*MockProjectLocker) VerifyWasCalled ¶ added in v0.4.0
func (mock *MockProjectLocker) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockProjectLocker
func (*MockProjectLocker) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockProjectLocker) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockProjectLocker
func (*MockProjectLocker) VerifyWasCalledInOrder ¶ added in v0.4.0
func (mock *MockProjectLocker) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockProjectLocker
func (*MockProjectLocker) VerifyWasCalledOnce ¶ added in v0.4.0
func (mock *MockProjectLocker) VerifyWasCalledOnce() *VerifierMockProjectLocker
type MockProjectLocker_TryLock_OngoingVerification ¶ added in v0.8.3
type MockProjectLocker_TryLock_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockProjectLocker_TryLock_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockProjectLocker_TryLock_OngoingVerification) GetAllCapturedArguments() (_param0 []logging.SimpleLogging, _param1 []models.PullRequest, _param2 []models.User, _param3 []string, _param4 []models.Project)
func (*MockProjectLocker_TryLock_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockProjectLocker_TryLock_OngoingVerification) GetCapturedArguments() (logging.SimpleLogging, models.PullRequest, models.User, string, models.Project)
type MockPullCleaner ¶
type MockPullCleaner struct {
// contains filtered or unexported fields
}
func NewMockPullCleaner ¶
func NewMockPullCleaner(options ...pegomock.Option) *MockPullCleaner
func (*MockPullCleaner) CleanUpPull ¶
func (mock *MockPullCleaner) CleanUpPull(repo models.Repo, pull models.PullRequest) error
func (*MockPullCleaner) FailHandler ¶ added in v0.6.0
func (mock *MockPullCleaner) FailHandler() pegomock.FailHandler
func (*MockPullCleaner) SetFailHandler ¶ added in v0.6.0
func (mock *MockPullCleaner) SetFailHandler(fh pegomock.FailHandler)
func (*MockPullCleaner) VerifyWasCalled ¶
func (mock *MockPullCleaner) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockPullCleaner
func (*MockPullCleaner) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockPullCleaner) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockPullCleaner
func (*MockPullCleaner) VerifyWasCalledInOrder ¶
func (mock *MockPullCleaner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockPullCleaner
func (*MockPullCleaner) VerifyWasCalledOnce ¶
func (mock *MockPullCleaner) VerifyWasCalledOnce() *VerifierMockPullCleaner
type MockPullCleaner_CleanUpPull_OngoingVerification ¶ added in v0.8.3
type MockPullCleaner_CleanUpPull_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockPullCleaner_CleanUpPull_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockPullCleaner_CleanUpPull_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest)
func (*MockPullCleaner_CleanUpPull_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockPullCleaner_CleanUpPull_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest)
type MockResourceCleaner ¶ added in v0.18.3
type MockResourceCleaner struct {
// contains filtered or unexported fields
}
func NewMockResourceCleaner ¶ added in v0.18.3
func NewMockResourceCleaner(options ...pegomock.Option) *MockResourceCleaner
func (*MockResourceCleaner) CleanUp ¶ added in v0.18.3
func (mock *MockResourceCleaner) CleanUp(_param0 jobs.PullInfo)
func (*MockResourceCleaner) FailHandler ¶ added in v0.18.3
func (mock *MockResourceCleaner) FailHandler() pegomock.FailHandler
func (*MockResourceCleaner) SetFailHandler ¶ added in v0.18.3
func (mock *MockResourceCleaner) SetFailHandler(fh pegomock.FailHandler)
func (*MockResourceCleaner) VerifyWasCalled ¶ added in v0.18.3
func (mock *MockResourceCleaner) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockResourceCleaner
func (*MockResourceCleaner) VerifyWasCalledEventually ¶ added in v0.18.3
func (mock *MockResourceCleaner) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockResourceCleaner
func (*MockResourceCleaner) VerifyWasCalledInOrder ¶ added in v0.18.3
func (mock *MockResourceCleaner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockResourceCleaner
func (*MockResourceCleaner) VerifyWasCalledOnce ¶ added in v0.18.3
func (mock *MockResourceCleaner) VerifyWasCalledOnce() *VerifierMockResourceCleaner
type MockResourceCleaner_CleanUp_OngoingVerification ¶ added in v0.18.3
type MockResourceCleaner_CleanUp_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockResourceCleaner_CleanUp_OngoingVerification) GetAllCapturedArguments ¶ added in v0.18.3
func (c *MockResourceCleaner_CleanUp_OngoingVerification) GetAllCapturedArguments() (_param0 []jobs.PullInfo)
func (*MockResourceCleaner_CleanUp_OngoingVerification) GetCapturedArguments ¶ added in v0.18.3
func (c *MockResourceCleaner_CleanUp_OngoingVerification) GetCapturedArguments() jobs.PullInfo
type MockStepRunner ¶ added in v0.4.0
type MockStepRunner struct {
// contains filtered or unexported fields
}
func NewMockStepRunner ¶ added in v0.4.0
func NewMockStepRunner(options ...pegomock.Option) *MockStepRunner
func (*MockStepRunner) FailHandler ¶ added in v0.6.0
func (mock *MockStepRunner) FailHandler() pegomock.FailHandler
func (*MockStepRunner) Run ¶ added in v0.4.0
func (mock *MockStepRunner) Run(ctx command.ProjectContext, extraArgs []string, path string, envs map[string]string) (string, error)
func (*MockStepRunner) SetFailHandler ¶ added in v0.6.0
func (mock *MockStepRunner) SetFailHandler(fh pegomock.FailHandler)
func (*MockStepRunner) VerifyWasCalled ¶ added in v0.4.0
func (mock *MockStepRunner) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockStepRunner
func (*MockStepRunner) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockStepRunner) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockStepRunner
func (*MockStepRunner) VerifyWasCalledInOrder ¶ added in v0.4.0
func (mock *MockStepRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockStepRunner
func (*MockStepRunner) VerifyWasCalledOnce ¶ added in v0.4.0
func (mock *MockStepRunner) VerifyWasCalledOnce() *VerifierMockStepRunner
type MockStepRunner_Run_OngoingVerification ¶ added in v0.8.3
type MockStepRunner_Run_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockStepRunner_Run_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockStepRunner_Run_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext, _param1 [][]string, _param2 []string, _param3 []map[string]string)
func (*MockStepRunner_Run_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockStepRunner_Run_OngoingVerification) GetCapturedArguments() (command.ProjectContext, []string, string, map[string]string)
type MockWebhooksSender ¶ added in v0.4.0
type MockWebhooksSender struct {
// contains filtered or unexported fields
}
func NewMockWebhooksSender ¶ added in v0.4.0
func NewMockWebhooksSender(options ...pegomock.Option) *MockWebhooksSender
func (*MockWebhooksSender) FailHandler ¶ added in v0.6.0
func (mock *MockWebhooksSender) FailHandler() pegomock.FailHandler
func (*MockWebhooksSender) Send ¶ added in v0.4.0
func (mock *MockWebhooksSender) Send(log logging.SimpleLogging, res webhooks.ApplyResult) error
func (*MockWebhooksSender) SetFailHandler ¶ added in v0.6.0
func (mock *MockWebhooksSender) SetFailHandler(fh pegomock.FailHandler)
func (*MockWebhooksSender) VerifyWasCalled ¶ added in v0.4.0
func (mock *MockWebhooksSender) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockWebhooksSender
func (*MockWebhooksSender) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockWebhooksSender) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockWebhooksSender
func (*MockWebhooksSender) VerifyWasCalledInOrder ¶ added in v0.4.0
func (mock *MockWebhooksSender) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockWebhooksSender
func (*MockWebhooksSender) VerifyWasCalledOnce ¶ added in v0.4.0
func (mock *MockWebhooksSender) VerifyWasCalledOnce() *VerifierMockWebhooksSender
type MockWebhooksSender_Send_OngoingVerification ¶ added in v0.8.3
type MockWebhooksSender_Send_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockWebhooksSender_Send_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockWebhooksSender_Send_OngoingVerification) GetAllCapturedArguments() (_param0 []logging.SimpleLogging, _param1 []webhooks.ApplyResult)
func (*MockWebhooksSender_Send_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockWebhooksSender_Send_OngoingVerification) GetCapturedArguments() (logging.SimpleLogging, webhooks.ApplyResult)
type MockWorkingDir ¶ added in v0.4.0
type MockWorkingDir struct {
// contains filtered or unexported fields
}
func NewMockWorkingDir ¶ added in v0.4.0
func NewMockWorkingDir(options ...pegomock.Option) *MockWorkingDir
func (*MockWorkingDir) Clone ¶ added in v0.4.0
func (mock *MockWorkingDir) Clone(log logging.SimpleLogging, headRepo models.Repo, p models.PullRequest, workspace string) (string, bool, error)
func (*MockWorkingDir) Delete ¶ added in v0.4.0
func (mock *MockWorkingDir) Delete(r models.Repo, p models.PullRequest) error
func (*MockWorkingDir) DeleteForWorkspace ¶ added in v0.4.0
func (mock *MockWorkingDir) DeleteForWorkspace(r models.Repo, p models.PullRequest, workspace string) error
func (*MockWorkingDir) FailHandler ¶ added in v0.6.0
func (mock *MockWorkingDir) FailHandler() pegomock.FailHandler
func (*MockWorkingDir) GetPullDir ¶ added in v0.4.5
func (mock *MockWorkingDir) GetPullDir(r models.Repo, p models.PullRequest) (string, error)
func (*MockWorkingDir) GetWorkingDir ¶ added in v0.4.0
func (mock *MockWorkingDir) GetWorkingDir(r models.Repo, p models.PullRequest, workspace string) (string, error)
func (*MockWorkingDir) HasDiverged ¶ added in v0.17.1
func (mock *MockWorkingDir) HasDiverged(log logging.SimpleLogging, cloneDir string) bool
func (*MockWorkingDir) IsFileTracked ¶ added in v0.17.3
func (mock *MockWorkingDir) IsFileTracked(log logging.SimpleLogging, cloneDir string, filename string) (bool, error)
func (*MockWorkingDir) SetFailHandler ¶ added in v0.6.0
func (mock *MockWorkingDir) SetFailHandler(fh pegomock.FailHandler)
func (*MockWorkingDir) VerifyWasCalled ¶ added in v0.4.0
func (mock *MockWorkingDir) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockWorkingDir
func (*MockWorkingDir) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockWorkingDir) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockWorkingDir
func (*MockWorkingDir) VerifyWasCalledInOrder ¶ added in v0.4.0
func (mock *MockWorkingDir) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockWorkingDir
func (*MockWorkingDir) VerifyWasCalledOnce ¶ added in v0.4.0
func (mock *MockWorkingDir) VerifyWasCalledOnce() *VerifierMockWorkingDir
type MockWorkingDirLocker ¶ added in v0.4.0
type MockWorkingDirLocker struct {
// contains filtered or unexported fields
}
func NewMockWorkingDirLocker ¶ added in v0.4.0
func NewMockWorkingDirLocker(options ...pegomock.Option) *MockWorkingDirLocker
func (*MockWorkingDirLocker) FailHandler ¶ added in v0.6.0
func (mock *MockWorkingDirLocker) FailHandler() pegomock.FailHandler
func (*MockWorkingDirLocker) SetFailHandler ¶ added in v0.6.0
func (mock *MockWorkingDirLocker) SetFailHandler(fh pegomock.FailHandler)
func (*MockWorkingDirLocker) TryLockPull ¶ added in v0.4.13
func (mock *MockWorkingDirLocker) TryLockPull(repoFullName string, pullNum int) (func(), error)
func (*MockWorkingDirLocker) VerifyWasCalled ¶ added in v0.4.0
func (mock *MockWorkingDirLocker) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockWorkingDirLocker
func (*MockWorkingDirLocker) VerifyWasCalledEventually ¶ added in v0.4.13
func (mock *MockWorkingDirLocker) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockWorkingDirLocker
func (*MockWorkingDirLocker) VerifyWasCalledInOrder ¶ added in v0.4.0
func (mock *MockWorkingDirLocker) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockWorkingDirLocker
func (*MockWorkingDirLocker) VerifyWasCalledOnce ¶ added in v0.4.0
func (mock *MockWorkingDirLocker) VerifyWasCalledOnce() *VerifierMockWorkingDirLocker
type MockWorkingDirLocker_TryLockPull_OngoingVerification ¶ added in v0.8.3
type MockWorkingDirLocker_TryLockPull_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockWorkingDirLocker_TryLockPull_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockWorkingDirLocker_TryLockPull_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []int)
func (*MockWorkingDirLocker_TryLockPull_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockWorkingDirLocker_TryLockPull_OngoingVerification) GetCapturedArguments() (string, int)
type MockWorkingDirLocker_TryLock_OngoingVerification ¶ added in v0.8.3
type MockWorkingDirLocker_TryLock_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockWorkingDirLocker_TryLock_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockWorkingDirLocker_TryLock_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []int, _param2 []string)
func (*MockWorkingDirLocker_TryLock_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockWorkingDirLocker_TryLock_OngoingVerification) GetCapturedArguments() (string, int, string)
type MockWorkingDir_Clone_OngoingVerification ¶ added in v0.8.3
type MockWorkingDir_Clone_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockWorkingDir_Clone_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockWorkingDir_Clone_OngoingVerification) GetAllCapturedArguments() (_param0 []logging.SimpleLogging, _param1 []models.Repo, _param2 []models.PullRequest, _param3 []string)
func (*MockWorkingDir_Clone_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockWorkingDir_Clone_OngoingVerification) GetCapturedArguments() (logging.SimpleLogging, models.Repo, models.PullRequest, string)
type MockWorkingDir_DeleteForWorkspace_OngoingVerification ¶ added in v0.8.3
type MockWorkingDir_DeleteForWorkspace_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockWorkingDir_DeleteForWorkspace_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockWorkingDir_DeleteForWorkspace_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest, _param2 []string)
func (*MockWorkingDir_DeleteForWorkspace_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockWorkingDir_DeleteForWorkspace_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest, string)
type MockWorkingDir_Delete_OngoingVerification ¶ added in v0.8.3
type MockWorkingDir_Delete_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockWorkingDir_Delete_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockWorkingDir_Delete_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest)
func (*MockWorkingDir_Delete_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockWorkingDir_Delete_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest)
type MockWorkingDir_GetPullDir_OngoingVerification ¶ added in v0.8.3
type MockWorkingDir_GetPullDir_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockWorkingDir_GetPullDir_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockWorkingDir_GetPullDir_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest)
func (*MockWorkingDir_GetPullDir_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockWorkingDir_GetPullDir_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest)
type MockWorkingDir_GetWorkingDir_OngoingVerification ¶ added in v0.8.3
type MockWorkingDir_GetWorkingDir_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockWorkingDir_GetWorkingDir_OngoingVerification) GetAllCapturedArguments ¶ added in v0.8.3
func (c *MockWorkingDir_GetWorkingDir_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest, _param2 []string)
func (*MockWorkingDir_GetWorkingDir_OngoingVerification) GetCapturedArguments ¶ added in v0.8.3
func (c *MockWorkingDir_GetWorkingDir_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest, string)
type MockWorkingDir_HasDiverged_OngoingVerification ¶ added in v0.17.3
type MockWorkingDir_HasDiverged_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockWorkingDir_HasDiverged_OngoingVerification) GetAllCapturedArguments ¶ added in v0.17.3
func (c *MockWorkingDir_HasDiverged_OngoingVerification) GetAllCapturedArguments() (_param0 []logging.SimpleLogging, _param1 []string)
func (*MockWorkingDir_HasDiverged_OngoingVerification) GetCapturedArguments ¶ added in v0.17.3
func (c *MockWorkingDir_HasDiverged_OngoingVerification) GetCapturedArguments() (logging.SimpleLogging, string)
type MockWorkingDir_IsFileTracked_OngoingVerification ¶ added in v0.17.3
type MockWorkingDir_IsFileTracked_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockWorkingDir_IsFileTracked_OngoingVerification) GetAllCapturedArguments ¶ added in v0.17.3
func (c *MockWorkingDir_IsFileTracked_OngoingVerification) GetAllCapturedArguments() (_param0 []logging.SimpleLogging, _param1 []string, _param2 []string)
func (*MockWorkingDir_IsFileTracked_OngoingVerification) GetCapturedArguments ¶ added in v0.17.3
func (c *MockWorkingDir_IsFileTracked_OngoingVerification) GetCapturedArguments() (logging.SimpleLogging, string, string)
type VerifierMockApplyCommandLocker ¶ added in v0.17.0
type VerifierMockApplyCommandLocker struct {
// contains filtered or unexported fields
}
func (*VerifierMockApplyCommandLocker) IsDisabled ¶ added in v0.17.0
func (verifier *VerifierMockApplyCommandLocker) IsDisabled(ctx *command.Context) *MockApplyCommandLocker_IsDisabled_OngoingVerification
type VerifierMockApplyRequirement ¶ added in v0.17.3
type VerifierMockApplyRequirement struct {
// contains filtered or unexported fields
}
func (*VerifierMockApplyRequirement) ValidateProject ¶ added in v0.17.3
func (verifier *VerifierMockApplyRequirement) ValidateProject(_param0 string, _param1 command.ProjectContext) *MockApplyRequirement_ValidateProject_OngoingVerification
type VerifierMockAzureDevopsPullGetter ¶ added in v0.10.0
type VerifierMockAzureDevopsPullGetter struct {
// contains filtered or unexported fields
}
func (*VerifierMockAzureDevopsPullGetter) GetPullRequest ¶ added in v0.10.0
func (verifier *VerifierMockAzureDevopsPullGetter) GetPullRequest(repo models.Repo, pullNum int) *MockAzureDevopsPullGetter_GetPullRequest_OngoingVerification
type VerifierMockCommandRunner ¶ added in v0.8.3
type VerifierMockCommandRunner struct {
// contains filtered or unexported fields
}
func (*VerifierMockCommandRunner) RunAutoplanCommand ¶ added in v0.8.3
func (verifier *VerifierMockCommandRunner) RunAutoplanCommand(baseRepo models.Repo, headRepo models.Repo, pull models.PullRequest, user models.User) *MockCommandRunner_RunAutoplanCommand_OngoingVerification
func (*VerifierMockCommandRunner) RunCommentCommand ¶ added in v0.8.3
func (verifier *VerifierMockCommandRunner) RunCommentCommand(baseRepo models.Repo, maybeHeadRepo *models.Repo, maybePull *models.PullRequest, user models.User, pullNum int, cmd *events.CommentCommand) *MockCommandRunner_RunCommentCommand_OngoingVerification
type VerifierMockCommentBuilder ¶ added in v0.17.0
type VerifierMockCommentBuilder struct {
// contains filtered or unexported fields
}
func (*VerifierMockCommentBuilder) BuildApplyComment ¶ added in v0.17.0
func (verifier *VerifierMockCommentBuilder) BuildApplyComment(repoRelDir string, workspace string, project string, autoMergeDisabled bool) *MockCommentBuilder_BuildApplyComment_OngoingVerification
func (*VerifierMockCommentBuilder) BuildPlanComment ¶ added in v0.17.0
func (verifier *VerifierMockCommentBuilder) BuildPlanComment(repoRelDir string, workspace string, project string, commentArgs []string) *MockCommentBuilder_BuildPlanComment_OngoingVerification
func (*VerifierMockCommentBuilder) BuildVersionComment ¶ added in v0.17.3
func (verifier *VerifierMockCommentBuilder) BuildVersionComment(repoRelDir string, workspace string, project string) *MockCommentBuilder_BuildVersionComment_OngoingVerification
type VerifierMockCommentParsing ¶ added in v0.8.3
type VerifierMockCommentParsing struct {
// contains filtered or unexported fields
}
func (*VerifierMockCommentParsing) Parse ¶ added in v0.8.3
func (verifier *VerifierMockCommentParsing) Parse(comment string, vcsHost models.VCSHostType) *MockCommentParsing_Parse_OngoingVerification
type VerifierMockCommitStatusUpdater ¶ added in v0.8.3
type VerifierMockCommitStatusUpdater struct {
// contains filtered or unexported fields
}
func (*VerifierMockCommitStatusUpdater) UpdateCombined ¶ added in v0.8.3
func (verifier *VerifierMockCommitStatusUpdater) UpdateCombined(repo models.Repo, pull models.PullRequest, status models.CommitStatus, command command.Name) *MockCommitStatusUpdater_UpdateCombined_OngoingVerification
func (*VerifierMockCommitStatusUpdater) UpdateCombinedCount ¶ added in v0.8.3
func (verifier *VerifierMockCommitStatusUpdater) UpdateCombinedCount(repo models.Repo, pull models.PullRequest, status models.CommitStatus, cmd command.Name, numSuccess int, numTotal int) *MockCommitStatusUpdater_UpdateCombinedCount_OngoingVerification
func (*VerifierMockCommitStatusUpdater) UpdateProject ¶ added in v0.8.3
func (verifier *VerifierMockCommitStatusUpdater) UpdateProject(ctx command.ProjectContext, cmdName command.Name, status models.CommitStatus, url string) *MockCommitStatusUpdater_UpdateProject_OngoingVerification
type VerifierMockCustomStepRunner ¶ added in v0.8.3
type VerifierMockCustomStepRunner struct {
// contains filtered or unexported fields
}
func (*VerifierMockCustomStepRunner) Run ¶ added in v0.8.3
func (verifier *VerifierMockCustomStepRunner) Run(ctx command.ProjectContext, cmd string, path string, envs map[string]string) *MockCustomStepRunner_Run_OngoingVerification
type VerifierMockDeleteLockCommand ¶ added in v0.14.0
type VerifierMockDeleteLockCommand struct {
// contains filtered or unexported fields
}
func (*VerifierMockDeleteLockCommand) DeleteLock ¶ added in v0.14.0
func (verifier *VerifierMockDeleteLockCommand) DeleteLock(id string) *MockDeleteLockCommand_DeleteLock_OngoingVerification
func (*VerifierMockDeleteLockCommand) DeleteLocksByPull ¶ added in v0.14.0
func (verifier *VerifierMockDeleteLockCommand) DeleteLocksByPull(repoFullName string, pullNum int) *MockDeleteLockCommand_DeleteLocksByPull_OngoingVerification
type VerifierMockEnvStepRunner ¶ added in v0.9.0
type VerifierMockEnvStepRunner struct {
// contains filtered or unexported fields
}
func (*VerifierMockEnvStepRunner) Run ¶ added in v0.9.0
func (verifier *VerifierMockEnvStepRunner) Run(ctx command.ProjectContext, cmd string, value string, path string, envs map[string]string) *MockEnvStepRunner_Run_OngoingVerification
type VerifierMockEventParsing ¶ added in v0.8.3
type VerifierMockEventParsing struct {
// contains filtered or unexported fields
}
func (*VerifierMockEventParsing) GetBitbucketCloudPullEventType ¶ added in v0.8.3
func (verifier *VerifierMockEventParsing) GetBitbucketCloudPullEventType(eventTypeHeader string) *MockEventParsing_GetBitbucketCloudPullEventType_OngoingVerification
func (*VerifierMockEventParsing) GetBitbucketServerPullEventType ¶ added in v0.8.3
func (verifier *VerifierMockEventParsing) GetBitbucketServerPullEventType(eventTypeHeader string) *MockEventParsing_GetBitbucketServerPullEventType_OngoingVerification
func (*VerifierMockEventParsing) ParseAzureDevopsPull ¶ added in v0.10.0
func (verifier *VerifierMockEventParsing) ParseAzureDevopsPull(adPull *azuredevops.GitPullRequest) *MockEventParsing_ParseAzureDevopsPull_OngoingVerification
func (*VerifierMockEventParsing) ParseAzureDevopsPullEvent ¶ added in v0.10.0
func (verifier *VerifierMockEventParsing) ParseAzureDevopsPullEvent(pullEvent azuredevops.Event) *MockEventParsing_ParseAzureDevopsPullEvent_OngoingVerification
func (*VerifierMockEventParsing) ParseAzureDevopsRepo ¶ added in v0.10.0
func (verifier *VerifierMockEventParsing) ParseAzureDevopsRepo(adRepo *azuredevops.GitRepository) *MockEventParsing_ParseAzureDevopsRepo_OngoingVerification
func (*VerifierMockEventParsing) ParseBitbucketCloudPullCommentEvent ¶ added in v0.8.3
func (verifier *VerifierMockEventParsing) ParseBitbucketCloudPullCommentEvent(body []byte) *MockEventParsing_ParseBitbucketCloudPullCommentEvent_OngoingVerification
func (*VerifierMockEventParsing) ParseBitbucketCloudPullEvent ¶ added in v0.8.3
func (verifier *VerifierMockEventParsing) ParseBitbucketCloudPullEvent(body []byte) *MockEventParsing_ParseBitbucketCloudPullEvent_OngoingVerification
func (*VerifierMockEventParsing) ParseBitbucketServerPullCommentEvent ¶ added in v0.8.3
func (verifier *VerifierMockEventParsing) ParseBitbucketServerPullCommentEvent(body []byte) *MockEventParsing_ParseBitbucketServerPullCommentEvent_OngoingVerification
func (*VerifierMockEventParsing) ParseBitbucketServerPullEvent ¶ added in v0.8.3
func (verifier *VerifierMockEventParsing) ParseBitbucketServerPullEvent(body []byte) *MockEventParsing_ParseBitbucketServerPullEvent_OngoingVerification
func (*VerifierMockEventParsing) ParseGithubIssueCommentEvent ¶ added in v0.8.3
func (verifier *VerifierMockEventParsing) ParseGithubIssueCommentEvent(comment *github.IssueCommentEvent) *MockEventParsing_ParseGithubIssueCommentEvent_OngoingVerification
func (*VerifierMockEventParsing) ParseGithubPull ¶ added in v0.8.3
func (verifier *VerifierMockEventParsing) ParseGithubPull(ghPull *github.PullRequest) *MockEventParsing_ParseGithubPull_OngoingVerification
func (*VerifierMockEventParsing) ParseGithubPullEvent ¶ added in v0.8.3
func (verifier *VerifierMockEventParsing) ParseGithubPullEvent(pullEvent *github.PullRequestEvent) *MockEventParsing_ParseGithubPullEvent_OngoingVerification
func (*VerifierMockEventParsing) ParseGithubRepo ¶ added in v0.8.3
func (verifier *VerifierMockEventParsing) ParseGithubRepo(ghRepo *github.Repository) *MockEventParsing_ParseGithubRepo_OngoingVerification
func (*VerifierMockEventParsing) ParseGitlabMergeRequest ¶ added in v0.8.3
func (verifier *VerifierMockEventParsing) ParseGitlabMergeRequest(mr *go_gitlab.MergeRequest, baseRepo models.Repo) *MockEventParsing_ParseGitlabMergeRequest_OngoingVerification
func (*VerifierMockEventParsing) ParseGitlabMergeRequestCommentEvent ¶ added in v0.8.3
func (verifier *VerifierMockEventParsing) ParseGitlabMergeRequestCommentEvent(event go_gitlab.MergeCommentEvent) *MockEventParsing_ParseGitlabMergeRequestCommentEvent_OngoingVerification
func (*VerifierMockEventParsing) ParseGitlabMergeRequestEvent ¶ added in v0.8.3
func (verifier *VerifierMockEventParsing) ParseGitlabMergeRequestEvent(event go_gitlab.MergeEvent) *MockEventParsing_ParseGitlabMergeRequestEvent_OngoingVerification
type VerifierMockGithubPullGetter ¶ added in v0.8.3
type VerifierMockGithubPullGetter struct {
// contains filtered or unexported fields
}
func (*VerifierMockGithubPullGetter) GetPullRequest ¶ added in v0.8.3
func (verifier *VerifierMockGithubPullGetter) GetPullRequest(repo models.Repo, pullNum int) *MockGithubPullGetter_GetPullRequest_OngoingVerification
type VerifierMockGitlabMergeRequestGetter ¶ added in v0.8.3
type VerifierMockGitlabMergeRequestGetter struct {
// contains filtered or unexported fields
}
func (*VerifierMockGitlabMergeRequestGetter) GetMergeRequest ¶ added in v0.8.3
func (verifier *VerifierMockGitlabMergeRequestGetter) GetMergeRequest(repoFullName string, pullNum int) *MockGitlabMergeRequestGetter_GetMergeRequest_OngoingVerification
type VerifierMockJobIDGenerator ¶ added in v0.18.3
type VerifierMockJobIDGenerator struct {
// contains filtered or unexported fields
}
func (*VerifierMockJobIDGenerator) GenerateJobID ¶ added in v0.18.3
func (verifier *VerifierMockJobIDGenerator) GenerateJobID() *MockJobIDGenerator_GenerateJobID_OngoingVerification
type VerifierMockJobMessageSender ¶ added in v0.18.3
type VerifierMockJobMessageSender struct {
// contains filtered or unexported fields
}
func (*VerifierMockJobMessageSender) Send ¶ added in v0.18.3
func (verifier *VerifierMockJobMessageSender) Send(_param0 command.ProjectContext, _param1 string, _param2 bool) *MockJobMessageSender_Send_OngoingVerification
type VerifierMockJobURLSetter ¶ added in v0.18.3
type VerifierMockJobURLSetter struct {
// contains filtered or unexported fields
}
func (*VerifierMockJobURLSetter) SetJobURLWithStatus ¶ added in v0.18.3
func (verifier *VerifierMockJobURLSetter) SetJobURLWithStatus(_param0 command.ProjectContext, _param1 command.Name, _param2 models.CommitStatus) *MockJobURLSetter_SetJobURLWithStatus_OngoingVerification
type VerifierMockJobsUrlGenerator ¶ added in v0.18.0
type VerifierMockJobsUrlGenerator struct {
// contains filtered or unexported fields
}
func (*VerifierMockJobsUrlGenerator) GenerateProjectJobsUrl ¶ added in v0.18.0
func (verifier *VerifierMockJobsUrlGenerator) GenerateProjectJobsUrl(pull models.PullRequest, p command.ProjectContext) *MockJobsUrlGenerator_GenerateProjectJobsUrl_OngoingVerification
type VerifierMockLockURLGenerator ¶ added in v0.8.3
type VerifierMockLockURLGenerator struct {
// contains filtered or unexported fields
}
func (*VerifierMockLockURLGenerator) GenerateLockURL ¶ added in v0.8.3
func (verifier *VerifierMockLockURLGenerator) GenerateLockURL(lockID string) *MockLockURLGenerator_GenerateLockURL_OngoingVerification
type VerifierMockPendingPlanFinder ¶ added in v0.8.3
type VerifierMockPendingPlanFinder struct {
// contains filtered or unexported fields
}
func (*VerifierMockPendingPlanFinder) DeletePlans ¶ added in v0.8.3
func (verifier *VerifierMockPendingPlanFinder) DeletePlans(pullDir string) *MockPendingPlanFinder_DeletePlans_OngoingVerification
func (*VerifierMockPendingPlanFinder) Find ¶ added in v0.8.3
func (verifier *VerifierMockPendingPlanFinder) Find(pullDir string) *MockPendingPlanFinder_Find_OngoingVerification
type VerifierMockPostWorkflowHooksCommandRunner ¶ added in v0.18.2
type VerifierMockPostWorkflowHooksCommandRunner struct {
// contains filtered or unexported fields
}
func (*VerifierMockPostWorkflowHooksCommandRunner) RunPostHooks ¶ added in v0.18.2
func (verifier *VerifierMockPostWorkflowHooksCommandRunner) RunPostHooks(ctx *command.Context) *MockPostWorkflowHooksCommandRunner_RunPostHooks_OngoingVerification
type VerifierMockPreWorkflowHooksCommandRunner ¶ added in v0.16.0
type VerifierMockPreWorkflowHooksCommandRunner struct {
// contains filtered or unexported fields
}
func (*VerifierMockPreWorkflowHooksCommandRunner) RunPreHooks ¶ added in v0.16.0
func (verifier *VerifierMockPreWorkflowHooksCommandRunner) RunPreHooks(ctx *command.Context) *MockPreWorkflowHooksCommandRunner_RunPreHooks_OngoingVerification
type VerifierMockProjectCommandBuilder ¶ added in v0.8.3
type VerifierMockProjectCommandBuilder struct {
// contains filtered or unexported fields
}
func (*VerifierMockProjectCommandBuilder) BuildApplyCommands ¶ added in v0.8.3
func (verifier *VerifierMockProjectCommandBuilder) BuildApplyCommands(ctx *command.Context, comment *events.CommentCommand) *MockProjectCommandBuilder_BuildApplyCommands_OngoingVerification
func (*VerifierMockProjectCommandBuilder) BuildApprovePoliciesCommands ¶ added in v0.17.0
func (verifier *VerifierMockProjectCommandBuilder) BuildApprovePoliciesCommands(ctx *command.Context, comment *events.CommentCommand) *MockProjectCommandBuilder_BuildApprovePoliciesCommands_OngoingVerification
func (*VerifierMockProjectCommandBuilder) BuildAutoplanCommands ¶ added in v0.8.3
func (verifier *VerifierMockProjectCommandBuilder) BuildAutoplanCommands(ctx *command.Context) *MockProjectCommandBuilder_BuildAutoplanCommands_OngoingVerification
func (*VerifierMockProjectCommandBuilder) BuildPlanCommands ¶ added in v0.8.3
func (verifier *VerifierMockProjectCommandBuilder) BuildPlanCommands(ctx *command.Context, comment *events.CommentCommand) *MockProjectCommandBuilder_BuildPlanCommands_OngoingVerification
func (*VerifierMockProjectCommandBuilder) BuildVersionCommands ¶ added in v0.17.3
func (verifier *VerifierMockProjectCommandBuilder) BuildVersionCommands(ctx *command.Context, comment *events.CommentCommand) *MockProjectCommandBuilder_BuildVersionCommands_OngoingVerification
type VerifierMockProjectCommandRunner ¶ added in v0.8.3
type VerifierMockProjectCommandRunner struct {
// contains filtered or unexported fields
}
func (*VerifierMockProjectCommandRunner) Apply ¶ added in v0.8.3
func (verifier *VerifierMockProjectCommandRunner) Apply(ctx command.ProjectContext) *MockProjectCommandRunner_Apply_OngoingVerification
func (*VerifierMockProjectCommandRunner) ApprovePolicies ¶ added in v0.17.0
func (verifier *VerifierMockProjectCommandRunner) ApprovePolicies(ctx command.ProjectContext) *MockProjectCommandRunner_ApprovePolicies_OngoingVerification
func (*VerifierMockProjectCommandRunner) Plan ¶ added in v0.8.3
func (verifier *VerifierMockProjectCommandRunner) Plan(ctx command.ProjectContext) *MockProjectCommandRunner_Plan_OngoingVerification
func (*VerifierMockProjectCommandRunner) PolicyCheck ¶ added in v0.17.0
func (verifier *VerifierMockProjectCommandRunner) PolicyCheck(ctx command.ProjectContext) *MockProjectCommandRunner_PolicyCheck_OngoingVerification
func (*VerifierMockProjectCommandRunner) Version ¶ added in v0.17.3
func (verifier *VerifierMockProjectCommandRunner) Version(ctx command.ProjectContext) *MockProjectCommandRunner_Version_OngoingVerification
type VerifierMockProjectLocker ¶ added in v0.8.3
type VerifierMockProjectLocker struct {
// contains filtered or unexported fields
}
func (*VerifierMockProjectLocker) TryLock ¶ added in v0.8.3
func (verifier *VerifierMockProjectLocker) TryLock(log logging.SimpleLogging, pull models.PullRequest, user models.User, workspace string, project models.Project) *MockProjectLocker_TryLock_OngoingVerification
type VerifierMockPullCleaner ¶ added in v0.8.3
type VerifierMockPullCleaner struct {
// contains filtered or unexported fields
}
func (*VerifierMockPullCleaner) CleanUpPull ¶ added in v0.8.3
func (verifier *VerifierMockPullCleaner) CleanUpPull(repo models.Repo, pull models.PullRequest) *MockPullCleaner_CleanUpPull_OngoingVerification
type VerifierMockResourceCleaner ¶ added in v0.18.3
type VerifierMockResourceCleaner struct {
// contains filtered or unexported fields
}
func (*VerifierMockResourceCleaner) CleanUp ¶ added in v0.18.3
func (verifier *VerifierMockResourceCleaner) CleanUp(_param0 jobs.PullInfo) *MockResourceCleaner_CleanUp_OngoingVerification
type VerifierMockStepRunner ¶ added in v0.8.3
type VerifierMockStepRunner struct {
// contains filtered or unexported fields
}
func (*VerifierMockStepRunner) Run ¶ added in v0.8.3
func (verifier *VerifierMockStepRunner) Run(ctx command.ProjectContext, extraArgs []string, path string, envs map[string]string) *MockStepRunner_Run_OngoingVerification
type VerifierMockWebhooksSender ¶ added in v0.8.3
type VerifierMockWebhooksSender struct {
// contains filtered or unexported fields
}
func (*VerifierMockWebhooksSender) Send ¶ added in v0.8.3
func (verifier *VerifierMockWebhooksSender) Send(log logging.SimpleLogging, res webhooks.ApplyResult) *MockWebhooksSender_Send_OngoingVerification
type VerifierMockWorkingDir ¶ added in v0.8.3
type VerifierMockWorkingDir struct {
// contains filtered or unexported fields
}
func (*VerifierMockWorkingDir) Clone ¶ added in v0.8.3
func (verifier *VerifierMockWorkingDir) Clone(log logging.SimpleLogging, headRepo models.Repo, p models.PullRequest, workspace string) *MockWorkingDir_Clone_OngoingVerification
func (*VerifierMockWorkingDir) Delete ¶ added in v0.8.3
func (verifier *VerifierMockWorkingDir) Delete(r models.Repo, p models.PullRequest) *MockWorkingDir_Delete_OngoingVerification
func (*VerifierMockWorkingDir) DeleteForWorkspace ¶ added in v0.8.3
func (verifier *VerifierMockWorkingDir) DeleteForWorkspace(r models.Repo, p models.PullRequest, workspace string) *MockWorkingDir_DeleteForWorkspace_OngoingVerification
func (*VerifierMockWorkingDir) GetPullDir ¶ added in v0.8.3
func (verifier *VerifierMockWorkingDir) GetPullDir(r models.Repo, p models.PullRequest) *MockWorkingDir_GetPullDir_OngoingVerification
func (*VerifierMockWorkingDir) GetWorkingDir ¶ added in v0.8.3
func (verifier *VerifierMockWorkingDir) GetWorkingDir(r models.Repo, p models.PullRequest, workspace string) *MockWorkingDir_GetWorkingDir_OngoingVerification
func (*VerifierMockWorkingDir) HasDiverged ¶ added in v0.17.3
func (verifier *VerifierMockWorkingDir) HasDiverged(log logging.SimpleLogging, cloneDir string) *MockWorkingDir_HasDiverged_OngoingVerification
func (*VerifierMockWorkingDir) IsFileTracked ¶ added in v0.17.3
func (verifier *VerifierMockWorkingDir) IsFileTracked(log logging.SimpleLogging, cloneDir string, filename string) *MockWorkingDir_IsFileTracked_OngoingVerification
type VerifierMockWorkingDirLocker ¶ added in v0.8.3
type VerifierMockWorkingDirLocker struct {
// contains filtered or unexported fields
}
func (*VerifierMockWorkingDirLocker) TryLock ¶ added in v0.8.3
func (verifier *VerifierMockWorkingDirLocker) TryLock(repoFullName string, pullNum int, workspace string) *MockWorkingDirLocker_TryLock_OngoingVerification
func (*VerifierMockWorkingDirLocker) TryLockPull ¶ added in v0.8.3
func (verifier *VerifierMockWorkingDirLocker) TryLockPull(repoFullName string, pullNum int) *MockWorkingDirLocker_TryLockPull_OngoingVerification
Source Files ¶
- mock_apply_command_locker.go
- mock_apply_handler.go
- mock_azuredevops_pull_getter.go
- mock_command_runner.go
- mock_comment_building.go
- mock_comment_parsing.go
- mock_commit_status_updater.go
- mock_custom_step_runner.go
- mock_delete_lock_command.go
- mock_env_step_runner.go
- mock_event_parsing.go
- mock_github_pull_getter.go
- mock_gitlab_merge_request_getter.go
- mock_job_id_generator.go
- mock_job_message_sender.go
- mock_job_url_setter.go
- mock_lock_url_generator.go
- mock_log_stream_url_generator.go
- mock_pending_plan_finder.go
- mock_post_workflows_hooks_command_runner.go
- mock_pre_workflows_hooks_command_runner.go
- mock_project_command_builder.go
- mock_project_command_runner.go
- mock_project_lock.go
- mock_pull_cleaner.go
- mock_resource_cleaner.go
- mock_step_runner.go
- mock_webhooks_sender.go
- mock_working_dir.go
- mock_working_dir_locker.go
Click to show internal directories.
Click to hide internal directories.