mocks

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AtlantisWorkspaceLocker_TryLock_OngoingVerification added in v0.2.2

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

func (*AtlantisWorkspaceLocker_TryLock_OngoingVerification) GetAllCapturedArguments added in v0.2.2

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

func (*AtlantisWorkspaceLocker_TryLock_OngoingVerification) GetCapturedArguments added in v0.2.2

type AtlantisWorkspaceLocker_Unlock_OngoingVerification added in v0.2.2

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

func (*AtlantisWorkspaceLocker_Unlock_OngoingVerification) GetAllCapturedArguments added in v0.2.2

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

func (*AtlantisWorkspaceLocker_Unlock_OngoingVerification) GetCapturedArguments added in v0.2.2

type AtlantisWorkspace_Clone_OngoingVerification added in v0.2.2

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

func (*AtlantisWorkspace_Clone_OngoingVerification) GetAllCapturedArguments added in v0.2.2

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

func (*AtlantisWorkspace_Clone_OngoingVerification) GetCapturedArguments added in v0.2.2

type AtlantisWorkspace_Delete_OngoingVerification added in v0.2.2

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

func (*AtlantisWorkspace_Delete_OngoingVerification) GetAllCapturedArguments added in v0.2.2

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

func (*AtlantisWorkspace_Delete_OngoingVerification) GetCapturedArguments added in v0.2.2

type AtlantisWorkspace_GetWorkspace_OngoingVerification added in v0.2.2

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

func (*AtlantisWorkspace_GetWorkspace_OngoingVerification) GetAllCapturedArguments added in v0.2.2

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

func (*AtlantisWorkspace_GetWorkspace_OngoingVerification) GetCapturedArguments added in v0.2.2

type CommandRunner_ExecuteCommand_OngoingVerification

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

func (*CommandRunner_ExecuteCommand_OngoingVerification) GetAllCapturedArguments

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

func (*CommandRunner_ExecuteCommand_OngoingVerification) GetCapturedArguments

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_UpdateProjectResult_OngoingVerification added in v0.2.0

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

func (*CommitStatusUpdater_UpdateProjectResult_OngoingVerification) GetAllCapturedArguments added in v0.2.0

func (*CommitStatusUpdater_UpdateProjectResult_OngoingVerification) GetCapturedArguments added in v0.2.0

type CommitStatusUpdater_Update_OngoingVerification added in v0.2.0

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

func (*CommitStatusUpdater_Update_OngoingVerification) GetAllCapturedArguments added in v0.2.0

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

func (*CommitStatusUpdater_Update_OngoingVerification) GetCapturedArguments added in v0.2.0

type EventParsing_ParseGithubIssueCommentEvent_OngoingVerification added in v0.2.0

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

func (*EventParsing_ParseGithubIssueCommentEvent_OngoingVerification) GetAllCapturedArguments added in v0.2.0

func (*EventParsing_ParseGithubIssueCommentEvent_OngoingVerification) GetCapturedArguments added in v0.2.0

type EventParsing_ParseGithubPull_OngoingVerification added in v0.2.0

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

func (*EventParsing_ParseGithubPull_OngoingVerification) GetAllCapturedArguments added in v0.2.0

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

func (*EventParsing_ParseGithubPull_OngoingVerification) GetCapturedArguments added in v0.2.0

type EventParsing_ParseGithubRepo_OngoingVerification added in v0.2.0

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

func (*EventParsing_ParseGithubRepo_OngoingVerification) GetAllCapturedArguments added in v0.2.0

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

func (*EventParsing_ParseGithubRepo_OngoingVerification) GetCapturedArguments added in v0.2.0

type EventParsing_ParseGitlabMergeCommentEvent_OngoingVerification added in v0.2.0

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

func (*EventParsing_ParseGitlabMergeCommentEvent_OngoingVerification) GetAllCapturedArguments added in v0.2.0

