mocks

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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.Matcher) *VerifierMockCommandRunner

func (*MockCommandRunner) VerifyWasCalledEventually added in v0.4.13

func (mock *MockCommandRunner) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockCommandRunner

func (*MockCommandRunner) VerifyWasCalledInOrder

func (mock *MockCommandRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, 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

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

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.Matcher) *VerifierMockCommentParsing

func (*MockCommentParsing) VerifyWasCalledEventually added in v0.4.13

func (mock *MockCommentParsing) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockCommentParsing

func (*MockCommentParsing) VerifyWasCalledInOrder added in v0.3.0

func (mock *MockCommentParsing) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, 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

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 models.CommandName) error

func (*MockCommitStatusUpdater) UpdateCombinedCount added in v0.5.0

func (mock *MockCommitStatusUpdater) UpdateCombinedCount(repo models.Repo, pull models.PullRequest, status models.CommitStatus, command models.CommandName, numSuccess int, numTotal int) error

func (*MockCommitStatusUpdater) UpdateProject added in v0.5.0

func (mock *MockCommitStatusUpdater) UpdateProject(ctx models.ProjectCommandContext, cmdName models.CommandName, status models.CommitStatus, url string) error

func (*MockCommitStatusUpdater) VerifyWasCalled added in v0.2.0

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

func (*MockCommitStatusUpdater) VerifyWasCalledEventually added in v0.4.13

func (mock *MockCommitStatusUpdater) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockCommitStatusUpdater

func (*MockCommitStatusUpdater) VerifyWasCalledInOrder added in v0.2.0

func (mock *MockCommitStatusUpdater) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, 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 []models.CommandName, _param4 []int, _param5 []int)

func (*MockCommitStatusUpdater_UpdateCombinedCount_OngoingVerification) GetCapturedArguments added in v0.8.3

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 []models.CommandName)

func (*MockCommitStatusUpdater_UpdateCombined_OngoingVerification) GetCapturedArguments added in v0.8.3

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 []models.ProjectCommandContext, _param1 []models.CommandName, _param2 []models.CommitStatus, _param3 []string)

func (*MockCommitStatusUpdater_UpdateProject_OngoingVerification) GetCapturedArguments added in v0.8.3

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 models.ProjectCommandContext, 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.Matcher) *VerifierMockCustomStepRunner

func (*MockCustomStepRunner) VerifyWasCalledEventually added in v0.7.0

func (mock *MockCustomStepRunner) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockCustomStepRunner

func (*MockCustomStepRunner) VerifyWasCalledInOrder added in v0.7.0

func (mock *MockCustomStepRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, 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 []models.ProjectCommandContext, _param1 []string, _param2 []string, _param3 []map[string]string)

func (*MockCustomStepRunner_Run_OngoingVerification) GetCapturedArguments added in v0.8.3

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 models.ProjectCommandContext, 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.Matcher) *VerifierMockEnvStepRunner

func (*MockEnvStepRunner) VerifyWasCalledEventually added in v0.9.0

func (mock *MockEnvStepRunner) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockEnvStepRunner

func (*MockEnvStepRunner) VerifyWasCalledInOrder added in v0.9.0

func (mock *MockEnvStepRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, 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 []models.ProjectCommandContext, _param1 []string, _param2 []string, _param3 []string, _param4 []map[string]string)

func (*MockEnvStepRunner_Run_OngoingVerification) GetCapturedArguments added in v0.9.0

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) ParseBitbucketCloudPullCommentEvent added in v0.4.8

func (mock *MockEventParsing) ParseBitbucketCloudPullCommentEvent(body []byte) (models.PullRequest, models.Repo, models.Repo, models.User, string, error)

func (*MockEventParsing) ParseBitbucketCloudPullEvent added in v0.4.3

func (mock *MockEventParsing) ParseBitbucketCloudPullEvent(body []byte) (models.PullRequest, models.Repo, models.Repo, models.User, error)

func (*MockEventParsing) ParseBitbucketServerPullCommentEvent added in v0.4.8

func (mock *MockEventParsing) ParseBitbucketServerPullCommentEvent(body []byte) (models.PullRequest, models.Repo, models.Repo, models.User, string, error)

func (*MockEventParsing) ParseBitbucketServerPullEvent added in v0.4.4

