mocks

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 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 CommandRunner_RunAutoplanCommand_OngoingVerification added in v0.4.0

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

func (*CommandRunner_RunAutoplanCommand_OngoingVerification) GetAllCapturedArguments added in v0.4.0

func (c *CommandRunner_RunAutoplanCommand_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.Repo, _param2 []models.PullRequest, _param3 []models.User)

func (*CommandRunner_RunAutoplanCommand_OngoingVerification) GetCapturedArguments added in v0.4.0

type CommandRunner_RunCommentCommand_OngoingVerification added in v0.4.0

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

func (*CommandRunner_RunCommentCommand_OngoingVerification) GetAllCapturedArguments added in v0.4.0

func (c *CommandRunner_RunCommentCommand_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []*models.Repo, _param2 []*models.PullRequest, _param3 []models.User, _param4 []int, _param5 []*events.CommentCommand)

func (*CommandRunner_RunCommentCommand_OngoingVerification) GetCapturedArguments added in v0.4.0

type CommentParsing_Parse_OngoingVerification added in v0.3.0

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

func (*CommentParsing_Parse_OngoingVerification) GetAllCapturedArguments added in v0.3.0

func (c *CommentParsing_Parse_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []models.VCSHostType)

func (*CommentParsing_Parse_OngoingVerification) GetCapturedArguments added in v0.3.0

type CommitStatusUpdater_UpdateCombinedCount_OngoingVerification added in v0.5.0

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

func (*CommitStatusUpdater_UpdateCombinedCount_OngoingVerification) GetAllCapturedArguments added in v0.5.0

func (c *CommitStatusUpdater_UpdateCombinedCount_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest, _param2 []models.CommitStatus, _param3 []models.CommandName, _param4 []int, _param5 []int)

func (*CommitStatusUpdater_UpdateCombinedCount_OngoingVerification) GetCapturedArguments added in v0.5.0

type CommitStatusUpdater_UpdateCombined_OngoingVerification added in v0.5.0

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

func (*CommitStatusUpdater_UpdateCombined_OngoingVerification) GetAllCapturedArguments added in v0.5.0

func (c *CommitStatusUpdater_UpdateCombined_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest, _param2 []models.CommitStatus, _param3 []models.CommandName)

func (*CommitStatusUpdater_UpdateCombined_OngoingVerification) GetCapturedArguments added in v0.5.0

type CommitStatusUpdater_UpdateProject_OngoingVerification added in v0.5.0

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

func (*CommitStatusUpdater_UpdateProject_OngoingVerification) GetAllCapturedArguments added in v0.5.0

func (c *CommitStatusUpdater_UpdateProject_OngoingVerification) GetAllCapturedArguments() (_param0 []models.ProjectCommandContext, _param1 []models.CommandName, _param2 []models.CommitStatus, _param3 []string)

func (*CommitStatusUpdater_UpdateProject_OngoingVerification) GetCapturedArguments added in v0.5.0

type CustomStepRunner_Run_OngoingVerification added in v0.7.0

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

func (*CustomStepRunner_Run_OngoingVerification) GetAllCapturedArguments added in v0.7.0

func (c *CustomStepRunner_Run_OngoingVerification) GetAllCapturedArguments() (_param0 []models.ProjectCommandContext, _param1 []string, _param2 []string)

func (*CustomStepRunner_Run_OngoingVerification) GetCapturedArguments added in v0.7.0

type EventParsing_GetBitbucketCloudPullEventType_OngoingVerification added in v0.4.13

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

func (*EventParsing_GetBitbucketCloudPullEventType_OngoingVerification) GetAllCapturedArguments added in v0.4.13

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

func (*EventParsing_GetBitbucketCloudPullEventType_OngoingVerification) GetCapturedArguments added in v0.4.13

type EventParsing_GetBitbucketServerPullEventType_OngoingVerification added in v0.4.13

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