func (*EventParsing_ParseGitlabMergeCommentEvent_OngoingVerification) GetCapturedArguments added in v0.2.0

type EventParsing_ParseGitlabMergeEvent_OngoingVerification added in v0.2.0

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

func (*EventParsing_ParseGitlabMergeEvent_OngoingVerification) GetAllCapturedArguments added in v0.2.0

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

func (*EventParsing_ParseGitlabMergeEvent_OngoingVerification) GetCapturedArguments added in v0.2.0

type EventParsing_ParseGitlabMergeRequest_OngoingVerification added in v0.2.0

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

func (*EventParsing_ParseGitlabMergeRequest_OngoingVerification) GetAllCapturedArguments added in v0.2.0

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

func (*EventParsing_ParseGitlabMergeRequest_OngoingVerification) GetCapturedArguments added in v0.2.0

type Executor_Execute_OngoingVerification

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

func (*Executor_Execute_OngoingVerification) GetAllCapturedArguments

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

func (*Executor_Execute_OngoingVerification) GetCapturedArguments

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

type GithubPullGetter_GetPullRequest_OngoingVerification added in v0.2.0

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

func (*GithubPullGetter_GetPullRequest_OngoingVerification) GetAllCapturedArguments added in v0.2.0

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

func (*GithubPullGetter_GetPullRequest_OngoingVerification) GetCapturedArguments added in v0.2.0

type GitlabMergeRequestGetter_GetMergeRequest_OngoingVerification added in v0.2.0

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

func (*GitlabMergeRequestGetter_GetMergeRequest_OngoingVerification) GetAllCapturedArguments added in v0.2.0

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

func (*GitlabMergeRequestGetter_GetMergeRequest_OngoingVerification) GetCapturedArguments added in v0.2.0

type LockURLGenerator_SetLockURL_OngoingVerification

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

func (*LockURLGenerator_SetLockURL_OngoingVerification) GetAllCapturedArguments

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

func (*LockURLGenerator_SetLockURL_OngoingVerification) GetCapturedArguments

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

type MockAtlantisWorkspace added in v0.2.2

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

func NewMockAtlantisWorkspace added in v0.2.2

func NewMockAtlantisWorkspace() *MockAtlantisWorkspace

func (*MockAtlantisWorkspace) Clone added in v0.2.2

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

func (*MockAtlantisWorkspace) Delete added in v0.2.2

func (*MockAtlantisWorkspace) GetWorkspace added in v0.2.2

func (mock *MockAtlantisWorkspace) GetWorkspace(r models.Repo, p models.PullRequest, workspace string) (string, error)

func (*MockAtlantisWorkspace) VerifyWasCalled added in v0.2.2

func (mock *MockAtlantisWorkspace) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierAtlantisWorkspace

func (*MockAtlantisWorkspace) VerifyWasCalledInOrder added in v0.2.2

func (mock *MockAtlantisWorkspace) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierAtlantisWorkspace

func (*MockAtlantisWorkspace) VerifyWasCalledOnce added in v0.2.2

func (mock *MockAtlantisWorkspace) VerifyWasCalledOnce() *VerifierAtlantisWorkspace

type MockAtlantisWorkspaceLocker added in v0.2.2

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

func NewMockAtlantisWorkspaceLocker added in v0.2.2

func NewMockAtlantisWorkspaceLocker() *MockAtlantisWorkspaceLocker

func (*MockAtlantisWorkspaceLocker) TryLock added in v0.2.2

func (mock *MockAtlantisWorkspaceLocker) TryLock(repoFullName string, workspace string, pullNum int) bool

func (*MockAtlantisWorkspaceLocker) Unlock added in v0.2.2

func (mock *MockAtlantisWorkspaceLocker) Unlock(repoFullName string, workspace string, pullNum int)

func (*MockAtlantisWorkspaceLocker) VerifyWasCalled added in v0.2.2

func (mock *MockAtlantisWorkspaceLocker) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierAtlantisWorkspaceLocker

