Documentation ¶
Index ¶
- type CommandRunner_RunAutoplanCommand_OngoingVerification
- func (c *CommandRunner_RunAutoplanCommand_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.Repo, _param2 []models.PullRequest, ...)
- func (c *CommandRunner_RunAutoplanCommand_OngoingVerification) GetCapturedArguments() (models.Repo, models.Repo, models.PullRequest, models.User)
- type CommandRunner_RunCommentCommand_OngoingVerification
- func (c *CommandRunner_RunCommentCommand_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []*models.Repo, _param2 []*models.PullRequest, ...)
- func (c *CommandRunner_RunCommentCommand_OngoingVerification) GetCapturedArguments() (models.Repo, *models.Repo, *models.PullRequest, models.User, int, ...)
- type CommentParsing_Parse_OngoingVerification
- type CommitStatusUpdater_UpdateProjectResult_OngoingVerification
- func (c *CommitStatusUpdater_UpdateProjectResult_OngoingVerification) GetAllCapturedArguments() (_param0 []*events.CommandContext, _param1 []events.CommandName, ...)
- func (c *CommitStatusUpdater_UpdateProjectResult_OngoingVerification) GetCapturedArguments() (*events.CommandContext, events.CommandName, events.CommandResult)
- type CommitStatusUpdater_Update_OngoingVerification
- type EventParsing_GetBitbucketCloudEventType_OngoingVerification
- type EventParsing_GetBitbucketServerEventType_OngoingVerification
- type EventParsing_ParseBitbucketCloudCommentEvent_OngoingVerification
- type EventParsing_ParseBitbucketCloudPullEvent_OngoingVerification
- type EventParsing_ParseBitbucketServerCommentEvent_OngoingVerification
- type EventParsing_ParseBitbucketServerPullEvent_OngoingVerification
- type EventParsing_ParseGithubIssueCommentEvent_OngoingVerification
- type EventParsing_ParseGithubPullEvent_OngoingVerification
- type EventParsing_ParseGithubPull_OngoingVerification
- type EventParsing_ParseGithubRepo_OngoingVerification
- type EventParsing_ParseGitlabMergeCommentEvent_OngoingVerification
- type EventParsing_ParseGitlabMergeEvent_OngoingVerification
- type EventParsing_ParseGitlabMergeRequest_OngoingVerification
- type GithubPullGetter_GetPullRequest_OngoingVerification
- type GitlabMergeRequestGetter_GetMergeRequest_OngoingVerification
- type LockURLGenerator_GenerateLockURL_OngoingVerification
- type MockCommandRunner
- func (mock *MockCommandRunner) RunAutoplanCommand(baseRepo models.Repo, headRepo models.Repo, pull models.PullRequest, ...)
- func (mock *MockCommandRunner) RunCommentCommand(baseRepo models.Repo, maybeHeadRepo *models.Repo, ...)
- func (mock *MockCommandRunner) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierCommandRunner
- func (mock *MockCommandRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierCommandRunner
- func (mock *MockCommandRunner) VerifyWasCalledOnce() *VerifierCommandRunner
- type MockCommentParsing
- func (mock *MockCommentParsing) Parse(comment string, vcsHost models.VCSHostType) events.CommentParseResult
- func (mock *MockCommentParsing) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierCommentParsing
- func (mock *MockCommentParsing) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierCommentParsing
- func (mock *MockCommentParsing) VerifyWasCalledOnce() *VerifierCommentParsing
- type MockCommitStatusUpdater
- func (mock *MockCommitStatusUpdater) Update(repo models.Repo, pull models.PullRequest, status models.CommitStatus, ...) error
- func (mock *MockCommitStatusUpdater) UpdateProjectResult(ctx *events.CommandContext, commandName events.CommandName, ...) error
- func (mock *MockCommitStatusUpdater) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierCommitStatusUpdater
- func (mock *MockCommitStatusUpdater) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierCommitStatusUpdater
- func (mock *MockCommitStatusUpdater) VerifyWasCalledOnce() *VerifierCommitStatusUpdater
- type MockEventParsing
- func (mock *MockEventParsing) GetBitbucketCloudEventType(eventTypeHeader string) models.PullRequestEventType
- func (mock *MockEventParsing) GetBitbucketServerEventType(eventTypeHeader string) models.PullRequestEventType
- func (mock *MockEventParsing) ParseBitbucketCloudCommentEvent(body []byte) (models.PullRequest, models.Repo, models.Repo, models.User, string, error)
- func (mock *MockEventParsing) ParseBitbucketCloudPullEvent(body []byte) (models.PullRequest, models.Repo, models.Repo, models.User, error)
- func (mock *MockEventParsing) ParseBitbucketServerCommentEvent(body []byte) (models.PullRequest, models.Repo, models.Repo, models.User, string, error)
- func (mock *MockEventParsing) ParseBitbucketServerPullEvent(body []byte) (models.PullRequest, models.Repo, models.Repo, models.User, error)
- func (mock *MockEventParsing) ParseGithubIssueCommentEvent(comment *github.IssueCommentEvent) (models.Repo, models.User, int, error)
- func (mock *MockEventParsing) ParseGithubPull(pull *github.PullRequest) (models.PullRequest, models.Repo, models.Repo, error)
- func (mock *MockEventParsing) ParseGithubPullEvent(pullEvent *github.PullRequestEvent) (models.PullRequest, models.PullRequestEventType, models.Repo, models.Repo, ...)
- func (mock *MockEventParsing) ParseGithubRepo(ghRepo *github.Repository) (models.Repo, error)
- func (mock *MockEventParsing) ParseGitlabMergeCommentEvent(event go_gitlab.MergeCommentEvent) (models.Repo, models.Repo, models.User, error)
- func (mock *MockEventParsing) ParseGitlabMergeEvent(event go_gitlab.MergeEvent) (models.PullRequest, models.PullRequestEventType, models.Repo, models.Repo, ...)
- func (mock *MockEventParsing) ParseGitlabMergeRequest(mr *go_gitlab.MergeRequest, baseRepo models.Repo) models.PullRequest
- func (mock *MockEventParsing) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierEventParsing
- func (mock *MockEventParsing) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierEventParsing
- func (mock *MockEventParsing) VerifyWasCalledOnce() *VerifierEventParsing
- type MockGithubPullGetter
- func (mock *MockGithubPullGetter) GetPullRequest(repo models.Repo, pullNum int) (*github.PullRequest, error)
- func (mock *MockGithubPullGetter) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierGithubPullGetter
- func (mock *MockGithubPullGetter) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierGithubPullGetter
- func (mock *MockGithubPullGetter) VerifyWasCalledOnce() *VerifierGithubPullGetter
- type MockGitlabMergeRequestGetter
- func (mock *MockGitlabMergeRequestGetter) GetMergeRequest(repoFullName string, pullNum int) (*go_gitlab.MergeRequest, error)
- func (mock *MockGitlabMergeRequestGetter) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierGitlabMergeRequestGetter
- func (mock *MockGitlabMergeRequestGetter) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierGitlabMergeRequestGetter
- func (mock *MockGitlabMergeRequestGetter) VerifyWasCalledOnce() *VerifierGitlabMergeRequestGetter
- type MockLockURLGenerator
- func (mock *MockLockURLGenerator) GenerateLockURL(lockID string) string
- func (mock *MockLockURLGenerator) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierLockURLGenerator
- func (mock *MockLockURLGenerator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierLockURLGenerator
- func (mock *MockLockURLGenerator) VerifyWasCalledOnce() *VerifierLockURLGenerator
- type MockProjectCommandBuilder
- func (mock *MockProjectCommandBuilder) BuildApplyCommand(ctx *events.CommandContext, commentCommand *events.CommentCommand) (models.ProjectCommandContext, error)
- func (mock *MockProjectCommandBuilder) BuildAutoplanCommands(ctx *events.CommandContext) ([]models.ProjectCommandContext, error)
- func (mock *MockProjectCommandBuilder) BuildPlanCommand(ctx *events.CommandContext, commentCommand *events.CommentCommand) (models.ProjectCommandContext, error)
- func (mock *MockProjectCommandBuilder) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierProjectCommandBuilder
- func (mock *MockProjectCommandBuilder) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierProjectCommandBuilder
- func (mock *MockProjectCommandBuilder) VerifyWasCalledOnce() *VerifierProjectCommandBuilder
- type MockProjectCommandRunner
- func (mock *MockProjectCommandRunner) Apply(ctx models.ProjectCommandContext) events.ProjectCommandResult
- func (mock *MockProjectCommandRunner) Plan(ctx models.ProjectCommandContext) events.ProjectCommandResult
- func (mock *MockProjectCommandRunner) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierProjectCommandRunner
- func (mock *MockProjectCommandRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierProjectCommandRunner
- func (mock *MockProjectCommandRunner) VerifyWasCalledOnce() *VerifierProjectCommandRunner
- 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 MockProjectFinder
- func (mock *MockProjectFinder) DetermineProjects(log *logging.SimpleLogger, modifiedFiles []string, repoFullName string, ...) []models.Project
- func (mock *MockProjectFinder) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierProjectFinder
- func (mock *MockProjectFinder) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierProjectFinder
- func (mock *MockProjectFinder) VerifyWasCalledOnce() *VerifierProjectFinder
- type MockProjectLocker
- func (mock *MockProjectLocker) TryLock(log *logging.SimpleLogger, pull models.PullRequest, user models.User, ...) (*events.TryLockResponse, error)
- func (mock *MockProjectLocker) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierProjectLocker
- func (mock *MockProjectLocker) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierProjectLocker
- func (mock *MockProjectLocker) VerifyWasCalledOnce() *VerifierProjectLocker
- 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 MockStepRunner
- func (mock *MockStepRunner) Run(ctx models.ProjectCommandContext, extraArgs []string, path string) (string, error)
- func (mock *MockStepRunner) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierStepRunner
- func (mock *MockStepRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierStepRunner
- func (mock *MockStepRunner) VerifyWasCalledOnce() *VerifierStepRunner
- type MockWebhooksSender
- func (mock *MockWebhooksSender) Send(log *logging.SimpleLogger, res webhooks.ApplyResult) error
- func (mock *MockWebhooksSender) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierWebhooksSender
- func (mock *MockWebhooksSender) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierWebhooksSender
- func (mock *MockWebhooksSender) VerifyWasCalledOnce() *VerifierWebhooksSender
- type MockWorkingDir
- func (mock *MockWorkingDir) Clone(log *logging.SimpleLogger, baseRepo models.Repo, headRepo models.Repo, ...) (string, error)
- func (mock *MockWorkingDir) Delete(r models.Repo, p models.PullRequest) error
- func (mock *MockWorkingDir) DeleteForWorkspace(r models.Repo, p models.PullRequest, workspace string) error
- func (mock *MockWorkingDir) GetWorkingDir(r models.Repo, p models.PullRequest, workspace string) (string, error)
- func (mock *MockWorkingDir) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierWorkingDir
- func (mock *MockWorkingDir) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierWorkingDir
- func (mock *MockWorkingDir) VerifyWasCalledOnce() *VerifierWorkingDir
- type MockWorkingDirLocker
- func (mock *MockWorkingDirLocker) TryLock(repoFullName string, workspace string, pullNum int) (func(), error)
- func (mock *MockWorkingDirLocker) Unlock(repoFullName string, workspace string, pullNum int)
- func (mock *MockWorkingDirLocker) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierWorkingDirLocker
- func (mock *MockWorkingDirLocker) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierWorkingDirLocker
- func (mock *MockWorkingDirLocker) VerifyWasCalledOnce() *VerifierWorkingDirLocker
- type ProjectCommandBuilder_BuildApplyCommand_OngoingVerification
- func (c *ProjectCommandBuilder_BuildApplyCommand_OngoingVerification) GetAllCapturedArguments() (_param0 []*events.CommandContext, _param1 []*events.CommentCommand)
- func (c *ProjectCommandBuilder_BuildApplyCommand_OngoingVerification) GetCapturedArguments() (*events.CommandContext, *events.CommentCommand)
- type ProjectCommandBuilder_BuildAutoplanCommands_OngoingVerification
- type ProjectCommandBuilder_BuildPlanCommand_OngoingVerification
- func (c *ProjectCommandBuilder_BuildPlanCommand_OngoingVerification) GetAllCapturedArguments() (_param0 []*events.CommandContext, _param1 []*events.CommentCommand)
- func (c *ProjectCommandBuilder_BuildPlanCommand_OngoingVerification) GetCapturedArguments() (*events.CommandContext, *events.CommentCommand)
- type ProjectCommandRunner_Apply_OngoingVerification
- type ProjectCommandRunner_Plan_OngoingVerification
- type ProjectConfigReader_Exists_OngoingVerification
- type ProjectConfigReader_Read_OngoingVerification
- type ProjectFinder_DetermineProjects_OngoingVerification
- type ProjectLocker_TryLock_OngoingVerification
- func (c *ProjectLocker_TryLock_OngoingVerification) GetAllCapturedArguments() (_param0 []*logging.SimpleLogger, _param1 []models.PullRequest, ...)
- func (c *ProjectLocker_TryLock_OngoingVerification) GetCapturedArguments() (*logging.SimpleLogger, models.PullRequest, models.User, string, models.Project)
- type PullCleaner_CleanUpPull_OngoingVerification
- type StepRunner_Run_OngoingVerification
- type VerifierCommandRunner
- func (verifier *VerifierCommandRunner) RunAutoplanCommand(baseRepo models.Repo, headRepo models.Repo, pull models.PullRequest, ...) *CommandRunner_RunAutoplanCommand_OngoingVerification
- func (verifier *VerifierCommandRunner) RunCommentCommand(baseRepo models.Repo, maybeHeadRepo *models.Repo, ...) *CommandRunner_RunCommentCommand_OngoingVerification
- type VerifierCommentParsing
- type VerifierCommitStatusUpdater
- func (verifier *VerifierCommitStatusUpdater) Update(repo models.Repo, pull models.PullRequest, status models.CommitStatus, ...) *CommitStatusUpdater_Update_OngoingVerification
- func (verifier *VerifierCommitStatusUpdater) UpdateProjectResult(ctx *events.CommandContext, commandName events.CommandName, ...) *CommitStatusUpdater_UpdateProjectResult_OngoingVerification
- type VerifierEventParsing
- func (verifier *VerifierEventParsing) GetBitbucketCloudEventType(eventTypeHeader string) *EventParsing_GetBitbucketCloudEventType_OngoingVerification
- func (verifier *VerifierEventParsing) GetBitbucketServerEventType(eventTypeHeader string) *EventParsing_GetBitbucketServerEventType_OngoingVerification
- func (verifier *VerifierEventParsing) ParseBitbucketCloudCommentEvent(body []byte) *EventParsing_ParseBitbucketCloudCommentEvent_OngoingVerification
- func (verifier *VerifierEventParsing) ParseBitbucketCloudPullEvent(body []byte) *EventParsing_ParseBitbucketCloudPullEvent_OngoingVerification
- func (verifier *VerifierEventParsing) ParseBitbucketServerCommentEvent(body []byte) *EventParsing_ParseBitbucketServerCommentEvent_OngoingVerification
- func (verifier *VerifierEventParsing) ParseBitbucketServerPullEvent(body []byte) *EventParsing_ParseBitbucketServerPullEvent_OngoingVerification
- func (verifier *VerifierEventParsing) ParseGithubIssueCommentEvent(comment *github.IssueCommentEvent) *EventParsing_ParseGithubIssueCommentEvent_OngoingVerification
- func (verifier *VerifierEventParsing) ParseGithubPull(pull *github.PullRequest) *EventParsing_ParseGithubPull_OngoingVerification
- func (verifier *VerifierEventParsing) ParseGithubPullEvent(pullEvent *github.PullRequestEvent) *EventParsing_ParseGithubPullEvent_OngoingVerification
- func (verifier *VerifierEventParsing) ParseGithubRepo(ghRepo *github.Repository) *EventParsing_ParseGithubRepo_OngoingVerification
- func (verifier *VerifierEventParsing) ParseGitlabMergeCommentEvent(event go_gitlab.MergeCommentEvent) *EventParsing_ParseGitlabMergeCommentEvent_OngoingVerification
- func (verifier *VerifierEventParsing) ParseGitlabMergeEvent(event go_gitlab.MergeEvent) *EventParsing_ParseGitlabMergeEvent_OngoingVerification
- func (verifier *VerifierEventParsing) ParseGitlabMergeRequest(mr *go_gitlab.MergeRequest, baseRepo models.Repo) *EventParsing_ParseGitlabMergeRequest_OngoingVerification
- type VerifierGithubPullGetter
- type VerifierGitlabMergeRequestGetter
- type VerifierLockURLGenerator
- type VerifierProjectCommandBuilder
- func (verifier *VerifierProjectCommandBuilder) BuildApplyCommand(ctx *events.CommandContext, commentCommand *events.CommentCommand) *ProjectCommandBuilder_BuildApplyCommand_OngoingVerification
- func (verifier *VerifierProjectCommandBuilder) BuildAutoplanCommands(ctx *events.CommandContext) *ProjectCommandBuilder_BuildAutoplanCommands_OngoingVerification
- func (verifier *VerifierProjectCommandBuilder) BuildPlanCommand(ctx *events.CommandContext, commentCommand *events.CommentCommand) *ProjectCommandBuilder_BuildPlanCommand_OngoingVerification
- type VerifierProjectCommandRunner
- type VerifierProjectConfigReader
- type VerifierProjectFinder
- type VerifierProjectLocker
- type VerifierPullCleaner
- type VerifierStepRunner
- type VerifierWebhooksSender
- type VerifierWorkingDir
- func (verifier *VerifierWorkingDir) Clone(log *logging.SimpleLogger, baseRepo models.Repo, headRepo models.Repo, ...) *WorkingDir_Clone_OngoingVerification
- func (verifier *VerifierWorkingDir) Delete(r models.Repo, p models.PullRequest) *WorkingDir_Delete_OngoingVerification
- func (verifier *VerifierWorkingDir) DeleteForWorkspace(r models.Repo, p models.PullRequest, workspace string) *WorkingDir_DeleteForWorkspace_OngoingVerification
- func (verifier *VerifierWorkingDir) GetWorkingDir(r models.Repo, p models.PullRequest, workspace string) *WorkingDir_GetWorkingDir_OngoingVerification
- type VerifierWorkingDirLocker
- type WebhooksSender_Send_OngoingVerification
- type WorkingDirLocker_TryLock_OngoingVerification
- type WorkingDirLocker_Unlock_OngoingVerification
- type WorkingDir_Clone_OngoingVerification
- func (c *WorkingDir_Clone_OngoingVerification) GetAllCapturedArguments() (_param0 []*logging.SimpleLogger, _param1 []models.Repo, _param2 []models.Repo, ...)
- func (c *WorkingDir_Clone_OngoingVerification) GetCapturedArguments() (*logging.SimpleLogger, models.Repo, models.Repo, models.PullRequest, string)
- type WorkingDir_DeleteForWorkspace_OngoingVerification
- type WorkingDir_Delete_OngoingVerification
- type WorkingDir_GetWorkingDir_OngoingVerification
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
func (c *CommandRunner_RunAutoplanCommand_OngoingVerification) GetCapturedArguments() (models.Repo, models.Repo, models.PullRequest, models.User)
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
func (c *CommandRunner_RunCommentCommand_OngoingVerification) GetCapturedArguments() (models.Repo, *models.Repo, *models.PullRequest, models.User, int, *events.CommentCommand)
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
func (c *CommentParsing_Parse_OngoingVerification) GetCapturedArguments() (string, models.VCSHostType)
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 (c *CommitStatusUpdater_UpdateProjectResult_OngoingVerification) GetAllCapturedArguments() (_param0 []*events.CommandContext, _param1 []events.CommandName, _param2 []events.CommandResult)
func (*CommitStatusUpdater_UpdateProjectResult_OngoingVerification) GetCapturedArguments ¶ added in v0.2.0
func (c *CommitStatusUpdater_UpdateProjectResult_OngoingVerification) GetCapturedArguments() (*events.CommandContext, events.CommandName, events.CommandResult)
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 []models.CommitStatus, _param3 []events.CommandName)
func (*CommitStatusUpdater_Update_OngoingVerification) GetCapturedArguments ¶ added in v0.2.0
func (c *CommitStatusUpdater_Update_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest, models.CommitStatus, events.CommandName)
type EventParsing_GetBitbucketCloudEventType_OngoingVerification ¶ added in v0.4.4
type EventParsing_GetBitbucketCloudEventType_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*EventParsing_GetBitbucketCloudEventType_OngoingVerification) GetAllCapturedArguments ¶ added in v0.4.4
func (c *EventParsing_GetBitbucketCloudEventType_OngoingVerification) GetAllCapturedArguments() (_param0 []string)
func (*EventParsing_GetBitbucketCloudEventType_OngoingVerification) GetCapturedArguments ¶ added in v0.4.4
func (c *EventParsing_GetBitbucketCloudEventType_OngoingVerification) GetCapturedArguments() string
type EventParsing_GetBitbucketServerEventType_OngoingVerification ¶ added in v0.4.4
type EventParsing_GetBitbucketServerEventType_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*EventParsing_GetBitbucketServerEventType_OngoingVerification) GetAllCapturedArguments ¶ added in v0.4.4
func (c *EventParsing_GetBitbucketServerEventType_OngoingVerification) GetAllCapturedArguments() (_param0 []string)
func (*EventParsing_GetBitbucketServerEventType_OngoingVerification) GetCapturedArguments ¶ added in v0.4.4
func (c *EventParsing_GetBitbucketServerEventType_OngoingVerification) GetCapturedArguments() string
type EventParsing_ParseBitbucketCloudCommentEvent_OngoingVerification ¶ added in v0.4.3
type EventParsing_ParseBitbucketCloudCommentEvent_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*EventParsing_ParseBitbucketCloudCommentEvent_OngoingVerification) GetAllCapturedArguments ¶ added in v0.4.3
func (c *EventParsing_ParseBitbucketCloudCommentEvent_OngoingVerification) GetAllCapturedArguments() (_param0 [][]byte)
func (*EventParsing_ParseBitbucketCloudCommentEvent_OngoingVerification) GetCapturedArguments ¶ added in v0.4.3
func (c *EventParsing_ParseBitbucketCloudCommentEvent_OngoingVerification) GetCapturedArguments() []byte
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
func (c *EventParsing_ParseBitbucketCloudPullEvent_OngoingVerification) GetCapturedArguments() []byte
type EventParsing_ParseBitbucketServerCommentEvent_OngoingVerification ¶ added in v0.4.4
type EventParsing_ParseBitbucketServerCommentEvent_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*EventParsing_ParseBitbucketServerCommentEvent_OngoingVerification) GetAllCapturedArguments ¶ added in v0.4.4
func (c *EventParsing_ParseBitbucketServerCommentEvent_OngoingVerification) GetAllCapturedArguments() (_param0 [][]byte)
func (*EventParsing_ParseBitbucketServerCommentEvent_OngoingVerification) GetCapturedArguments ¶ added in v0.4.4
func (c *EventParsing_ParseBitbucketServerCommentEvent_OngoingVerification) GetCapturedArguments() []byte
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
func (c *EventParsing_ParseBitbucketServerPullEvent_OngoingVerification) GetCapturedArguments() []byte
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 (c *EventParsing_ParseGithubIssueCommentEvent_OngoingVerification) GetAllCapturedArguments() (_param0 []*github.IssueCommentEvent)
func (*EventParsing_ParseGithubIssueCommentEvent_OngoingVerification) GetCapturedArguments ¶ added in v0.2.0
func (c *EventParsing_ParseGithubIssueCommentEvent_OngoingVerification) GetCapturedArguments() *github.IssueCommentEvent
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
func (c *EventParsing_ParseGithubPullEvent_OngoingVerification) GetCapturedArguments() *github.PullRequestEvent
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
func (c *EventParsing_ParseGithubPull_OngoingVerification) GetCapturedArguments() *github.PullRequest
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
func (c *EventParsing_ParseGithubRepo_OngoingVerification) GetCapturedArguments() *github.Repository
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 (c *EventParsing_ParseGitlabMergeCommentEvent_OngoingVerification) GetAllCapturedArguments() (_param0 []go_gitlab.MergeCommentEvent)
func (*EventParsing_ParseGitlabMergeCommentEvent_OngoingVerification) GetCapturedArguments ¶ added in v0.2.0
func (c *EventParsing_ParseGitlabMergeCommentEvent_OngoingVerification) GetCapturedArguments() go_gitlab.MergeCommentEvent
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
func (c *EventParsing_ParseGitlabMergeEvent_OngoingVerification) GetCapturedArguments() go_gitlab.MergeEvent
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
func (c *EventParsing_ParseGitlabMergeRequest_OngoingVerification) GetCapturedArguments() (*go_gitlab.MergeRequest, models.Repo)
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
func (c *GithubPullGetter_GetPullRequest_OngoingVerification) GetCapturedArguments() (models.Repo, int)
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
func (c *GitlabMergeRequestGetter_GetMergeRequest_OngoingVerification) GetCapturedArguments() (string, int)
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
func (c *LockURLGenerator_GenerateLockURL_OngoingVerification) GetCapturedArguments() string
type MockCommandRunner ¶
type MockCommandRunner struct {
// contains filtered or unexported fields
}
func NewMockCommandRunner ¶
func NewMockCommandRunner() *MockCommandRunner
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) 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 models.CommitStatus, command events.CommandName) error
func (*MockCommitStatusUpdater) UpdateProjectResult ¶ added in v0.2.0
func (mock *MockCommitStatusUpdater) UpdateProjectResult(ctx *events.CommandContext, commandName events.CommandName, res events.CommandResult) 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) GetBitbucketCloudEventType ¶ added in v0.4.4
func (mock *MockEventParsing) GetBitbucketCloudEventType(eventTypeHeader string) models.PullRequestEventType
func (*MockEventParsing) GetBitbucketServerEventType ¶ added in v0.4.4
func (mock *MockEventParsing) GetBitbucketServerEventType(eventTypeHeader string) models.PullRequestEventType
func (*MockEventParsing) ParseBitbucketCloudCommentEvent ¶ added in v0.4.3
func (*MockEventParsing) ParseBitbucketCloudPullEvent ¶ added in v0.4.3
func (*MockEventParsing) ParseBitbucketServerCommentEvent ¶ added in v0.4.4
func (*MockEventParsing) ParseBitbucketServerPullEvent ¶ added in v0.4.4
func (*MockEventParsing) ParseGithubIssueCommentEvent ¶ added in v0.2.0
func (mock *MockEventParsing) ParseGithubIssueCommentEvent(comment *github.IssueCommentEvent) (models.Repo, models.User, int, error)
func (*MockEventParsing) ParseGithubPull ¶ added in v0.2.0
func (mock *MockEventParsing) ParseGithubPull(pull *github.PullRequest) (models.PullRequest, models.Repo, models.Repo, error)
func (*MockEventParsing) ParseGithubPullEvent ¶ added in v0.4.0
func (mock *MockEventParsing) ParseGithubPullEvent(pullEvent *github.PullRequestEvent) (models.PullRequest, models.PullRequestEventType, models.Repo, models.Repo, models.User, error)
func (*MockEventParsing) ParseGithubRepo ¶ added in v0.2.0
func (mock *MockEventParsing) ParseGithubRepo(ghRepo *github.Repository) (models.Repo, error)
func (*MockEventParsing) 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.PullRequestEventType, models.Repo, models.Repo, models.User, 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 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
func (mock *MockGitlabMergeRequestGetter) VerifyWasCalledOnce() *VerifierGitlabMergeRequestGetter
type MockLockURLGenerator ¶
type MockLockURLGenerator struct {
// contains filtered or unexported fields
}
func NewMockLockURLGenerator ¶
func NewMockLockURLGenerator() *MockLockURLGenerator
func (*MockLockURLGenerator) GenerateLockURL ¶ added in v0.4.0
func (mock *MockLockURLGenerator) GenerateLockURL(lockID 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 MockProjectCommandBuilder ¶ added in v0.4.0
type MockProjectCommandBuilder struct {
// contains filtered or unexported fields
}
func NewMockProjectCommandBuilder ¶ added in v0.4.0
func NewMockProjectCommandBuilder() *MockProjectCommandBuilder
func (*MockProjectCommandBuilder) BuildApplyCommand ¶ added in v0.4.0
func (mock *MockProjectCommandBuilder) BuildApplyCommand(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) BuildPlanCommand ¶ added in v0.4.0
func (mock *MockProjectCommandBuilder) BuildPlanCommand(ctx *events.CommandContext, commentCommand *events.CommentCommand) (models.ProjectCommandContext, error)
func (*MockProjectCommandBuilder) VerifyWasCalled ¶ added in v0.4.0
func (mock *MockProjectCommandBuilder) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *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() *MockProjectCommandRunner
func (*MockProjectCommandRunner) Apply ¶ added in v0.4.0
func (mock *MockProjectCommandRunner) Apply(ctx models.ProjectCommandContext) events.ProjectCommandResult
func (*MockProjectCommandRunner) Plan ¶ added in v0.4.0
func (mock *MockProjectCommandRunner) Plan(ctx models.ProjectCommandContext) events.ProjectCommandResult
func (*MockProjectCommandRunner) VerifyWasCalled ¶ added in v0.4.0
func (mock *MockProjectCommandRunner) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *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 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 MockProjectLocker ¶ added in v0.4.0
type MockProjectLocker struct {
// contains filtered or unexported fields
}
func NewMockProjectLocker ¶ added in v0.4.0
func NewMockProjectLocker() *MockProjectLocker
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) 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() *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 MockStepRunner ¶ added in v0.4.0
type MockStepRunner struct {
// contains filtered or unexported fields
}
func NewMockStepRunner ¶ added in v0.4.0
func NewMockStepRunner() *MockStepRunner
func (*MockStepRunner) Run ¶ added in v0.4.0
func (mock *MockStepRunner) Run(ctx models.ProjectCommandContext, extraArgs []string, path string) (string, error)
func (*MockStepRunner) VerifyWasCalled ¶ added in v0.4.0
func (mock *MockStepRunner) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *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() *MockWebhooksSender
func (*MockWebhooksSender) Send ¶ added in v0.4.0
func (mock *MockWebhooksSender) Send(log *logging.SimpleLogger, res webhooks.ApplyResult) error
func (*MockWebhooksSender) VerifyWasCalled ¶ added in v0.4.0
func (mock *MockWebhooksSender) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *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() *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) GetWorkingDir ¶ added in v0.4.0
func (mock *MockWorkingDir) GetWorkingDir(r models.Repo, p models.PullRequest, workspace string) (string, error)
func (*MockWorkingDir) VerifyWasCalled ¶ added in v0.4.0
func (mock *MockWorkingDir) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *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() *MockWorkingDirLocker
func (*MockWorkingDirLocker) TryLock ¶ added in v0.4.0
func (mock *MockWorkingDirLocker) TryLock(repoFullName string, workspace string, pullNum int) (func(), error)
func (*MockWorkingDirLocker) Unlock ¶ added in v0.4.0
func (mock *MockWorkingDirLocker) Unlock(repoFullName string, workspace string, pullNum int)
func (*MockWorkingDirLocker) VerifyWasCalled ¶ added in v0.4.0
func (mock *MockWorkingDirLocker) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *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 ProjectCommandBuilder_BuildApplyCommand_OngoingVerification ¶ added in v0.4.0
type ProjectCommandBuilder_BuildApplyCommand_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*ProjectCommandBuilder_BuildApplyCommand_OngoingVerification) GetAllCapturedArguments ¶ added in v0.4.0
func (c *ProjectCommandBuilder_BuildApplyCommand_OngoingVerification) GetAllCapturedArguments() (_param0 []*events.CommandContext, _param1 []*events.CommentCommand)
func (*ProjectCommandBuilder_BuildApplyCommand_OngoingVerification) GetCapturedArguments ¶ added in v0.4.0
func (c *ProjectCommandBuilder_BuildApplyCommand_OngoingVerification) GetCapturedArguments() (*events.CommandContext, *events.CommentCommand)
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 (c *ProjectCommandBuilder_BuildAutoplanCommands_OngoingVerification) GetAllCapturedArguments() (_param0 []*events.CommandContext)
func (*ProjectCommandBuilder_BuildAutoplanCommands_OngoingVerification) GetCapturedArguments ¶ added in v0.4.0
func (c *ProjectCommandBuilder_BuildAutoplanCommands_OngoingVerification) GetCapturedArguments() *events.CommandContext
type ProjectCommandBuilder_BuildPlanCommand_OngoingVerification ¶ added in v0.4.0
type ProjectCommandBuilder_BuildPlanCommand_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*ProjectCommandBuilder_BuildPlanCommand_OngoingVerification) GetAllCapturedArguments ¶ added in v0.4.0
func (c *ProjectCommandBuilder_BuildPlanCommand_OngoingVerification) GetAllCapturedArguments() (_param0 []*events.CommandContext, _param1 []*events.CommentCommand)
func (*ProjectCommandBuilder_BuildPlanCommand_OngoingVerification) GetCapturedArguments ¶ added in v0.4.0
func (c *ProjectCommandBuilder_BuildPlanCommand_OngoingVerification) GetCapturedArguments() (*events.CommandContext, *events.CommentCommand)
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
func (c *ProjectCommandRunner_Apply_OngoingVerification) GetCapturedArguments() models.ProjectCommandContext
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
func (c *ProjectCommandRunner_Plan_OngoingVerification) GetCapturedArguments() models.ProjectCommandContext
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
func (c *ProjectFinder_DetermineProjects_OngoingVerification) GetCapturedArguments() (*logging.SimpleLogger, []string, string, string)
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
func (c *ProjectLocker_TryLock_OngoingVerification) GetCapturedArguments() (*logging.SimpleLogger, models.PullRequest, models.User, 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 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
func (c *StepRunner_Run_OngoingVerification) GetCapturedArguments() (models.ProjectCommandContext, []string, string)
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
func (verifier *VerifierCommentParsing) Parse(comment string, vcsHost models.VCSHostType) *CommentParsing_Parse_OngoingVerification
type VerifierCommitStatusUpdater ¶ added in v0.2.0
type VerifierCommitStatusUpdater struct {
// contains filtered or unexported fields
}
func (*VerifierCommitStatusUpdater) Update ¶ added in v0.2.0
func (verifier *VerifierCommitStatusUpdater) Update(repo models.Repo, pull models.PullRequest, status models.CommitStatus, command events.CommandName) *CommitStatusUpdater_Update_OngoingVerification
func (*VerifierCommitStatusUpdater) UpdateProjectResult ¶ added in v0.2.0
func (verifier *VerifierCommitStatusUpdater) UpdateProjectResult(ctx *events.CommandContext, commandName events.CommandName, res events.CommandResult) *CommitStatusUpdater_UpdateProjectResult_OngoingVerification
type VerifierEventParsing ¶
type VerifierEventParsing struct {
// contains filtered or unexported fields
}
func (*VerifierEventParsing) GetBitbucketCloudEventType ¶ added in v0.4.4
func (verifier *VerifierEventParsing) GetBitbucketCloudEventType(eventTypeHeader string) *EventParsing_GetBitbucketCloudEventType_OngoingVerification
func (*VerifierEventParsing) GetBitbucketServerEventType ¶ added in v0.4.4
func (verifier *VerifierEventParsing) GetBitbucketServerEventType(eventTypeHeader string) *EventParsing_GetBitbucketServerEventType_OngoingVerification
func (*VerifierEventParsing) ParseBitbucketCloudCommentEvent ¶ added in v0.4.3
func (verifier *VerifierEventParsing) ParseBitbucketCloudCommentEvent(body []byte) *EventParsing_ParseBitbucketCloudCommentEvent_OngoingVerification
func (*VerifierEventParsing) ParseBitbucketCloudPullEvent ¶ added in v0.4.3
func (verifier *VerifierEventParsing) ParseBitbucketCloudPullEvent(body []byte) *EventParsing_ParseBitbucketCloudPullEvent_OngoingVerification
func (*VerifierEventParsing) ParseBitbucketServerCommentEvent ¶ added in v0.4.4
func (verifier *VerifierEventParsing) ParseBitbucketServerCommentEvent(body []byte) *EventParsing_ParseBitbucketServerCommentEvent_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 (verifier *VerifierEventParsing) ParseGithubIssueCommentEvent(comment *github.IssueCommentEvent) *EventParsing_ParseGithubIssueCommentEvent_OngoingVerification
func (*VerifierEventParsing) ParseGithubPull ¶ added in v0.2.0
func (verifier *VerifierEventParsing) ParseGithubPull(pull *github.PullRequest) *EventParsing_ParseGithubPull_OngoingVerification
func (*VerifierEventParsing) ParseGithubPullEvent ¶ added in v0.4.0
func (verifier *VerifierEventParsing) ParseGithubPullEvent(pullEvent *github.PullRequestEvent) *EventParsing_ParseGithubPullEvent_OngoingVerification
func (*VerifierEventParsing) ParseGithubRepo ¶ added in v0.2.0
func (verifier *VerifierEventParsing) ParseGithubRepo(ghRepo *github.Repository) *EventParsing_ParseGithubRepo_OngoingVerification
func (*VerifierEventParsing) ParseGitlabMergeCommentEvent ¶ added in v0.2.0
func (verifier *VerifierEventParsing) ParseGitlabMergeCommentEvent(event go_gitlab.MergeCommentEvent) *EventParsing_ParseGitlabMergeCommentEvent_OngoingVerification
func (*VerifierEventParsing) ParseGitlabMergeEvent ¶ added in v0.2.0
func (verifier *VerifierEventParsing) ParseGitlabMergeEvent(event go_gitlab.MergeEvent) *EventParsing_ParseGitlabMergeEvent_OngoingVerification
func (*VerifierEventParsing) ParseGitlabMergeRequest ¶ added in v0.2.0
func (verifier *VerifierEventParsing) ParseGitlabMergeRequest(mr *go_gitlab.MergeRequest, baseRepo models.Repo) *EventParsing_ParseGitlabMergeRequest_OngoingVerification
type VerifierGithubPullGetter ¶ added in v0.2.0
type VerifierGithubPullGetter struct {
// contains filtered or unexported fields
}
func (*VerifierGithubPullGetter) GetPullRequest ¶ added in v0.2.0
func (verifier *VerifierGithubPullGetter) GetPullRequest(repo models.Repo, pullNum int) *GithubPullGetter_GetPullRequest_OngoingVerification
type VerifierGitlabMergeRequestGetter ¶ added in v0.2.0
type VerifierGitlabMergeRequestGetter struct {
// contains filtered or unexported fields
}
func (*VerifierGitlabMergeRequestGetter) GetMergeRequest ¶ added in v0.2.0
func (verifier *VerifierGitlabMergeRequestGetter) GetMergeRequest(repoFullName string, pullNum int) *GitlabMergeRequestGetter_GetMergeRequest_OngoingVerification
type VerifierLockURLGenerator ¶
type VerifierLockURLGenerator struct {
// contains filtered or unexported fields
}
func (*VerifierLockURLGenerator) GenerateLockURL ¶ added in v0.4.0
func (verifier *VerifierLockURLGenerator) GenerateLockURL(lockID string) *LockURLGenerator_GenerateLockURL_OngoingVerification
type VerifierProjectCommandBuilder ¶ added in v0.4.0
type VerifierProjectCommandBuilder struct {
// contains filtered or unexported fields
}
func (*VerifierProjectCommandBuilder) BuildApplyCommand ¶ added in v0.4.0
func (verifier *VerifierProjectCommandBuilder) BuildApplyCommand(ctx *events.CommandContext, commentCommand *events.CommentCommand) *ProjectCommandBuilder_BuildApplyCommand_OngoingVerification
func (*VerifierProjectCommandBuilder) BuildAutoplanCommands ¶ added in v0.4.0
func (verifier *VerifierProjectCommandBuilder) BuildAutoplanCommands(ctx *events.CommandContext) *ProjectCommandBuilder_BuildAutoplanCommands_OngoingVerification
func (*VerifierProjectCommandBuilder) BuildPlanCommand ¶ added in v0.4.0
func (verifier *VerifierProjectCommandBuilder) BuildPlanCommand(ctx *events.CommandContext, commentCommand *events.CommentCommand) *ProjectCommandBuilder_BuildPlanCommand_OngoingVerification
type VerifierProjectCommandRunner ¶ added in v0.4.0
type VerifierProjectCommandRunner struct {
// contains filtered or unexported fields
}
func (*VerifierProjectCommandRunner) Apply ¶ added in v0.4.0
func (verifier *VerifierProjectCommandRunner) Apply(ctx models.ProjectCommandContext) *ProjectCommandRunner_Apply_OngoingVerification
func (*VerifierProjectCommandRunner) Plan ¶ added in v0.4.0
func (verifier *VerifierProjectCommandRunner) Plan(ctx models.ProjectCommandContext) *ProjectCommandRunner_Plan_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 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 VerifierProjectLocker ¶ added in v0.4.0
type VerifierProjectLocker struct {
// contains filtered or unexported fields
}
func (*VerifierProjectLocker) TryLock ¶ added in v0.4.0
func (verifier *VerifierProjectLocker) TryLock(log *logging.SimpleLogger, pull models.PullRequest, user models.User, workspace string, project models.Project) *ProjectLocker_TryLock_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 VerifierStepRunner ¶ added in v0.4.0
type VerifierStepRunner struct {
// contains filtered or unexported fields
}
func (*VerifierStepRunner) Run ¶ added in v0.4.0
func (verifier *VerifierStepRunner) Run(ctx models.ProjectCommandContext, extraArgs []string, path string) *StepRunner_Run_OngoingVerification
type VerifierWebhooksSender ¶ added in v0.4.0
type VerifierWebhooksSender struct {
// contains filtered or unexported fields
}
func (*VerifierWebhooksSender) Send ¶ added in v0.4.0
func (verifier *VerifierWebhooksSender) Send(log *logging.SimpleLogger, res webhooks.ApplyResult) *WebhooksSender_Send_OngoingVerification
type VerifierWorkingDir ¶ added in v0.4.0
type VerifierWorkingDir struct {
// contains filtered or unexported fields
}
func (*VerifierWorkingDir) Clone ¶ added in v0.4.0
func (verifier *VerifierWorkingDir) Clone(log *logging.SimpleLogger, baseRepo models.Repo, headRepo models.Repo, p models.PullRequest, workspace string) *WorkingDir_Clone_OngoingVerification
func (*VerifierWorkingDir) Delete ¶ added in v0.4.0
func (verifier *VerifierWorkingDir) Delete(r models.Repo, p models.PullRequest) *WorkingDir_Delete_OngoingVerification
func (*VerifierWorkingDir) DeleteForWorkspace ¶ added in v0.4.0
func (verifier *VerifierWorkingDir) DeleteForWorkspace(r models.Repo, p models.PullRequest, workspace string) *WorkingDir_DeleteForWorkspace_OngoingVerification
func (*VerifierWorkingDir) GetWorkingDir ¶ added in v0.4.0
func (verifier *VerifierWorkingDir) GetWorkingDir(r models.Repo, p models.PullRequest, workspace string) *WorkingDir_GetWorkingDir_OngoingVerification
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, workspace string, pullNum int) *WorkingDirLocker_TryLock_OngoingVerification
func (*VerifierWorkingDirLocker) Unlock ¶ added in v0.4.0
func (verifier *VerifierWorkingDirLocker) Unlock(repoFullName string, workspace string, pullNum int) *WorkingDirLocker_Unlock_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
func (c *WebhooksSender_Send_OngoingVerification) GetCapturedArguments() (*logging.SimpleLogger, webhooks.ApplyResult)
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 []string, _param2 []int)
func (*WorkingDirLocker_TryLock_OngoingVerification) GetCapturedArguments ¶ added in v0.4.0
func (c *WorkingDirLocker_TryLock_OngoingVerification) GetCapturedArguments() (string, string, int)
type WorkingDirLocker_Unlock_OngoingVerification ¶ added in v0.4.0
type WorkingDirLocker_Unlock_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*WorkingDirLocker_Unlock_OngoingVerification) GetAllCapturedArguments ¶ added in v0.4.0
func (c *WorkingDirLocker_Unlock_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string, _param2 []int)
func (*WorkingDirLocker_Unlock_OngoingVerification) GetCapturedArguments ¶ added in v0.4.0
func (c *WorkingDirLocker_Unlock_OngoingVerification) GetCapturedArguments() (string, string, int)
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
func (c *WorkingDir_Clone_OngoingVerification) GetCapturedArguments() (*logging.SimpleLogger, models.Repo, models.Repo, models.PullRequest, string)
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
func (c *WorkingDir_DeleteForWorkspace_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest, string)
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
func (c *WorkingDir_Delete_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest)
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
func (c *WorkingDir_GetWorkingDir_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest, string)
Source Files ¶
- mock_command_runner.go
- mock_comment_parsing.go
- mock_commit_status_updater.go
- mock_event_parsing.go
- mock_github_pull_getter.go
- mock_gitlab_merge_request_getter.go
- mock_lock_url_generator.go
- mock_project_command_builder.go
- mock_project_command_runner.go
- mock_project_config_reader.go
- mock_project_finder.go
- mock_project_lock.go
- mock_pull_cleaner.go
- mock_step_runner.go
- mock_webhooks_sender.go
- mock_working_dir.go
- mock_working_dir_locker.go
Click to show internal directories.
Click to hide internal directories.