func (*EventParsing_GetBitbucketServerPullEventType_OngoingVerification) GetAllCapturedArguments added in v0.4.13

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

func (*EventParsing_GetBitbucketServerPullEventType_OngoingVerification) GetCapturedArguments added in v0.4.13

type EventParsing_ParseBitbucketCloudPullCommentEvent_OngoingVerification added in v0.4.13

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

func (*EventParsing_ParseBitbucketCloudPullCommentEvent_OngoingVerification) GetAllCapturedArguments added in v0.4.13

func (c *EventParsing_ParseBitbucketCloudPullCommentEvent_OngoingVerification) GetAllCapturedArguments() (_param0 [][]byte)

func (*EventParsing_ParseBitbucketCloudPullCommentEvent_OngoingVerification) GetCapturedArguments added in v0.4.13

type EventParsing_ParseBitbucketCloudPullEvent_OngoingVerification added in v0.4.3

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

func (*EventParsing_ParseBitbucketCloudPullEvent_OngoingVerification) GetAllCapturedArguments added in v0.4.3

func (c *EventParsing_ParseBitbucketCloudPullEvent_OngoingVerification) GetAllCapturedArguments() (_param0 [][]byte)

func (*EventParsing_ParseBitbucketCloudPullEvent_OngoingVerification) GetCapturedArguments added in v0.4.3

type EventParsing_ParseBitbucketServerPullCommentEvent_OngoingVerification added in v0.4.13

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

func (*EventParsing_ParseBitbucketServerPullCommentEvent_OngoingVerification) GetAllCapturedArguments added in v0.4.13

func (c *EventParsing_ParseBitbucketServerPullCommentEvent_OngoingVerification) GetAllCapturedArguments() (_param0 [][]byte)

func (*EventParsing_ParseBitbucketServerPullCommentEvent_OngoingVerification) GetCapturedArguments added in v0.4.13

type EventParsing_ParseBitbucketServerPullEvent_OngoingVerification added in v0.4.4

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

func (*EventParsing_ParseBitbucketServerPullEvent_OngoingVerification) GetAllCapturedArguments added in v0.4.4

func (c *EventParsing_ParseBitbucketServerPullEvent_OngoingVerification) GetAllCapturedArguments() (_param0 [][]byte)

func (*EventParsing_ParseBitbucketServerPullEvent_OngoingVerification) GetCapturedArguments added in v0.4.4

type EventParsing_ParseGithubIssueCommentEvent_OngoingVerification added in v0.2.0

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

func (*EventParsing_ParseGithubIssueCommentEvent_OngoingVerification) GetAllCapturedArguments added in v0.2.0

func (*EventParsing_ParseGithubIssueCommentEvent_OngoingVerification) GetCapturedArguments added in v0.2.0

type EventParsing_ParseGithubPullEvent_OngoingVerification added in v0.4.0

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

func (*EventParsing_ParseGithubPullEvent_OngoingVerification) GetAllCapturedArguments added in v0.4.0

func (c *EventParsing_ParseGithubPullEvent_OngoingVerification) GetAllCapturedArguments() (_param0 []*github.PullRequestEvent)

func (*EventParsing_ParseGithubPullEvent_OngoingVerification) GetCapturedArguments added in v0.4.0

type EventParsing_ParseGithubPull_OngoingVerification added in v0.2.0

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

func (*EventParsing_ParseGithubPull_OngoingVerification) GetAllCapturedArguments added in v0.2.0

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

func (*EventParsing_ParseGithubPull_OngoingVerification) GetCapturedArguments added in v0.2.0

type EventParsing_ParseGithubRepo_OngoingVerification added in v0.2.0

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

func (*EventParsing_ParseGithubRepo_OngoingVerification) GetAllCapturedArguments added in v0.2.0

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

func (*EventParsing_ParseGithubRepo_OngoingVerification) GetCapturedArguments added in v0.2.0