func (mock *MockEventParsing) ParseBitbucketServerPullEvent(body []byte) (models.PullRequest, models.Repo, models.Repo, models.User, error)

func (*MockEventParsing) ParseGithubIssueCommentEvent added in v0.2.0

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

func (*MockEventParsing) ParseGithubPull added in v0.2.0

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

func (*MockEventParsing) ParseGithubPullEvent added in v0.4.0

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 (*MockEventParsing) SetFailHandler added in v0.6.0

func (mock *MockEventParsing) SetFailHandler(fh pegomock.FailHandler)

func (*MockEventParsing) VerifyWasCalled

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

func (*MockEventParsing) VerifyWasCalledEventually added in v0.4.13

func (mock *MockEventParsing) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockEventParsing

func (*MockEventParsing) VerifyWasCalledInOrder

func (mock *MockEventParsing) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, 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

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

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

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

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

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

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 (*MockEventParsing_ParseGithubIssueCommentEvent_OngoingVerification) GetCapturedArguments added in v0.8.3

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

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

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

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 (*MockEventParsing_ParseGitlabMergeRequestCommentEvent_OngoingVerification) GetCapturedArguments added in v0.8.3

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 (*MockEventParsing_ParseGitlabMergeRequestEvent_OngoingVerification) GetCapturedArguments added in v0.8.3

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

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.Matcher) *VerifierMockGithubPullGetter

func (*MockGithubPullGetter) VerifyWasCalledEventually added in v0.4.13

func (mock *MockGithubPullGetter) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockGithubPullGetter

func (*MockGithubPullGetter) VerifyWasCalledInOrder added in v0.2.0

func (mock *MockGithubPullGetter) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, 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

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 (*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.Matcher) *VerifierMockGitlabMergeRequestGetter

func (*MockGitlabMergeRequestGetter) VerifyWasCalledEventually added in v0.4.13

func (mock *MockGitlabMergeRequestGetter) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockGitlabMergeRequestGetter

func (*MockGitlabMergeRequestGetter) VerifyWasCalledInOrder added in v0.2.0

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

func (*MockGitlabMergeRequestGetter) VerifyWasCalledOnce added in v0.2.0

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

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.Matcher) *VerifierMockLockURLGenerator

func (*MockLockURLGenerator) VerifyWasCalledEventually added in v0.4.13

func (mock *MockLockURLGenerator) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockLockURLGenerator

func (*MockLockURLGenerator) VerifyWasCalledInOrder

func (mock *MockLockURLGenerator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, 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

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.Matcher) *VerifierMockPendingPlanFinder

func (*MockPendingPlanFinder) VerifyWasCalledEventually added in v0.4.14

func (mock *MockPendingPlanFinder) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockPendingPlanFinder

func (*MockPendingPlanFinder) VerifyWasCalledInOrder added in v0.4.14

func (mock *MockPendingPlanFinder) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, 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

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 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 (*MockProjectCommandBuilder) BuildAutoplanCommands added in v0.4.0

func (mock *MockProjectCommandBuilder) BuildAutoplanCommands(ctx *events.CommandContext) ([]models.ProjectCommandContext, error)

func (*MockProjectCommandBuilder) BuildPlanCommands added in v0.4.5

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.Matcher) *VerifierMockProjectCommandBuilder

func (*MockProjectCommandBuilder) VerifyWasCalledEventually added in v0.4.13

func (mock *MockProjectCommandBuilder) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockProjectCommandBuilder

func (*MockProjectCommandBuilder) VerifyWasCalledInOrder added in v0.4.0

func (mock *MockProjectCommandBuilder) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, 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 (*MockProjectCommandBuilder_BuildApplyCommands_OngoingVerification) GetCapturedArguments added in v0.8.3

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 (*MockProjectCommandBuilder_BuildAutoplanCommands_OngoingVerification) GetCapturedArguments added in v0.8.3

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 (*MockProjectCommandBuilder_BuildPlanCommands_OngoingVerification) GetCapturedArguments added in v0.8.3

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 (*MockProjectCommandRunner) FailHandler added in v0.6.0

func (mock *MockProjectCommandRunner) FailHandler() pegomock.FailHandler

