Documentation ¶
Index ¶
- type CommandRunner_ExecuteCommand_OngoingVerification
- type EnvLocker_TryLock_OngoingVerification
- type EnvLocker_Unlock_OngoingVerification
- type EventParsing_DetermineCommand_OngoingVerification
- type EventParsing_ExtractCommentData_OngoingVerification
- type EventParsing_ExtractPullData_OngoingVerification
- type EventParsing_ExtractRepoData_OngoingVerification
- type Executor_Execute_OngoingVerification
- type GHStatusUpdater_UpdateProjectResult_OngoingVerification
- type GHStatusUpdater_Update_OngoingVerification
- func (c *GHStatusUpdater_Update_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest, _param2 []events.Status, ...)
- func (c *GHStatusUpdater_Update_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest, events.Status, *events.Command)
- type LockURLGenerator_SetLockURL_OngoingVerification
- type MockCommandRunner
- func (mock *MockCommandRunner) ExecuteCommand(ctx *events.CommandContext)
- func (mock *MockCommandRunner) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierCommandRunner
- func (mock *MockCommandRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierCommandRunner
- func (mock *MockCommandRunner) VerifyWasCalledOnce() *VerifierCommandRunner
- type MockEnvLocker
- func (mock *MockEnvLocker) TryLock(repoFullName string, env string, pullNum int) bool
- func (mock *MockEnvLocker) Unlock(repoFullName string, env string, pullNum int)
- func (mock *MockEnvLocker) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierEnvLocker
- func (mock *MockEnvLocker) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierEnvLocker
- func (mock *MockEnvLocker) VerifyWasCalledOnce() *VerifierEnvLocker
- type MockEventParsing
- func (mock *MockEventParsing) DetermineCommand(comment *github.IssueCommentEvent) (*events.Command, error)
- func (mock *MockEventParsing) ExtractCommentData(comment *github.IssueCommentEvent) (models.Repo, models.User, models.PullRequest, error)
- func (mock *MockEventParsing) ExtractPullData(pull *github.PullRequest) (models.PullRequest, models.Repo, error)
- func (mock *MockEventParsing) ExtractRepoData(ghRepo *github.Repository) (models.Repo, error)
- func (mock *MockEventParsing) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierEventParsing
- func (mock *MockEventParsing) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierEventParsing
- func (mock *MockEventParsing) VerifyWasCalledOnce() *VerifierEventParsing
- type MockExecutor
- func (mock *MockExecutor) Execute(ctx *events.CommandContext) events.CommandResponse
- func (mock *MockExecutor) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierExecutor
- func (mock *MockExecutor) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierExecutor
- func (mock *MockExecutor) VerifyWasCalledOnce() *VerifierExecutor
- type MockGHStatusUpdater
- func (mock *MockGHStatusUpdater) Update(repo models.Repo, pull models.PullRequest, status events.Status, ...) error
- func (mock *MockGHStatusUpdater) UpdateProjectResult(ctx *events.CommandContext, res events.CommandResponse) error
- func (mock *MockGHStatusUpdater) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierGHStatusUpdater
- func (mock *MockGHStatusUpdater) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierGHStatusUpdater
- func (mock *MockGHStatusUpdater) VerifyWasCalledOnce() *VerifierGHStatusUpdater
- type MockLockURLGenerator
- func (mock *MockLockURLGenerator) SetLockURL(_param0 func(string) string)
- func (mock *MockLockURLGenerator) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierLockURLGenerator
- func (mock *MockLockURLGenerator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierLockURLGenerator
- func (mock *MockLockURLGenerator) VerifyWasCalledOnce() *VerifierLockURLGenerator
- type MockModifiedProjectFinder
- func (mock *MockModifiedProjectFinder) GetModified(log *logging.SimpleLogger, modifiedFiles []string, repoFullName string) []models.Project
- func (mock *MockModifiedProjectFinder) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierModifiedProjectFinder
- func (mock *MockModifiedProjectFinder) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierModifiedProjectFinder
- func (mock *MockModifiedProjectFinder) VerifyWasCalledOnce() *VerifierModifiedProjectFinder
- type MockPlanner
- func (mock *MockPlanner) Execute(ctx *events.CommandContext) events.CommandResponse
- func (mock *MockPlanner) SetLockURL(_param0 func(string) string)
- func (mock *MockPlanner) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierPlanner
- func (mock *MockPlanner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierPlanner
- func (mock *MockPlanner) VerifyWasCalledOnce() *VerifierPlanner
- type MockProjectConfigReader
- func (mock *MockProjectConfigReader) Exists(projectPath string) bool
- func (mock *MockProjectConfigReader) Read(projectPath string) (events.ProjectConfig, error)
- func (mock *MockProjectConfigReader) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierProjectConfigReader
- func (mock *MockProjectConfigReader) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierProjectConfigReader
- func (mock *MockProjectConfigReader) VerifyWasCalledOnce() *VerifierProjectConfigReader
- type MockProjectPreExecutor
- func (mock *MockProjectPreExecutor) Execute(ctx *events.CommandContext, repoDir string, project models.Project) events.PreExecuteResult
- func (mock *MockProjectPreExecutor) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierProjectPreExecutor
- func (mock *MockProjectPreExecutor) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierProjectPreExecutor
- func (mock *MockProjectPreExecutor) VerifyWasCalledOnce() *VerifierProjectPreExecutor
- type MockPullCleaner
- func (mock *MockPullCleaner) CleanUpPull(repo models.Repo, pull models.PullRequest) error
- func (mock *MockPullCleaner) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierPullCleaner
- func (mock *MockPullCleaner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierPullCleaner
- func (mock *MockPullCleaner) VerifyWasCalledOnce() *VerifierPullCleaner
- type MockWorkspace
- func (mock *MockWorkspace) Clone(log *logging.SimpleLogger, baseRepo models.Repo, headRepo models.Repo, ...) (string, error)
- func (mock *MockWorkspace) Delete(r models.Repo, p models.PullRequest) error
- func (mock *MockWorkspace) GetWorkspace(r models.Repo, p models.PullRequest, env string) (string, error)
- func (mock *MockWorkspace) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierWorkspace
- func (mock *MockWorkspace) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierWorkspace
- func (mock *MockWorkspace) VerifyWasCalledOnce() *VerifierWorkspace
- type ModifiedProjectFinder_GetModified_OngoingVerification
- type Planner_Execute_OngoingVerification
- type Planner_SetLockURL_OngoingVerification
- type ProjectConfigReader_Exists_OngoingVerification
- type ProjectConfigReader_Read_OngoingVerification
- type ProjectPreExecutor_Execute_OngoingVerification
- type PullCleaner_CleanUpPull_OngoingVerification
- type VerifierCommandRunner
- type VerifierEnvLocker
- type VerifierEventParsing
- func (verifier *VerifierEventParsing) DetermineCommand(comment *github.IssueCommentEvent) *EventParsing_DetermineCommand_OngoingVerification
- func (verifier *VerifierEventParsing) ExtractCommentData(comment *github.IssueCommentEvent) *EventParsing_ExtractCommentData_OngoingVerification
- func (verifier *VerifierEventParsing) ExtractPullData(pull *github.PullRequest) *EventParsing_ExtractPullData_OngoingVerification
- func (verifier *VerifierEventParsing) ExtractRepoData(ghRepo *github.Repository) *EventParsing_ExtractRepoData_OngoingVerification
- type VerifierExecutor
- type VerifierGHStatusUpdater
- func (verifier *VerifierGHStatusUpdater) Update(repo models.Repo, pull models.PullRequest, status events.Status, ...) *GHStatusUpdater_Update_OngoingVerification
- func (verifier *VerifierGHStatusUpdater) UpdateProjectResult(ctx *events.CommandContext, res events.CommandResponse) *GHStatusUpdater_UpdateProjectResult_OngoingVerification
- type VerifierLockURLGenerator
- type VerifierModifiedProjectFinder
- type VerifierPlanner
- type VerifierProjectConfigReader
- type VerifierProjectPreExecutor
- type VerifierPullCleaner
- type VerifierWorkspace
- func (verifier *VerifierWorkspace) Clone(log *logging.SimpleLogger, baseRepo models.Repo, headRepo models.Repo, ...) *Workspace_Clone_OngoingVerification
- func (verifier *VerifierWorkspace) Delete(r models.Repo, p models.PullRequest) *Workspace_Delete_OngoingVerification
- func (verifier *VerifierWorkspace) GetWorkspace(r models.Repo, p models.PullRequest, env string) *Workspace_GetWorkspace_OngoingVerification
- type Workspace_Clone_OngoingVerification
- func (c *Workspace_Clone_OngoingVerification) GetAllCapturedArguments() (_param0 []*logging.SimpleLogger, _param1 []models.Repo, _param2 []models.Repo, ...)
- func (c *Workspace_Clone_OngoingVerification) GetCapturedArguments() (*logging.SimpleLogger, models.Repo, models.Repo, models.PullRequest, string)
- type Workspace_Delete_OngoingVerification
- type Workspace_GetWorkspace_OngoingVerification
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandRunner_ExecuteCommand_OngoingVerification ¶
type CommandRunner_ExecuteCommand_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*CommandRunner_ExecuteCommand_OngoingVerification) GetAllCapturedArguments ¶
func (c *CommandRunner_ExecuteCommand_OngoingVerification) GetAllCapturedArguments() (_param0 []*events.CommandContext)
func (*CommandRunner_ExecuteCommand_OngoingVerification) GetCapturedArguments ¶
func (c *CommandRunner_ExecuteCommand_OngoingVerification) GetCapturedArguments() *events.CommandContext
type EnvLocker_TryLock_OngoingVerification ¶
type EnvLocker_TryLock_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*EnvLocker_TryLock_OngoingVerification) GetAllCapturedArguments ¶
func (c *EnvLocker_TryLock_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []int)
func (*EnvLocker_TryLock_OngoingVerification) GetCapturedArguments ¶
func (c *EnvLocker_TryLock_OngoingVerification) GetCapturedArguments() (string, string, int)
type EnvLocker_Unlock_OngoingVerification ¶
type EnvLocker_Unlock_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*EnvLocker_Unlock_OngoingVerification) GetAllCapturedArguments ¶
func (c *EnvLocker_Unlock_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []int)
func (*EnvLocker_Unlock_OngoingVerification) GetCapturedArguments ¶
func (c *EnvLocker_Unlock_OngoingVerification) GetCapturedArguments() (string, string, int)
type EventParsing_DetermineCommand_OngoingVerification ¶
type EventParsing_DetermineCommand_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*EventParsing_DetermineCommand_OngoingVerification) GetAllCapturedArguments ¶
func (c *EventParsing_DetermineCommand_OngoingVerification) GetAllCapturedArguments() (_param0 []*github.IssueCommentEvent)
func (*EventParsing_DetermineCommand_OngoingVerification) GetCapturedArguments ¶
func (c *EventParsing_DetermineCommand_OngoingVerification) GetCapturedArguments() *github.IssueCommentEvent
type EventParsing_ExtractCommentData_OngoingVerification ¶
type EventParsing_ExtractCommentData_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*EventParsing_ExtractCommentData_OngoingVerification) GetAllCapturedArguments ¶
func (c *EventParsing_ExtractCommentData_OngoingVerification) GetAllCapturedArguments() (_param0 []*github.IssueCommentEvent)
func (*EventParsing_ExtractCommentData_OngoingVerification) GetCapturedArguments ¶
func (c *EventParsing_ExtractCommentData_OngoingVerification) GetCapturedArguments() *github.IssueCommentEvent
type EventParsing_ExtractPullData_OngoingVerification ¶
type EventParsing_ExtractPullData_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*EventParsing_ExtractPullData_OngoingVerification) GetAllCapturedArguments ¶
func (c *EventParsing_ExtractPullData_OngoingVerification) GetAllCapturedArguments() (_param0 []*github.PullRequest)
func (*EventParsing_ExtractPullData_OngoingVerification) GetCapturedArguments ¶
func (c *EventParsing_ExtractPullData_OngoingVerification) GetCapturedArguments() *github.PullRequest
type EventParsing_ExtractRepoData_OngoingVerification ¶
type EventParsing_ExtractRepoData_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*EventParsing_ExtractRepoData_OngoingVerification) GetAllCapturedArguments ¶
func (c *EventParsing_ExtractRepoData_OngoingVerification) GetAllCapturedArguments() (_param0 []*github.Repository)
func (*EventParsing_ExtractRepoData_OngoingVerification) GetCapturedArguments ¶
func (c *EventParsing_ExtractRepoData_OngoingVerification) GetCapturedArguments() *github.Repository
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 GHStatusUpdater_UpdateProjectResult_OngoingVerification ¶
type GHStatusUpdater_UpdateProjectResult_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*GHStatusUpdater_UpdateProjectResult_OngoingVerification) GetAllCapturedArguments ¶
func (c *GHStatusUpdater_UpdateProjectResult_OngoingVerification) GetAllCapturedArguments() (_param0 []*events.CommandContext, _param1 []events.CommandResponse)
func (*GHStatusUpdater_UpdateProjectResult_OngoingVerification) GetCapturedArguments ¶
func (c *GHStatusUpdater_UpdateProjectResult_OngoingVerification) GetCapturedArguments() (*events.CommandContext, events.CommandResponse)
type GHStatusUpdater_Update_OngoingVerification ¶
type GHStatusUpdater_Update_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*GHStatusUpdater_Update_OngoingVerification) GetAllCapturedArguments ¶
func (c *GHStatusUpdater_Update_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest, _param2 []events.Status, _param3 []*events.Command)
func (*GHStatusUpdater_Update_OngoingVerification) GetCapturedArguments ¶
func (c *GHStatusUpdater_Update_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest, events.Status, *events.Command)
type LockURLGenerator_SetLockURL_OngoingVerification ¶
type LockURLGenerator_SetLockURL_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*LockURLGenerator_SetLockURL_OngoingVerification) GetAllCapturedArguments ¶
func (c *LockURLGenerator_SetLockURL_OngoingVerification) GetAllCapturedArguments() (_param0 []func(string) string)
func (*LockURLGenerator_SetLockURL_OngoingVerification) GetCapturedArguments ¶
func (c *LockURLGenerator_SetLockURL_OngoingVerification) GetCapturedArguments() func(string) string
type MockCommandRunner ¶
type MockCommandRunner struct {
// contains filtered or unexported fields
}
func NewMockCommandRunner ¶
func NewMockCommandRunner() *MockCommandRunner
func (*MockCommandRunner) ExecuteCommand ¶
func (mock *MockCommandRunner) ExecuteCommand(ctx *events.CommandContext)
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 MockEnvLocker ¶
type MockEnvLocker struct {
// contains filtered or unexported fields
}
func NewMockEnvLocker ¶
func NewMockEnvLocker() *MockEnvLocker
func (*MockEnvLocker) TryLock ¶
func (mock *MockEnvLocker) TryLock(repoFullName string, env string, pullNum int) bool
func (*MockEnvLocker) Unlock ¶
func (mock *MockEnvLocker) Unlock(repoFullName string, env string, pullNum int)
func (*MockEnvLocker) VerifyWasCalled ¶
func (mock *MockEnvLocker) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierEnvLocker
func (*MockEnvLocker) VerifyWasCalledInOrder ¶
func (mock *MockEnvLocker) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierEnvLocker
func (*MockEnvLocker) VerifyWasCalledOnce ¶
func (mock *MockEnvLocker) VerifyWasCalledOnce() *VerifierEnvLocker
type MockEventParsing ¶
type MockEventParsing struct {
// contains filtered or unexported fields
}
func NewMockEventParsing ¶
func NewMockEventParsing() *MockEventParsing
func (*MockEventParsing) DetermineCommand ¶
func (mock *MockEventParsing) DetermineCommand(comment *github.IssueCommentEvent) (*events.Command, error)
func (*MockEventParsing) ExtractCommentData ¶
func (mock *MockEventParsing) ExtractCommentData(comment *github.IssueCommentEvent) (models.Repo, models.User, models.PullRequest, error)
func (*MockEventParsing) ExtractPullData ¶
func (mock *MockEventParsing) ExtractPullData(pull *github.PullRequest) (models.PullRequest, models.Repo, error)
func (*MockEventParsing) ExtractRepoData ¶
func (mock *MockEventParsing) ExtractRepoData(ghRepo *github.Repository) (models.Repo, error)
func (*MockEventParsing) VerifyWasCalled ¶
func (mock *MockEventParsing) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierEventParsing
func (*MockEventParsing) VerifyWasCalledInOrder ¶
func (mock *MockEventParsing) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierEventParsing
func (*MockEventParsing) VerifyWasCalledOnce ¶
func (mock *MockEventParsing) VerifyWasCalledOnce() *VerifierEventParsing
type MockExecutor ¶
type MockExecutor struct {
// contains filtered or unexported fields
}
func NewMockExecutor ¶
func NewMockExecutor() *MockExecutor
func (*MockExecutor) Execute ¶
func (mock *MockExecutor) Execute(ctx *events.CommandContext) events.CommandResponse
func (*MockExecutor) VerifyWasCalled ¶
func (mock *MockExecutor) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierExecutor
func (*MockExecutor) VerifyWasCalledInOrder ¶
func (mock *MockExecutor) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierExecutor
func (*MockExecutor) VerifyWasCalledOnce ¶
func (mock *MockExecutor) VerifyWasCalledOnce() *VerifierExecutor
type MockGHStatusUpdater ¶
type MockGHStatusUpdater struct {
// contains filtered or unexported fields
}
func NewMockGHStatusUpdater ¶
func NewMockGHStatusUpdater() *MockGHStatusUpdater
func (*MockGHStatusUpdater) Update ¶
func (mock *MockGHStatusUpdater) Update(repo models.Repo, pull models.PullRequest, status events.Status, cmd *events.Command) error
func (*MockGHStatusUpdater) UpdateProjectResult ¶
func (mock *MockGHStatusUpdater) UpdateProjectResult(ctx *events.CommandContext, res events.CommandResponse) error
func (*MockGHStatusUpdater) VerifyWasCalled ¶
func (mock *MockGHStatusUpdater) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierGHStatusUpdater
func (*MockGHStatusUpdater) VerifyWasCalledInOrder ¶
func (mock *MockGHStatusUpdater) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierGHStatusUpdater
func (*MockGHStatusUpdater) VerifyWasCalledOnce ¶
func (mock *MockGHStatusUpdater) VerifyWasCalledOnce() *VerifierGHStatusUpdater
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 MockModifiedProjectFinder ¶
type MockModifiedProjectFinder struct {
// contains filtered or unexported fields
}
func NewMockModifiedProjectFinder ¶
func NewMockModifiedProjectFinder() *MockModifiedProjectFinder
func (*MockModifiedProjectFinder) GetModified ¶
func (mock *MockModifiedProjectFinder) GetModified(log *logging.SimpleLogger, modifiedFiles []string, repoFullName string) []models.Project
func (*MockModifiedProjectFinder) VerifyWasCalled ¶
func (mock *MockModifiedProjectFinder) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierModifiedProjectFinder
func (*MockModifiedProjectFinder) VerifyWasCalledInOrder ¶
func (mock *MockModifiedProjectFinder) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierModifiedProjectFinder
func (*MockModifiedProjectFinder) VerifyWasCalledOnce ¶
func (mock *MockModifiedProjectFinder) VerifyWasCalledOnce() *VerifierModifiedProjectFinder
type MockPlanner ¶
type MockPlanner struct {
// contains filtered or unexported fields
}
func NewMockPlanner ¶
func NewMockPlanner() *MockPlanner
func (*MockPlanner) Execute ¶
func (mock *MockPlanner) Execute(ctx *events.CommandContext) events.CommandResponse
func (*MockPlanner) SetLockURL ¶
func (mock *MockPlanner) SetLockURL(_param0 func(string) string)
func (*MockPlanner) VerifyWasCalled ¶
func (mock *MockPlanner) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierPlanner
func (*MockPlanner) VerifyWasCalledInOrder ¶
func (mock *MockPlanner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierPlanner
func (*MockPlanner) VerifyWasCalledOnce ¶
func (mock *MockPlanner) VerifyWasCalledOnce() *VerifierPlanner
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 MockProjectPreExecutor ¶
type MockProjectPreExecutor struct {
// contains filtered or unexported fields
}
func NewMockProjectPreExecutor ¶
func NewMockProjectPreExecutor() *MockProjectPreExecutor
func (*MockProjectPreExecutor) Execute ¶
func (mock *MockProjectPreExecutor) Execute(ctx *events.CommandContext, repoDir string, project models.Project) events.PreExecuteResult
func (*MockProjectPreExecutor) VerifyWasCalled ¶
func (mock *MockProjectPreExecutor) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierProjectPreExecutor
func (*MockProjectPreExecutor) VerifyWasCalledInOrder ¶
func (mock *MockProjectPreExecutor) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierProjectPreExecutor
func (*MockProjectPreExecutor) VerifyWasCalledOnce ¶
func (mock *MockProjectPreExecutor) VerifyWasCalledOnce() *VerifierProjectPreExecutor
type MockPullCleaner ¶
type MockPullCleaner struct {
// contains filtered or unexported fields
}
func NewMockPullCleaner ¶
func NewMockPullCleaner() *MockPullCleaner
func (*MockPullCleaner) CleanUpPull ¶
func (mock *MockPullCleaner) CleanUpPull(repo models.Repo, pull models.PullRequest) error
func (*MockPullCleaner) VerifyWasCalled ¶
func (mock *MockPullCleaner) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierPullCleaner
func (*MockPullCleaner) VerifyWasCalledInOrder ¶
func (mock *MockPullCleaner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierPullCleaner
func (*MockPullCleaner) VerifyWasCalledOnce ¶
func (mock *MockPullCleaner) VerifyWasCalledOnce() *VerifierPullCleaner
type MockWorkspace ¶
type MockWorkspace struct {
// contains filtered or unexported fields
}
func NewMockWorkspace ¶
func NewMockWorkspace() *MockWorkspace
func (*MockWorkspace) Clone ¶
func (mock *MockWorkspace) Clone(log *logging.SimpleLogger, baseRepo models.Repo, headRepo models.Repo, p models.PullRequest, env string) (string, error)
func (*MockWorkspace) Delete ¶
func (mock *MockWorkspace) Delete(r models.Repo, p models.PullRequest) error
func (*MockWorkspace) GetWorkspace ¶
func (mock *MockWorkspace) GetWorkspace(r models.Repo, p models.PullRequest, env string) (string, error)
func (*MockWorkspace) VerifyWasCalled ¶
func (mock *MockWorkspace) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierWorkspace
func (*MockWorkspace) VerifyWasCalledInOrder ¶
func (mock *MockWorkspace) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierWorkspace
func (*MockWorkspace) VerifyWasCalledOnce ¶
func (mock *MockWorkspace) VerifyWasCalledOnce() *VerifierWorkspace
type ModifiedProjectFinder_GetModified_OngoingVerification ¶
type ModifiedProjectFinder_GetModified_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*ModifiedProjectFinder_GetModified_OngoingVerification) GetAllCapturedArguments ¶
func (c *ModifiedProjectFinder_GetModified_OngoingVerification) GetAllCapturedArguments() (_param0 []*logging.SimpleLogger, _param1 [][]string, _param2 []string)
func (*ModifiedProjectFinder_GetModified_OngoingVerification) GetCapturedArguments ¶
func (c *ModifiedProjectFinder_GetModified_OngoingVerification) GetCapturedArguments() (*logging.SimpleLogger, []string, string)
type Planner_Execute_OngoingVerification ¶
type Planner_Execute_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*Planner_Execute_OngoingVerification) GetAllCapturedArguments ¶
func (c *Planner_Execute_OngoingVerification) GetAllCapturedArguments() (_param0 []*events.CommandContext)
func (*Planner_Execute_OngoingVerification) GetCapturedArguments ¶
func (c *Planner_Execute_OngoingVerification) GetCapturedArguments() *events.CommandContext
type Planner_SetLockURL_OngoingVerification ¶
type Planner_SetLockURL_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*Planner_SetLockURL_OngoingVerification) GetAllCapturedArguments ¶
func (c *Planner_SetLockURL_OngoingVerification) GetAllCapturedArguments() (_param0 []func(string) string)
func (*Planner_SetLockURL_OngoingVerification) GetCapturedArguments ¶
func (c *Planner_SetLockURL_OngoingVerification) GetCapturedArguments() func(string) string
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 ProjectPreExecutor_Execute_OngoingVerification ¶
type ProjectPreExecutor_Execute_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*ProjectPreExecutor_Execute_OngoingVerification) GetAllCapturedArguments ¶
func (c *ProjectPreExecutor_Execute_OngoingVerification) GetAllCapturedArguments() (_param0 []*events.CommandContext, _param1 []string, _param2 []models.Project)
func (*ProjectPreExecutor_Execute_OngoingVerification) GetCapturedArguments ¶
func (c *ProjectPreExecutor_Execute_OngoingVerification) GetCapturedArguments() (*events.CommandContext, string, models.Project)
type PullCleaner_CleanUpPull_OngoingVerification ¶
type PullCleaner_CleanUpPull_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*PullCleaner_CleanUpPull_OngoingVerification) GetAllCapturedArguments ¶
func (c *PullCleaner_CleanUpPull_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest)
func (*PullCleaner_CleanUpPull_OngoingVerification) GetCapturedArguments ¶
func (c *PullCleaner_CleanUpPull_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest)
type VerifierCommandRunner ¶
type VerifierCommandRunner struct {
// contains filtered or unexported fields
}
func (*VerifierCommandRunner) ExecuteCommand ¶
func (verifier *VerifierCommandRunner) ExecuteCommand(ctx *events.CommandContext) *CommandRunner_ExecuteCommand_OngoingVerification
type VerifierEnvLocker ¶
type VerifierEnvLocker struct {
// contains filtered or unexported fields
}
func (*VerifierEnvLocker) TryLock ¶
func (verifier *VerifierEnvLocker) TryLock(repoFullName string, env string, pullNum int) *EnvLocker_TryLock_OngoingVerification
func (*VerifierEnvLocker) Unlock ¶
func (verifier *VerifierEnvLocker) Unlock(repoFullName string, env string, pullNum int) *EnvLocker_Unlock_OngoingVerification
type VerifierEventParsing ¶
type VerifierEventParsing struct {
// contains filtered or unexported fields
}
func (*VerifierEventParsing) DetermineCommand ¶
func (verifier *VerifierEventParsing) DetermineCommand(comment *github.IssueCommentEvent) *EventParsing_DetermineCommand_OngoingVerification
func (*VerifierEventParsing) ExtractCommentData ¶
func (verifier *VerifierEventParsing) ExtractCommentData(comment *github.IssueCommentEvent) *EventParsing_ExtractCommentData_OngoingVerification
func (*VerifierEventParsing) ExtractPullData ¶
func (verifier *VerifierEventParsing) ExtractPullData(pull *github.PullRequest) *EventParsing_ExtractPullData_OngoingVerification
func (*VerifierEventParsing) ExtractRepoData ¶
func (verifier *VerifierEventParsing) ExtractRepoData(ghRepo *github.Repository) *EventParsing_ExtractRepoData_OngoingVerification
type VerifierExecutor ¶
type VerifierExecutor struct {
// contains filtered or unexported fields
}
func (*VerifierExecutor) Execute ¶
func (verifier *VerifierExecutor) Execute(ctx *events.CommandContext) *Executor_Execute_OngoingVerification
type VerifierGHStatusUpdater ¶
type VerifierGHStatusUpdater struct {
// contains filtered or unexported fields
}
func (*VerifierGHStatusUpdater) Update ¶
func (verifier *VerifierGHStatusUpdater) Update(repo models.Repo, pull models.PullRequest, status events.Status, cmd *events.Command) *GHStatusUpdater_Update_OngoingVerification
func (*VerifierGHStatusUpdater) UpdateProjectResult ¶
func (verifier *VerifierGHStatusUpdater) UpdateProjectResult(ctx *events.CommandContext, res events.CommandResponse) *GHStatusUpdater_UpdateProjectResult_OngoingVerification
type VerifierLockURLGenerator ¶
type VerifierLockURLGenerator struct {
// contains filtered or unexported fields
}
func (*VerifierLockURLGenerator) SetLockURL ¶
func (verifier *VerifierLockURLGenerator) SetLockURL(_param0 func(string) string) *LockURLGenerator_SetLockURL_OngoingVerification
type VerifierModifiedProjectFinder ¶
type VerifierModifiedProjectFinder struct {
// contains filtered or unexported fields
}
func (*VerifierModifiedProjectFinder) GetModified ¶
func (verifier *VerifierModifiedProjectFinder) GetModified(log *logging.SimpleLogger, modifiedFiles []string, repoFullName string) *ModifiedProjectFinder_GetModified_OngoingVerification
type VerifierPlanner ¶
type VerifierPlanner struct {
// contains filtered or unexported fields
}
func (*VerifierPlanner) Execute ¶
func (verifier *VerifierPlanner) Execute(ctx *events.CommandContext) *Planner_Execute_OngoingVerification
func (*VerifierPlanner) SetLockURL ¶
func (verifier *VerifierPlanner) SetLockURL(_param0 func(string) string) *Planner_SetLockURL_OngoingVerification
type VerifierProjectConfigReader ¶
type VerifierProjectConfigReader struct {
// contains filtered or unexported fields
}
func (*VerifierProjectConfigReader) Exists ¶
func (verifier *VerifierProjectConfigReader) Exists(projectPath string) *ProjectConfigReader_Exists_OngoingVerification
func (*VerifierProjectConfigReader) Read ¶
func (verifier *VerifierProjectConfigReader) Read(projectPath string) *ProjectConfigReader_Read_OngoingVerification
type VerifierProjectPreExecutor ¶
type VerifierProjectPreExecutor struct {
// contains filtered or unexported fields
}
func (*VerifierProjectPreExecutor) Execute ¶
func (verifier *VerifierProjectPreExecutor) Execute(ctx *events.CommandContext, repoDir string, project models.Project) *ProjectPreExecutor_Execute_OngoingVerification
type VerifierPullCleaner ¶
type VerifierPullCleaner struct {
// contains filtered or unexported fields
}
func (*VerifierPullCleaner) CleanUpPull ¶
func (verifier *VerifierPullCleaner) CleanUpPull(repo models.Repo, pull models.PullRequest) *PullCleaner_CleanUpPull_OngoingVerification
type VerifierWorkspace ¶
type VerifierWorkspace struct {
// contains filtered or unexported fields
}
func (*VerifierWorkspace) Clone ¶
func (verifier *VerifierWorkspace) Clone(log *logging.SimpleLogger, baseRepo models.Repo, headRepo models.Repo, p models.PullRequest, env string) *Workspace_Clone_OngoingVerification
func (*VerifierWorkspace) Delete ¶
func (verifier *VerifierWorkspace) Delete(r models.Repo, p models.PullRequest) *Workspace_Delete_OngoingVerification
func (*VerifierWorkspace) GetWorkspace ¶
func (verifier *VerifierWorkspace) GetWorkspace(r models.Repo, p models.PullRequest, env string) *Workspace_GetWorkspace_OngoingVerification
type Workspace_Clone_OngoingVerification ¶
type Workspace_Clone_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*Workspace_Clone_OngoingVerification) GetAllCapturedArguments ¶
func (c *Workspace_Clone_OngoingVerification) GetAllCapturedArguments() (_param0 []*logging.SimpleLogger, _param1 []models.Repo, _param2 []models.Repo, _param3 []models.PullRequest, _param4 []string)
func (*Workspace_Clone_OngoingVerification) GetCapturedArguments ¶
func (c *Workspace_Clone_OngoingVerification) GetCapturedArguments() (*logging.SimpleLogger, models.Repo, models.Repo, models.PullRequest, string)
type Workspace_Delete_OngoingVerification ¶
type Workspace_Delete_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*Workspace_Delete_OngoingVerification) GetAllCapturedArguments ¶
func (c *Workspace_Delete_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest)
func (*Workspace_Delete_OngoingVerification) GetCapturedArguments ¶
func (c *Workspace_Delete_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest)
type Workspace_GetWorkspace_OngoingVerification ¶
type Workspace_GetWorkspace_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*Workspace_GetWorkspace_OngoingVerification) GetAllCapturedArguments ¶
func (c *Workspace_GetWorkspace_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest, _param2 []string)
func (*Workspace_GetWorkspace_OngoingVerification) GetCapturedArguments ¶
func (c *Workspace_GetWorkspace_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest, string)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.