type EventParsing_ParseGitlabMergeRequestCommentEvent_OngoingVerification added in v0.4.13

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

func (*EventParsing_ParseGitlabMergeRequestCommentEvent_OngoingVerification) GetAllCapturedArguments added in v0.4.13

func (*EventParsing_ParseGitlabMergeRequestCommentEvent_OngoingVerification) GetCapturedArguments added in v0.4.13

type EventParsing_ParseGitlabMergeRequestEvent_OngoingVerification added in v0.4.13

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

func (*EventParsing_ParseGitlabMergeRequestEvent_OngoingVerification) GetAllCapturedArguments added in v0.4.13

func (*EventParsing_ParseGitlabMergeRequestEvent_OngoingVerification) GetCapturedArguments added in v0.4.13

type EventParsing_ParseGitlabMergeRequest_OngoingVerification added in v0.2.0

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

func (*EventParsing_ParseGitlabMergeRequest_OngoingVerification) GetAllCapturedArguments added in v0.2.0

func (c *EventParsing_ParseGitlabMergeRequest_OngoingVerification) GetAllCapturedArguments() (_param0 []*go_gitlab.MergeRequest, _param1 []models.Repo)

func (*EventParsing_ParseGitlabMergeRequest_OngoingVerification) GetCapturedArguments added in v0.2.0

type GithubPullGetter_GetPullRequest_OngoingVerification added in v0.2.0

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

func (*GithubPullGetter_GetPullRequest_OngoingVerification) GetAllCapturedArguments added in v0.2.0

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

func (*GithubPullGetter_GetPullRequest_OngoingVerification) GetCapturedArguments added in v0.2.0

type GitlabMergeRequestGetter_GetMergeRequest_OngoingVerification added in v0.2.0

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

func (*GitlabMergeRequestGetter_GetMergeRequest_OngoingVerification) GetAllCapturedArguments added in v0.2.0

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

func (*GitlabMergeRequestGetter_GetMergeRequest_OngoingVerification) GetCapturedArguments added in v0.2.0

type LockURLGenerator_GenerateLockURL_OngoingVerification added in v0.4.0

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

func (*LockURLGenerator_GenerateLockURL_OngoingVerification) GetAllCapturedArguments added in v0.4.0

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

func (*LockURLGenerator_GenerateLockURL_OngoingVerification) GetCapturedArguments added in v0.4.0

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) *VerifierCommandRunner

func (*MockCommandRunner) VerifyWasCalledEventually added in v0.4.13

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

func (*MockCommandRunner) VerifyWasCalledInOrder

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

func (*MockCommandRunner) VerifyWasCalledOnce

func (mock *MockCommandRunner) VerifyWasCalledOnce() *VerifierCommandRunner

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) *VerifierCommentParsing

func (*MockCommentParsing) VerifyWasCalledEventually added in v0.4.13

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

func (*MockCommentParsing) VerifyWasCalledInOrder added in v0.3.0

func (mock *MockCommentParsing) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierCommentParsing

func (*MockCommentParsing) VerifyWasCalledOnce added in v0.3.0

func (mock *MockCommentParsing) VerifyWasCalledOnce() *VerifierCommentParsing

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) *VerifierCommitStatusUpdater

func (*MockCommitStatusUpdater) VerifyWasCalledEventually added in v0.4.13

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

func (*MockCommitStatusUpdater) VerifyWasCalledInOrder added in v0.2.0

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

func (*MockCommitStatusUpdater) VerifyWasCalledOnce added in v0.2.0

func (mock *MockCommitStatusUpdater) VerifyWasCalledOnce() *VerifierCommitStatusUpdater

type 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 (*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) *VerifierCustomStepRunner

func (*MockCustomStepRunner) VerifyWasCalledEventually added in v0.7.0

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

func (*MockCustomStepRunner) VerifyWasCalledInOrder added in v0.7.0