func (*MockAtlantisWorkspaceLocker) VerifyWasCalledInOrder added in v0.2.2

func (mock *MockAtlantisWorkspaceLocker) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierAtlantisWorkspaceLocker

func (*MockAtlantisWorkspaceLocker) VerifyWasCalledOnce added in v0.2.2

func (mock *MockAtlantisWorkspaceLocker) VerifyWasCalledOnce() *VerifierAtlantisWorkspaceLocker

type MockCommandRunner

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

func NewMockCommandRunner

func NewMockCommandRunner() *MockCommandRunner

func (*MockCommandRunner) ExecuteCommand

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

func (*MockCommandRunner) VerifyWasCalled

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

func (*MockCommandRunner) VerifyWasCalledInOrder

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

func (*MockCommandRunner) VerifyWasCalledOnce

func (mock *MockCommandRunner) VerifyWasCalledOnce() *VerifierCommandRunner

type MockCommentParsing added in v0.3.0

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

func NewMockCommentParsing added in v0.3.0

func NewMockCommentParsing() *MockCommentParsing

func (*MockCommentParsing) Parse added in v0.3.0

func (mock *MockCommentParsing) Parse(comment string, vcsHost models.VCSHostType) events.CommentParseResult

func (*MockCommentParsing) VerifyWasCalled added in v0.3.0

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

func (*MockCommitStatusUpdater) Update added in v0.2.0

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

func (*MockCommitStatusUpdater) UpdateProjectResult added in v0.2.0

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

func (*MockCommitStatusUpdater) VerifyWasCalled added in v0.2.0

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

func (*MockCommitStatusUpdater) VerifyWasCalledInOrder added in v0.2.0

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

func (*MockCommitStatusUpdater) VerifyWasCalledOnce added in v0.2.0

func (mock *MockCommitStatusUpdater) VerifyWasCalledOnce() *VerifierCommitStatusUpdater

type MockEventParsing

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

func NewMockEventParsing

func NewMockEventParsing() *MockEventParsing

func (*MockEventParsing) ParseGithubIssueCommentEvent added in v0.2.0

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

func (*MockEventParsing) ParseGithubPull added in v0.2.0

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

func (*MockEventParsing) ParseGithubRepo added in v0.2.0

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

func (*MockEventParsing) ParseGitlabMergeCommentEvent added in v0.2.0

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

func (*MockEventParsing) ParseGitlabMergeEvent added in v0.2.0

func (mock *MockEventParsing) ParseGitlabMergeEvent(event go_gitlab.MergeEvent) (models.PullRequest, 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) VerifyWasCalled

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

func (*MockEventParsing) VerifyWasCalledInOrder

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

func (*MockEventParsing) VerifyWasCalledOnce

func (mock *MockEventParsing) VerifyWasCalledOnce() *VerifierEventParsing

type MockExecutor

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

func NewMockExecutor

func NewMockExecutor() *MockExecutor

func (*MockExecutor) Execute

func (*MockExecutor) VerifyWasCalled

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

func (*MockExecutor) VerifyWasCalledInOrder

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

func (*MockExecutor) VerifyWasCalledOnce

func (mock *MockExecutor) VerifyWasCalledOnce() *VerifierExecutor

type MockGithubPullGetter added in v0.2.0

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

func NewMockGithubPullGetter added in v0.2.0

func NewMockGithubPullGetter() *MockGithubPullGetter

func (*MockGithubPullGetter) GetPullRequest added in v0.2.0

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

func (*MockGithubPullGetter) VerifyWasCalled added in v0.2.0

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

func (*MockGithubPullGetter) VerifyWasCalledInOrder added in v0.2.0

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

func (*MockGithubPullGetter) VerifyWasCalledOnce added in v0.2.0

func (mock *MockGithubPullGetter) VerifyWasCalledOnce() *VerifierGithubPullGetter

type MockGitlabMergeRequestGetter added in v0.2.0

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