func (*MockProjectCommandRunner) Plan added in v0.4.0

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.Matcher) *VerifierMockProjectCommandRunner

func (*MockProjectCommandRunner) VerifyWasCalledEventually added in v0.4.13

func (mock *MockProjectCommandRunner) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockProjectCommandRunner

func (*MockProjectCommandRunner) VerifyWasCalledInOrder added in v0.4.0

func (mock *MockProjectCommandRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierMockProjectCommandRunner

func (*MockProjectCommandRunner) VerifyWasCalledOnce added in v0.4.0

func (mock *MockProjectCommandRunner) VerifyWasCalledOnce() *VerifierMockProjectCommandRunner

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 []models.ProjectCommandContext)

func (*MockProjectCommandRunner_Apply_OngoingVerification) GetCapturedArguments added in v0.8.3

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 []models.ProjectCommandContext)

func (*MockProjectCommandRunner_Plan_OngoingVerification) GetCapturedArguments added in v0.8.3

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.SimpleLogger, 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.Matcher) *VerifierMockProjectLocker

func (*MockProjectLocker) VerifyWasCalledEventually added in v0.4.13

func (mock *MockProjectLocker) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockProjectLocker

func (*MockProjectLocker) VerifyWasCalledInOrder added in v0.4.0

func (mock *MockProjectLocker) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, 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.SimpleLogger, _param1 []models.PullRequest, _param2 []models.User, _param3 []string, _param4 []models.Project)

func (*MockProjectLocker_TryLock_OngoingVerification) GetCapturedArguments added in v0.8.3

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.Matcher) *VerifierMockPullCleaner

func (*MockPullCleaner) VerifyWasCalledEventually added in v0.4.13

func (mock *MockPullCleaner) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockPullCleaner

func (*MockPullCleaner) VerifyWasCalledInOrder

func (mock *MockPullCleaner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, 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

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 models.ProjectCommandContext, 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.Matcher) *VerifierMockStepRunner

func (*MockStepRunner) VerifyWasCalledEventually added in v0.4.13

func (mock *MockStepRunner) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockStepRunner

func (*MockStepRunner) VerifyWasCalledInOrder added in v0.4.0

func (mock *MockStepRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, 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 []models.ProjectCommandContext, _param1 [][]string, _param2 []string, _param3 []map[string]string)

func (*MockStepRunner_Run_OngoingVerification) GetCapturedArguments added in v0.8.3

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 (*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.Matcher) *VerifierMockWebhooksSender

func (*MockWebhooksSender) VerifyWasCalledEventually added in v0.4.13

func (mock *MockWebhooksSender) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockWebhooksSender

func (*MockWebhooksSender) VerifyWasCalledInOrder added in v0.4.0

func (mock *MockWebhooksSender) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, 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.SimpleLogger, _param1 []webhooks.ApplyResult)

func (*MockWebhooksSender_Send_OngoingVerification) GetCapturedArguments added in v0.8.3

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.SimpleLogger, baseRepo models.Repo, headRepo models.Repo, p models.PullRequest, workspace string) (string, 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) 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.Matcher) *VerifierMockWorkingDir

func (*MockWorkingDir) VerifyWasCalledEventually added in v0.4.13

func (mock *MockWorkingDir) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockWorkingDir

func (*MockWorkingDir) VerifyWasCalledInOrder added in v0.4.0

func (mock *MockWorkingDir) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, 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) TryLock added in v0.4.0

func (mock *MockWorkingDirLocker) TryLock(repoFullName string, pullNum int, workspace string) (func(), error)

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.Matcher) *VerifierMockWorkingDirLocker

func (*MockWorkingDirLocker) VerifyWasCalledEventually added in v0.4.13

func (mock *MockWorkingDirLocker) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockWorkingDirLocker

func (*MockWorkingDirLocker) VerifyWasCalledInOrder added in v0.4.0

func (mock *MockWorkingDirLocker) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, 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

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.SimpleLogger, _param1 []models.Repo, _param2 []models.Repo, _param3 []models.PullRequest, _param4 []string)

func (*MockWorkingDir_Clone_OngoingVerification) GetCapturedArguments added in v0.8.3

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

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

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

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

type VerifierMockCommandRunner added in v0.8.3

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