func (mock *MockCustomStepRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierCustomStepRunner

func (*MockCustomStepRunner) VerifyWasCalledOnce added in v0.7.0

func (mock *MockCustomStepRunner) VerifyWasCalledOnce() *VerifierCustomStepRunner

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) *VerifierEventParsing

func (*MockEventParsing) VerifyWasCalledEventually added in v0.4.13

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

func (*MockEventParsing) VerifyWasCalledInOrder

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

func (*MockEventParsing) VerifyWasCalledOnce

func (mock *MockEventParsing) VerifyWasCalledOnce() *VerifierEventParsing

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) *VerifierGithubPullGetter

func (*MockGithubPullGetter) VerifyWasCalledEventually added in v0.4.13

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

func (*MockGithubPullGetter) VerifyWasCalledInOrder added in v0.2.0

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

func (*MockGithubPullGetter) VerifyWasCalledOnce added in v0.2.0

func (mock *MockGithubPullGetter) VerifyWasCalledOnce() *VerifierGithubPullGetter

type MockGitlabMergeRequestGetter added in v0.2.0

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

func NewMockGitlabMergeRequestGetter added in v0.2.0

func NewMockGitlabMergeRequestGetter(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) *VerifierGitlabMergeRequestGetter

func (*MockGitlabMergeRequestGetter) VerifyWasCalledEventually added in v0.4.13

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

func (*MockGitlabMergeRequestGetter) VerifyWasCalledInOrder added in v0.2.0

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

func (*MockGitlabMergeRequestGetter) VerifyWasCalledOnce added in v0.2.0

type MockLockURLGenerator

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

func NewMockLockURLGenerator

func NewMockLockURLGenerator(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) *VerifierLockURLGenerator

func (*MockLockURLGenerator) VerifyWasCalledEventually added in v0.4.13

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

func (*MockLockURLGenerator) VerifyWasCalledInOrder

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

func (*MockLockURLGenerator) VerifyWasCalledOnce

func (mock *MockLockURLGenerator) VerifyWasCalledOnce() *VerifierLockURLGenerator

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) *VerifierPendingPlanFinder

func (*MockPendingPlanFinder) VerifyWasCalledEventually added in v0.4.14

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

func (*MockPendingPlanFinder) VerifyWasCalledInOrder added in v0.4.14

func (mock *MockPendingPlanFinder) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierPendingPlanFinder

func (*MockPendingPlanFinder) VerifyWasCalledOnce added in v0.4.14

func (mock *MockPendingPlanFinder) VerifyWasCalledOnce() *VerifierPendingPlanFinder

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 *events.CommandContext, commentCommand *events.CommentCommand) ([]models.ProjectCommandContext, error)

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 (mock *MockProjectCommandBuilder) BuildPlanCommands(ctx *events.CommandContext, commentCommand *events.CommentCommand) ([]models.ProjectCommandContext, 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.Matcher) *VerifierProjectCommandBuilder

func (*MockProjectCommandBuilder) VerifyWasCalledEventually added in v0.4.13

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

func (*MockProjectCommandBuilder) VerifyWasCalledInOrder added in v0.4.0

func (mock *MockProjectCommandBuilder) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierProjectCommandBuilder

func (*MockProjectCommandBuilder) VerifyWasCalledOnce added in v0.4.0

func (mock *MockProjectCommandBuilder) VerifyWasCalledOnce() *VerifierProjectCommandBuilder

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) *VerifierProjectCommandRunner

func (*MockProjectCommandRunner) VerifyWasCalledEventually added in v0.4.13

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

func (*MockProjectCommandRunner) VerifyWasCalledInOrder added in v0.4.0

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

func (*MockProjectCommandRunner) VerifyWasCalledOnce added in v0.4.0

func (mock *MockProjectCommandRunner) VerifyWasCalledOnce() *VerifierProjectCommandRunner

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) *VerifierProjectLocker

func (*MockProjectLocker) VerifyWasCalledEventually added in v0.4.13

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