func NewMockGitlabMergeRequestGetter added in v0.2.0

func NewMockGitlabMergeRequestGetter() *MockGitlabMergeRequestGetter

func (*MockGitlabMergeRequestGetter) GetMergeRequest added in v0.2.0

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

func (*MockGitlabMergeRequestGetter) VerifyWasCalled added in v0.2.0

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

func (*MockGitlabMergeRequestGetter) VerifyWasCalledInOrder added in v0.2.0

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

func (*MockGitlabMergeRequestGetter) VerifyWasCalledOnce added in v0.2.0

type MockLockURLGenerator

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

func NewMockLockURLGenerator

func NewMockLockURLGenerator() *MockLockURLGenerator

func (*MockLockURLGenerator) SetLockURL

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

func (*MockLockURLGenerator) VerifyWasCalled

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

func (*MockLockURLGenerator) VerifyWasCalledInOrder

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

func (*MockLockURLGenerator) VerifyWasCalledOnce

func (mock *MockLockURLGenerator) VerifyWasCalledOnce() *VerifierLockURLGenerator

type MockProjectConfigReader

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

func NewMockProjectConfigReader

func NewMockProjectConfigReader() *MockProjectConfigReader

func (*MockProjectConfigReader) Exists

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

func (*MockProjectConfigReader) Read

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

func (*MockProjectConfigReader) VerifyWasCalled

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

func (*MockProjectConfigReader) VerifyWasCalledInOrder

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

func (*MockProjectConfigReader) VerifyWasCalledOnce

func (mock *MockProjectConfigReader) VerifyWasCalledOnce() *VerifierProjectConfigReader

type MockProjectFinder added in v0.2.1

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

func NewMockProjectFinder added in v0.2.1

func NewMockProjectFinder() *MockProjectFinder

func (*MockProjectFinder) DetermineProjects added in v0.3.0

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

func (*MockProjectFinder) VerifyWasCalled added in v0.2.1

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

func (*MockProjectFinder) VerifyWasCalledInOrder added in v0.2.1

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

func (*MockProjectFinder) VerifyWasCalledOnce added in v0.2.1

func (mock *MockProjectFinder) VerifyWasCalledOnce() *VerifierProjectFinder

type MockProjectPreExecutor

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

func NewMockProjectPreExecutor

func NewMockProjectPreExecutor() *MockProjectPreExecutor

func (*MockProjectPreExecutor) Execute

func (*MockProjectPreExecutor) VerifyWasCalled

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

func (*MockProjectPreExecutor) VerifyWasCalledInOrder

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

func (*MockProjectPreExecutor) VerifyWasCalledOnce

func (mock *MockProjectPreExecutor) VerifyWasCalledOnce() *VerifierProjectPreExecutor

type MockPullCleaner

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

func NewMockPullCleaner

func NewMockPullCleaner() *MockPullCleaner

func (*MockPullCleaner) CleanUpPull

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

func (*MockPullCleaner) VerifyWasCalled

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

func (*MockPullCleaner) VerifyWasCalledInOrder

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

func (*MockPullCleaner) VerifyWasCalledOnce

func (mock *MockPullCleaner) VerifyWasCalledOnce() *VerifierPullCleaner

type ProjectConfigReader_Exists_OngoingVerification

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

func (*ProjectConfigReader_Exists_OngoingVerification) GetAllCapturedArguments

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

func (*ProjectConfigReader_Exists_OngoingVerification) GetCapturedArguments

func (c *ProjectConfigReader_Exists_OngoingVerification) GetCapturedArguments() string

type ProjectConfigReader_Read_OngoingVerification

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

func (*ProjectConfigReader_Read_OngoingVerification) GetAllCapturedArguments

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

func (*ProjectConfigReader_Read_OngoingVerification) GetCapturedArguments

func (c *ProjectConfigReader_Read_OngoingVerification) GetCapturedArguments() string