func (*VerifierMockCommandRunner) RunAutoplanCommand added in v0.8.3

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 VerifierMockCommentParsing added in v0.8.3

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

func (*VerifierMockCommentParsing) Parse added in v0.8.3

type VerifierMockCommitStatusUpdater added in v0.8.3

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

func (*VerifierMockCommitStatusUpdater) UpdateCombined added in v0.8.3

func (*VerifierMockCommitStatusUpdater) UpdateCombinedCount added in v0.8.3

func (*VerifierMockCommitStatusUpdater) UpdateProject added in v0.8.3

type VerifierMockCustomStepRunner added in v0.8.3

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

func (*VerifierMockCustomStepRunner) Run added in v0.8.3

type VerifierMockEnvStepRunner added in v0.9.0

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

func (*VerifierMockEnvStepRunner) Run added in v0.9.0

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) ParseBitbucketCloudPullCommentEvent added in v0.8.3

func (*VerifierMockEventParsing) ParseBitbucketCloudPullEvent added in v0.8.3

func (*VerifierMockEventParsing) ParseBitbucketServerPullCommentEvent added in v0.8.3

func (*VerifierMockEventParsing) ParseBitbucketServerPullEvent added in v0.8.3

func (*VerifierMockEventParsing) ParseGithubIssueCommentEvent added in v0.8.3

func (*VerifierMockEventParsing) ParseGithubPull added in v0.8.3

func (*VerifierMockEventParsing) ParseGithubPullEvent added in v0.8.3

func (*VerifierMockEventParsing) ParseGithubRepo added in v0.8.3

func (*VerifierMockEventParsing) ParseGitlabMergeRequest added in v0.8.3

func (*VerifierMockEventParsing) ParseGitlabMergeRequestCommentEvent added in v0.8.3

func (*VerifierMockEventParsing) ParseGitlabMergeRequestEvent added in v0.8.3

type VerifierMockGithubPullGetter added in v0.8.3

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

func (*VerifierMockGithubPullGetter) GetPullRequest added in v0.8.3

type VerifierMockGitlabMergeRequestGetter added in v0.8.3

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

func (*VerifierMockGitlabMergeRequestGetter) GetMergeRequest added in v0.8.3

type VerifierMockLockURLGenerator added in v0.8.3

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

func (*VerifierMockLockURLGenerator) GenerateLockURL added in v0.8.3

type VerifierMockPendingPlanFinder added in v0.8.3

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

func (*VerifierMockPendingPlanFinder) DeletePlans added in v0.8.3

func (*VerifierMockPendingPlanFinder) Find added in v0.8.3

type VerifierMockProjectCommandBuilder added in v0.8.3

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

func (*VerifierMockProjectCommandBuilder) BuildApplyCommands added in v0.8.3

func (*VerifierMockProjectCommandBuilder) BuildAutoplanCommands added in v0.8.3

func (*VerifierMockProjectCommandBuilder) BuildPlanCommands added in v0.8.3

type VerifierMockProjectCommandRunner added in v0.8.3

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

func (*VerifierMockProjectCommandRunner) Apply added in v0.8.3

func (*VerifierMockProjectCommandRunner) Plan added in v0.8.3

type VerifierMockProjectLocker added in v0.8.3

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

func (*VerifierMockProjectLocker) TryLock added in v0.8.3

type VerifierMockPullCleaner added in v0.8.3

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

func (*VerifierMockPullCleaner) CleanUpPull added in v0.8.3

type VerifierMockStepRunner added in v0.8.3

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

func (*VerifierMockStepRunner) Run added in v0.8.3

type VerifierMockWebhooksSender added in v0.8.3

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

func (*VerifierMockWebhooksSender) Send added in v0.8.3

type VerifierMockWorkingDir added in v0.8.3

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

func (*VerifierMockWorkingDir) Clone added in v0.8.3

func (*VerifierMockWorkingDir) Delete added in v0.8.3

func (*VerifierMockWorkingDir) DeleteForWorkspace added in v0.8.3

func (*VerifierMockWorkingDir) GetPullDir added in v0.8.3

func (*VerifierMockWorkingDir) GetWorkingDir added in v0.8.3

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

Directories

Path Synopsis
Code generated by pegomock.
Code generated by pegomock.

Jump to

Keyboard shortcuts

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