func (*MockProjectLocker) VerifyWasCalledInOrder added in v0.4.0

func (mock *MockProjectLocker) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierProjectLocker

func (*MockProjectLocker) VerifyWasCalledOnce added in v0.4.0

func (mock *MockProjectLocker) VerifyWasCalledOnce() *VerifierProjectLocker

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) *VerifierPullCleaner

func (*MockPullCleaner) VerifyWasCalledEventually added in v0.4.13

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

func (*MockPullCleaner) VerifyWasCalledInOrder

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

func (*MockPullCleaner) VerifyWasCalledOnce

func (mock *MockPullCleaner) VerifyWasCalledOnce() *VerifierPullCleaner

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) (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) *VerifierStepRunner

func (*MockStepRunner) VerifyWasCalledEventually added in v0.4.13

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

func (*MockStepRunner) VerifyWasCalledInOrder added in v0.4.0

func (mock *MockStepRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierStepRunner

func (*MockStepRunner) VerifyWasCalledOnce added in v0.4.0

func (mock *MockStepRunner) VerifyWasCalledOnce() *VerifierStepRunner

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) *VerifierWebhooksSender

func (*MockWebhooksSender) VerifyWasCalledEventually added in v0.4.13

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

func (*MockWebhooksSender) VerifyWasCalledInOrder added in v0.4.0

func (mock *MockWebhooksSender) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierWebhooksSender

func (*MockWebhooksSender) VerifyWasCalledOnce added in v0.4.0

func (mock *MockWebhooksSender) VerifyWasCalledOnce() *VerifierWebhooksSender

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) *VerifierWorkingDir

func (*MockWorkingDir) VerifyWasCalledEventually added in v0.4.13

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

func (*MockWorkingDir) VerifyWasCalledInOrder added in v0.4.0

func (mock *MockWorkingDir) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierWorkingDir

func (*MockWorkingDir) VerifyWasCalledOnce added in v0.4.0

func (mock *MockWorkingDir) VerifyWasCalledOnce() *VerifierWorkingDir

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) *VerifierWorkingDirLocker

func (*MockWorkingDirLocker) VerifyWasCalledEventually added in v0.4.13

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

func (*MockWorkingDirLocker) VerifyWasCalledInOrder added in v0.4.0

func (mock *MockWorkingDirLocker) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierWorkingDirLocker

func (*MockWorkingDirLocker) VerifyWasCalledOnce added in v0.4.0

func (mock *MockWorkingDirLocker) VerifyWasCalledOnce() *VerifierWorkingDirLocker

type PendingPlanFinder_DeletePlans_OngoingVerification added in v0.4.14

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

func (*PendingPlanFinder_DeletePlans_OngoingVerification) GetAllCapturedArguments added in v0.4.14

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

func (*PendingPlanFinder_DeletePlans_OngoingVerification) GetCapturedArguments added in v0.4.14

type PendingPlanFinder_Find_OngoingVerification added in v0.4.14

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

func (*PendingPlanFinder_Find_OngoingVerification) GetAllCapturedArguments added in v0.4.14

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

func (*PendingPlanFinder_Find_OngoingVerification) GetCapturedArguments added in v0.4.14

func (c *PendingPlanFinder_Find_OngoingVerification) GetCapturedArguments() string

type ProjectCommandBuilder_BuildApplyCommands_OngoingVerification added in v0.4.5

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

func (*ProjectCommandBuilder_BuildApplyCommands_OngoingVerification) GetAllCapturedArguments added in v0.4.5

func (c *ProjectCommandBuilder_BuildApplyCommands_OngoingVerification) GetAllCapturedArguments() (_param0 []*events.CommandContext, _param1 []*events.CommentCommand)

func (*ProjectCommandBuilder_BuildApplyCommands_OngoingVerification) GetCapturedArguments added in v0.4.5

type ProjectCommandBuilder_BuildAutoplanCommands_OngoingVerification added in v0.4.0

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