type ProjectFinder_DetermineProjects_OngoingVerification added in v0.3.0

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

func (*ProjectFinder_DetermineProjects_OngoingVerification) GetAllCapturedArguments added in v0.3.0

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

func (*ProjectFinder_DetermineProjects_OngoingVerification) GetCapturedArguments added in v0.3.0

type ProjectPreExecutor_Execute_OngoingVerification

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

func (*ProjectPreExecutor_Execute_OngoingVerification) GetAllCapturedArguments

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

func (*ProjectPreExecutor_Execute_OngoingVerification) GetCapturedArguments

type PullCleaner_CleanUpPull_OngoingVerification

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

func (*PullCleaner_CleanUpPull_OngoingVerification) GetAllCapturedArguments

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

func (*PullCleaner_CleanUpPull_OngoingVerification) GetCapturedArguments

type VerifierAtlantisWorkspace added in v0.2.2

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

func (*VerifierAtlantisWorkspace) Clone added in v0.2.2

func (*VerifierAtlantisWorkspace) Delete added in v0.2.2

func (*VerifierAtlantisWorkspace) GetWorkspace added in v0.2.2

type VerifierAtlantisWorkspaceLocker added in v0.2.2

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

func (*VerifierAtlantisWorkspaceLocker) TryLock added in v0.2.2

func (verifier *VerifierAtlantisWorkspaceLocker) TryLock(repoFullName string, workspace string, pullNum int) *AtlantisWorkspaceLocker_TryLock_OngoingVerification

func (*VerifierAtlantisWorkspaceLocker) Unlock added in v0.2.2

func (verifier *VerifierAtlantisWorkspaceLocker) Unlock(repoFullName string, workspace string, pullNum int) *AtlantisWorkspaceLocker_Unlock_OngoingVerification

type VerifierCommandRunner

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

func (*VerifierCommandRunner) ExecuteCommand

func (verifier *VerifierCommandRunner) ExecuteCommand(baseRepo models.Repo, headRepo models.Repo, user models.User, pullNum int, cmd *events.Command) *CommandRunner_ExecuteCommand_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) Update added in v0.2.0

func (*VerifierCommitStatusUpdater) UpdateProjectResult added in v0.2.0

type VerifierEventParsing

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

func (*VerifierEventParsing) ParseGithubIssueCommentEvent added in v0.2.0

func (*VerifierEventParsing) ParseGithubPull added in v0.2.0

func (*VerifierEventParsing) ParseGithubRepo added in v0.2.0

func (*VerifierEventParsing) ParseGitlabMergeCommentEvent added in v0.2.0

func (*VerifierEventParsing) ParseGitlabMergeEvent added in v0.2.0

func (*VerifierEventParsing) ParseGitlabMergeRequest added in v0.2.0

type VerifierExecutor

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

func (*VerifierExecutor) Execute

type VerifierGithubPullGetter added in v0.2.0

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

func (*VerifierGithubPullGetter) GetPullRequest added in v0.2.0

type VerifierGitlabMergeRequestGetter added in v0.2.0

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

func (*VerifierGitlabMergeRequestGetter) GetMergeRequest added in v0.2.0

type VerifierLockURLGenerator

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

func (*VerifierLockURLGenerator) SetLockURL

type VerifierProjectConfigReader

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

func (*VerifierProjectConfigReader) Exists

func (*VerifierProjectConfigReader) Read

type VerifierProjectFinder added in v0.2.1

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

func (*VerifierProjectFinder) DetermineProjects added in v0.3.0

func (verifier *VerifierProjectFinder) DetermineProjects(log *logging.SimpleLogger, modifiedFiles []string, repoFullName string, repoDir string) *ProjectFinder_DetermineProjects_OngoingVerification

type VerifierProjectPreExecutor

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

func (*VerifierProjectPreExecutor) Execute

type VerifierPullCleaner

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

func (*VerifierPullCleaner) CleanUpPull

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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