func (*ProjectCommandBuilder_BuildAutoplanCommands_OngoingVerification) GetAllCapturedArguments added in v0.4.0

func (*ProjectCommandBuilder_BuildAutoplanCommands_OngoingVerification) GetCapturedArguments added in v0.4.0

type ProjectCommandBuilder_BuildPlanCommands_OngoingVerification added in v0.4.5

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

func (*ProjectCommandBuilder_BuildPlanCommands_OngoingVerification) GetAllCapturedArguments added in v0.4.5

func (c *ProjectCommandBuilder_BuildPlanCommands_OngoingVerification) GetAllCapturedArguments() (_param0 []*events.CommandContext, _param1 []*events.CommentCommand)

func (*ProjectCommandBuilder_BuildPlanCommands_OngoingVerification) GetCapturedArguments added in v0.4.5

type ProjectCommandRunner_Apply_OngoingVerification added in v0.4.0

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

func (*ProjectCommandRunner_Apply_OngoingVerification) GetAllCapturedArguments added in v0.4.0

func (c *ProjectCommandRunner_Apply_OngoingVerification) GetAllCapturedArguments() (_param0 []models.ProjectCommandContext)

func (*ProjectCommandRunner_Apply_OngoingVerification) GetCapturedArguments added in v0.4.0

type ProjectCommandRunner_Plan_OngoingVerification added in v0.4.0

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

func (*ProjectCommandRunner_Plan_OngoingVerification) GetAllCapturedArguments added in v0.4.0

func (c *ProjectCommandRunner_Plan_OngoingVerification) GetAllCapturedArguments() (_param0 []models.ProjectCommandContext)

func (*ProjectCommandRunner_Plan_OngoingVerification) GetCapturedArguments added in v0.4.0

type ProjectLocker_TryLock_OngoingVerification added in v0.4.0

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

func (*ProjectLocker_TryLock_OngoingVerification) GetAllCapturedArguments added in v0.4.0

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

func (*ProjectLocker_TryLock_OngoingVerification) GetCapturedArguments added in v0.4.0

type PullCleaner_CleanUpPull_OngoingVerification

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

func (*PullCleaner_CleanUpPull_OngoingVerification) GetAllCapturedArguments

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

func (*PullCleaner_CleanUpPull_OngoingVerification) GetCapturedArguments

type StepRunner_Run_OngoingVerification added in v0.4.0

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

func (*StepRunner_Run_OngoingVerification) GetAllCapturedArguments added in v0.4.0

func (c *StepRunner_Run_OngoingVerification) GetAllCapturedArguments() (_param0 []models.ProjectCommandContext, _param1 [][]string, _param2 []string)

func (*StepRunner_Run_OngoingVerification) GetCapturedArguments added in v0.4.0

type VerifierCommandRunner

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

func (*VerifierCommandRunner) RunAutoplanCommand added in v0.4.0

func (verifier *VerifierCommandRunner) RunAutoplanCommand(baseRepo models.Repo, headRepo models.Repo, pull models.PullRequest, user models.User) *CommandRunner_RunAutoplanCommand_OngoingVerification

func (*VerifierCommandRunner) RunCommentCommand added in v0.4.0

func (verifier *VerifierCommandRunner) RunCommentCommand(baseRepo models.Repo, maybeHeadRepo *models.Repo, maybePull *models.PullRequest, user models.User, pullNum int, cmd *events.CommentCommand) *CommandRunner_RunCommentCommand_OngoingVerification

type VerifierCommentParsing added in v0.3.0

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

func (*VerifierCommentParsing) Parse added in v0.3.0

type VerifierCommitStatusUpdater added in v0.2.0

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

func (*VerifierCommitStatusUpdater) UpdateCombined added in v0.5.0

func (*VerifierCommitStatusUpdater) UpdateCombinedCount added in v0.5.0

func (*VerifierCommitStatusUpdater) UpdateProject added in v0.5.0

type VerifierCustomStepRunner added in v0.7.0

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

func (*VerifierCustomStepRunner) Run added in v0.7.0

type VerifierEventParsing

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

func (*VerifierEventParsing) GetBitbucketCloudPullEventType added in v0.4.13

func (verifier *VerifierEventParsing) GetBitbucketCloudPullEventType(eventTypeHeader string) *EventParsing_GetBitbucketCloudPullEventType_OngoingVerification

func (*VerifierEventParsing) GetBitbucketServerPullEventType added in v0.4.13

func (verifier *VerifierEventParsing) GetBitbucketServerPullEventType(eventTypeHeader string) *EventParsing_GetBitbucketServerPullEventType_OngoingVerification

func (*VerifierEventParsing) ParseBitbucketCloudPullCommentEvent added in v0.4.8

func (verifier *VerifierEventParsing) ParseBitbucketCloudPullCommentEvent(body []byte) *EventParsing_ParseBitbucketCloudPullCommentEvent_OngoingVerification

func (*VerifierEventParsing) ParseBitbucketCloudPullEvent added in v0.4.3

func (verifier *VerifierEventParsing) ParseBitbucketCloudPullEvent(body []byte) *EventParsing_ParseBitbucketCloudPullEvent_OngoingVerification

func (*VerifierEventParsing) ParseBitbucketServerPullCommentEvent added in v0.4.8

func (verifier *VerifierEventParsing) ParseBitbucketServerPullCommentEvent(body []byte) *EventParsing_ParseBitbucketServerPullCommentEvent_OngoingVerification

func (*VerifierEventParsing) ParseBitbucketServerPullEvent added in v0.4.4

func (verifier *VerifierEventParsing) ParseBitbucketServerPullEvent(body []byte) *EventParsing_ParseBitbucketServerPullEvent_OngoingVerification

func (*VerifierEventParsing) ParseGithubIssueCommentEvent added in v0.2.0

func (*VerifierEventParsing) ParseGithubPull added in v0.2.0

func (*VerifierEventParsing) ParseGithubPullEvent added in v0.4.0

func (*VerifierEventParsing) ParseGithubRepo added in v0.2.0

func (*VerifierEventParsing) ParseGitlabMergeRequest added in v0.2.0

func (*VerifierEventParsing) ParseGitlabMergeRequestCommentEvent added in v0.4.13

func (*VerifierEventParsing) ParseGitlabMergeRequestEvent added in v0.4.13

type VerifierGithubPullGetter added in v0.2.0

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

func (*VerifierGithubPullGetter) GetPullRequest added in v0.2.0

type VerifierGitlabMergeRequestGetter added in v0.2.0

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

func (*VerifierGitlabMergeRequestGetter) GetMergeRequest added in v0.2.0

type VerifierLockURLGenerator

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

func (*VerifierLockURLGenerator) GenerateLockURL added in v0.4.0

type VerifierPendingPlanFinder added in v0.4.14

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

func (*VerifierPendingPlanFinder) DeletePlans added in v0.4.14

func (*VerifierPendingPlanFinder) Find added in v0.4.14

type VerifierProjectCommandBuilder added in v0.4.0

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

func (*VerifierProjectCommandBuilder) BuildApplyCommands added in v0.4.5

func (*VerifierProjectCommandBuilder) BuildAutoplanCommands added in v0.4.0

func (*VerifierProjectCommandBuilder) BuildPlanCommands added in v0.4.5

type VerifierProjectCommandRunner added in v0.4.0

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

func (*VerifierProjectCommandRunner) Apply added in v0.4.0

func (*VerifierProjectCommandRunner) Plan added in v0.4.0

type VerifierProjectLocker added in v0.4.0

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

func (*VerifierProjectLocker) TryLock added in v0.4.0

type VerifierPullCleaner

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

func (*VerifierPullCleaner) CleanUpPull

type VerifierStepRunner added in v0.4.0

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

func (*VerifierStepRunner) Run added in v0.4.0

type VerifierWebhooksSender added in v0.4.0

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

func (*VerifierWebhooksSender) Send added in v0.4.0

type VerifierWorkingDir added in v0.4.0

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

func (*VerifierWorkingDir) Clone added in v0.4.0

func (*VerifierWorkingDir) Delete added in v0.4.0

func (*VerifierWorkingDir) DeleteForWorkspace added in v0.4.0

func (*VerifierWorkingDir) GetPullDir added in v0.4.5

func (*VerifierWorkingDir) GetWorkingDir added in v0.4.0

type VerifierWorkingDirLocker added in v0.4.0

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

func (*VerifierWorkingDirLocker) TryLock added in v0.4.0

func (verifier *VerifierWorkingDirLocker) TryLock(repoFullName string, pullNum int, workspace string) *WorkingDirLocker_TryLock_OngoingVerification

func (*VerifierWorkingDirLocker) TryLockPull added in v0.4.13

func (verifier *VerifierWorkingDirLocker) TryLockPull(repoFullName string, pullNum int) *WorkingDirLocker_TryLockPull_OngoingVerification

type WebhooksSender_Send_OngoingVerification added in v0.4.0

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

func (*WebhooksSender_Send_OngoingVerification) GetAllCapturedArguments added in v0.4.0

func (c *WebhooksSender_Send_OngoingVerification) GetAllCapturedArguments() (_param0 []*logging.SimpleLogger, _param1 []webhooks.ApplyResult)

func (*WebhooksSender_Send_OngoingVerification) GetCapturedArguments added in v0.4.0

type WorkingDirLocker_TryLockPull_OngoingVerification added in v0.4.13

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

func (*WorkingDirLocker_TryLockPull_OngoingVerification) GetAllCapturedArguments added in v0.4.13

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

func (*WorkingDirLocker_TryLockPull_OngoingVerification) GetCapturedArguments added in v0.4.13

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

type WorkingDirLocker_TryLock_OngoingVerification added in v0.4.0

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

func (*WorkingDirLocker_TryLock_OngoingVerification) GetAllCapturedArguments added in v0.4.0

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

func (*WorkingDirLocker_TryLock_OngoingVerification) GetCapturedArguments added in v0.4.0

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

type WorkingDir_Clone_OngoingVerification added in v0.4.0

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

func (*WorkingDir_Clone_OngoingVerification) GetAllCapturedArguments added in v0.4.0

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

func (*WorkingDir_Clone_OngoingVerification) GetCapturedArguments added in v0.4.0

type WorkingDir_DeleteForWorkspace_OngoingVerification added in v0.4.0

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

func (*WorkingDir_DeleteForWorkspace_OngoingVerification) GetAllCapturedArguments added in v0.4.0

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

func (*WorkingDir_DeleteForWorkspace_OngoingVerification) GetCapturedArguments added in v0.4.0

type WorkingDir_Delete_OngoingVerification added in v0.4.0

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

func (*WorkingDir_Delete_OngoingVerification) GetAllCapturedArguments added in v0.4.0

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

func (*WorkingDir_Delete_OngoingVerification) GetCapturedArguments added in v0.4.0

type WorkingDir_GetPullDir_OngoingVerification added in v0.4.5

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

func (*WorkingDir_GetPullDir_OngoingVerification) GetAllCapturedArguments added in v0.4.5

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

func (*WorkingDir_GetPullDir_OngoingVerification) GetCapturedArguments added in v0.4.5

type WorkingDir_GetWorkingDir_OngoingVerification added in v0.4.0

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

func (*WorkingDir_GetWorkingDir_OngoingVerification) GetAllCapturedArguments added in v0.4.0

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

func (*WorkingDir_GetWorkingDir_OngoingVerification) GetCapturedArguments added in v0.4.0

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