Documentation ¶
Index ¶
- type MockAsyncTFExec
- func (mock *MockAsyncTFExec) FailHandler() pegomock.FailHandler
- func (mock *MockAsyncTFExec) RunCommandAsync(ctx command.ProjectContext, path string, args []string, envs map[string]string, ...) (chan<- string, <-chan models.Line)
- func (mock *MockAsyncTFExec) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockAsyncTFExec) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockAsyncTFExec
- func (mock *MockAsyncTFExec) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockAsyncTFExec
- func (mock *MockAsyncTFExec) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockAsyncTFExec
- func (mock *MockAsyncTFExec) VerifyWasCalledOnce() *VerifierMockAsyncTFExec
- type MockAsyncTFExec_RunCommandAsync_OngoingVerification
- func (c *MockAsyncTFExec_RunCommandAsync_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext, _param1 []string, _param2 [][]string, ...)
- func (c *MockAsyncTFExec_RunCommandAsync_OngoingVerification) GetCapturedArguments() (command.ProjectContext, string, []string, map[string]string, ...)
- type MockPostWorkflowHookRunner
- func (mock *MockPostWorkflowHookRunner) FailHandler() pegomock.FailHandler
- func (mock *MockPostWorkflowHookRunner) Run(ctx models.WorkflowHookCommandContext, command string, shell string, ...) (string, string, error)
- func (mock *MockPostWorkflowHookRunner) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockPostWorkflowHookRunner) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockPostWorkflowHookRunner
- func (mock *MockPostWorkflowHookRunner) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockPostWorkflowHookRunner
- func (mock *MockPostWorkflowHookRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockPostWorkflowHookRunner
- func (mock *MockPostWorkflowHookRunner) VerifyWasCalledOnce() *VerifierMockPostWorkflowHookRunner
- type MockPostWorkflowHookRunner_Run_OngoingVerification
- func (c *MockPostWorkflowHookRunner_Run_OngoingVerification) GetAllCapturedArguments() (_param0 []models.WorkflowHookCommandContext, _param1 []string, ...)
- func (c *MockPostWorkflowHookRunner_Run_OngoingVerification) GetCapturedArguments() (models.WorkflowHookCommandContext, string, string, string, string)
- type MockPreWorkflowHookRunner
- func (mock *MockPreWorkflowHookRunner) FailHandler() pegomock.FailHandler
- func (mock *MockPreWorkflowHookRunner) Run(ctx models.WorkflowHookCommandContext, command string, shell string, ...) (string, string, error)
- func (mock *MockPreWorkflowHookRunner) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockPreWorkflowHookRunner) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockPreWorkflowHookRunner
- func (mock *MockPreWorkflowHookRunner) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockPreWorkflowHookRunner
- func (mock *MockPreWorkflowHookRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockPreWorkflowHookRunner
- func (mock *MockPreWorkflowHookRunner) VerifyWasCalledOnce() *VerifierMockPreWorkflowHookRunner
- type MockPreWorkflowHookRunner_Run_OngoingVerification
- func (c *MockPreWorkflowHookRunner_Run_OngoingVerification) GetAllCapturedArguments() (_param0 []models.WorkflowHookCommandContext, _param1 []string, ...)
- func (c *MockPreWorkflowHookRunner_Run_OngoingVerification) GetCapturedArguments() (models.WorkflowHookCommandContext, string, string, string, string)
- type MockPullApprovedChecker
- func (mock *MockPullApprovedChecker) FailHandler() pegomock.FailHandler
- func (mock *MockPullApprovedChecker) PullIsApproved(baseRepo models.Repo, pull models.PullRequest) (models.ApprovalStatus, error)
- func (mock *MockPullApprovedChecker) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockPullApprovedChecker) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockPullApprovedChecker
- func (mock *MockPullApprovedChecker) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockPullApprovedChecker
- func (mock *MockPullApprovedChecker) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockPullApprovedChecker
- func (mock *MockPullApprovedChecker) VerifyWasCalledOnce() *VerifierMockPullApprovedChecker
- type MockPullApprovedChecker_PullIsApproved_OngoingVerification
- type MockRunner
- func (mock *MockRunner) FailHandler() pegomock.FailHandler
- func (mock *MockRunner) Run(ctx command.ProjectContext, extraArgs []string, path string, ...) (string, error)
- func (mock *MockRunner) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockRunner) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockRunner
- func (mock *MockRunner) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockRunner
- func (mock *MockRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockRunner
- func (mock *MockRunner) VerifyWasCalledOnce() *VerifierMockRunner
- type MockRunner_Run_OngoingVerification
- type MockStatusUpdater
- func (mock *MockStatusUpdater) FailHandler() pegomock.FailHandler
- func (mock *MockStatusUpdater) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockStatusUpdater) UpdateProject(ctx command.ProjectContext, cmdName command.Name, status models.CommitStatus, ...) error
- func (mock *MockStatusUpdater) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockStatusUpdater
- func (mock *MockStatusUpdater) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockStatusUpdater
- func (mock *MockStatusUpdater) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockStatusUpdater
- func (mock *MockStatusUpdater) VerifyWasCalledOnce() *VerifierMockStatusUpdater
- type MockStatusUpdater_UpdateProject_OngoingVerification
- func (c *MockStatusUpdater_UpdateProject_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext, _param1 []command.Name, ...)
- func (c *MockStatusUpdater_UpdateProject_OngoingVerification) GetCapturedArguments() (command.ProjectContext, command.Name, models.CommitStatus, string, ...)
- type MockVersionedExecutorWorkflow
- func (mock *MockVersionedExecutorWorkflow) EnsureExecutorVersion(log logging.SimpleLogging, v *go_version.Version) (string, error)
- func (mock *MockVersionedExecutorWorkflow) FailHandler() pegomock.FailHandler
- func (mock *MockVersionedExecutorWorkflow) Run(ctx command.ProjectContext, executablePath string, envs map[string]string, ...) (string, error)
- func (mock *MockVersionedExecutorWorkflow) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockVersionedExecutorWorkflow) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockVersionedExecutorWorkflow
- func (mock *MockVersionedExecutorWorkflow) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockVersionedExecutorWorkflow
- func (mock *MockVersionedExecutorWorkflow) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockVersionedExecutorWorkflow
- func (mock *MockVersionedExecutorWorkflow) VerifyWasCalledOnce() *VerifierMockVersionedExecutorWorkflow
- type MockVersionedExecutorWorkflow_EnsureExecutorVersion_OngoingVerification
- func (c *MockVersionedExecutorWorkflow_EnsureExecutorVersion_OngoingVerification) GetAllCapturedArguments() (_param0 []logging.SimpleLogging, _param1 []*go_version.Version)
- func (c *MockVersionedExecutorWorkflow_EnsureExecutorVersion_OngoingVerification) GetCapturedArguments() (logging.SimpleLogging, *go_version.Version)
- type MockVersionedExecutorWorkflow_Run_OngoingVerification
- func (c *MockVersionedExecutorWorkflow_Run_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext, _param1 []string, ...)
- func (c *MockVersionedExecutorWorkflow_Run_OngoingVerification) GetCapturedArguments() (command.ProjectContext, string, map[string]string, string, []string)
- type VerifierMockAsyncTFExec
- type VerifierMockPostWorkflowHookRunner
- type VerifierMockPreWorkflowHookRunner
- type VerifierMockPullApprovedChecker
- type VerifierMockRunner
- type VerifierMockStatusUpdater
- type VerifierMockVersionedExecutorWorkflow
- func (verifier *VerifierMockVersionedExecutorWorkflow) EnsureExecutorVersion(log logging.SimpleLogging, v *go_version.Version) *MockVersionedExecutorWorkflow_EnsureExecutorVersion_OngoingVerification
- func (verifier *VerifierMockVersionedExecutorWorkflow) Run(ctx command.ProjectContext, executablePath string, envs map[string]string, ...) *MockVersionedExecutorWorkflow_Run_OngoingVerification
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAsyncTFExec ¶ added in v0.22.3
type MockAsyncTFExec struct {
// contains filtered or unexported fields
}
func NewMockAsyncTFExec ¶ added in v0.22.3
func NewMockAsyncTFExec(options ...pegomock.Option) *MockAsyncTFExec
func (*MockAsyncTFExec) FailHandler ¶ added in v0.22.3
func (mock *MockAsyncTFExec) FailHandler() pegomock.FailHandler
func (*MockAsyncTFExec) RunCommandAsync ¶ added in v0.22.3
func (mock *MockAsyncTFExec) RunCommandAsync(ctx command.ProjectContext, path string, args []string, envs map[string]string, v *go_version.Version, workspace string) (chan<- string, <-chan models.Line)
func (*MockAsyncTFExec) SetFailHandler ¶ added in v0.22.3
func (mock *MockAsyncTFExec) SetFailHandler(fh pegomock.FailHandler)
func (*MockAsyncTFExec) VerifyWasCalled ¶ added in v0.22.3
func (mock *MockAsyncTFExec) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockAsyncTFExec
func (*MockAsyncTFExec) VerifyWasCalledEventually ¶ added in v0.22.3
func (mock *MockAsyncTFExec) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockAsyncTFExec
func (*MockAsyncTFExec) VerifyWasCalledInOrder ¶ added in v0.22.3
func (mock *MockAsyncTFExec) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockAsyncTFExec
func (*MockAsyncTFExec) VerifyWasCalledOnce ¶ added in v0.22.3
func (mock *MockAsyncTFExec) VerifyWasCalledOnce() *VerifierMockAsyncTFExec
type MockAsyncTFExec_RunCommandAsync_OngoingVerification ¶ added in v0.22.3
type MockAsyncTFExec_RunCommandAsync_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockAsyncTFExec_RunCommandAsync_OngoingVerification) GetAllCapturedArguments ¶ added in v0.22.3
func (c *MockAsyncTFExec_RunCommandAsync_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext, _param1 []string, _param2 [][]string, _param3 []map[string]string, _param4 []*go_version.Version, _param5 []string)
func (*MockAsyncTFExec_RunCommandAsync_OngoingVerification) GetCapturedArguments ¶ added in v0.22.3
func (c *MockAsyncTFExec_RunCommandAsync_OngoingVerification) GetCapturedArguments() (command.ProjectContext, string, []string, map[string]string, *go_version.Version, string)
type MockPostWorkflowHookRunner ¶ added in v0.18.2
type MockPostWorkflowHookRunner struct {
// contains filtered or unexported fields
}
func NewMockPostWorkflowHookRunner ¶ added in v0.18.2
func NewMockPostWorkflowHookRunner(options ...pegomock.Option) *MockPostWorkflowHookRunner
func (*MockPostWorkflowHookRunner) FailHandler ¶ added in v0.18.2
func (mock *MockPostWorkflowHookRunner) FailHandler() pegomock.FailHandler
func (*MockPostWorkflowHookRunner) Run ¶ added in v0.18.2
func (mock *MockPostWorkflowHookRunner) Run(ctx models.WorkflowHookCommandContext, command string, shell string, shellArgs string, path string) (string, string, error)
func (*MockPostWorkflowHookRunner) SetFailHandler ¶ added in v0.18.2
func (mock *MockPostWorkflowHookRunner) SetFailHandler(fh pegomock.FailHandler)
func (*MockPostWorkflowHookRunner) VerifyWasCalled ¶ added in v0.18.2
func (mock *MockPostWorkflowHookRunner) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockPostWorkflowHookRunner
func (*MockPostWorkflowHookRunner) VerifyWasCalledEventually ¶ added in v0.18.2
func (mock *MockPostWorkflowHookRunner) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockPostWorkflowHookRunner
func (*MockPostWorkflowHookRunner) VerifyWasCalledInOrder ¶ added in v0.18.2
func (mock *MockPostWorkflowHookRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockPostWorkflowHookRunner
func (*MockPostWorkflowHookRunner) VerifyWasCalledOnce ¶ added in v0.18.2
func (mock *MockPostWorkflowHookRunner) VerifyWasCalledOnce() *VerifierMockPostWorkflowHookRunner
type MockPostWorkflowHookRunner_Run_OngoingVerification ¶ added in v0.18.2
type MockPostWorkflowHookRunner_Run_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockPostWorkflowHookRunner_Run_OngoingVerification) GetAllCapturedArguments ¶ added in v0.18.2
func (c *MockPostWorkflowHookRunner_Run_OngoingVerification) GetAllCapturedArguments() (_param0 []models.WorkflowHookCommandContext, _param1 []string, _param2 []string, _param3 []string, _param4 []string)
func (*MockPostWorkflowHookRunner_Run_OngoingVerification) GetCapturedArguments ¶ added in v0.18.2
func (c *MockPostWorkflowHookRunner_Run_OngoingVerification) GetCapturedArguments() (models.WorkflowHookCommandContext, string, string, string, string)
type MockPreWorkflowHookRunner ¶
type MockPreWorkflowHookRunner struct {
// contains filtered or unexported fields
}
func NewMockPreWorkflowHookRunner ¶
func NewMockPreWorkflowHookRunner(options ...pegomock.Option) *MockPreWorkflowHookRunner
func (*MockPreWorkflowHookRunner) FailHandler ¶
func (mock *MockPreWorkflowHookRunner) FailHandler() pegomock.FailHandler
func (*MockPreWorkflowHookRunner) Run ¶
func (mock *MockPreWorkflowHookRunner) Run(ctx models.WorkflowHookCommandContext, command string, shell string, shellArgs string, path string) (string, string, error)
func (*MockPreWorkflowHookRunner) SetFailHandler ¶
func (mock *MockPreWorkflowHookRunner) SetFailHandler(fh pegomock.FailHandler)
func (*MockPreWorkflowHookRunner) VerifyWasCalled ¶
func (mock *MockPreWorkflowHookRunner) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockPreWorkflowHookRunner
func (*MockPreWorkflowHookRunner) VerifyWasCalledEventually ¶
func (mock *MockPreWorkflowHookRunner) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockPreWorkflowHookRunner
func (*MockPreWorkflowHookRunner) VerifyWasCalledInOrder ¶
func (mock *MockPreWorkflowHookRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockPreWorkflowHookRunner
func (*MockPreWorkflowHookRunner) VerifyWasCalledOnce ¶
func (mock *MockPreWorkflowHookRunner) VerifyWasCalledOnce() *VerifierMockPreWorkflowHookRunner
type MockPreWorkflowHookRunner_Run_OngoingVerification ¶
type MockPreWorkflowHookRunner_Run_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockPreWorkflowHookRunner_Run_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockPreWorkflowHookRunner_Run_OngoingVerification) GetAllCapturedArguments() (_param0 []models.WorkflowHookCommandContext, _param1 []string, _param2 []string, _param3 []string, _param4 []string)
func (*MockPreWorkflowHookRunner_Run_OngoingVerification) GetCapturedArguments ¶
func (c *MockPreWorkflowHookRunner_Run_OngoingVerification) GetCapturedArguments() (models.WorkflowHookCommandContext, string, string, string, string)
type MockPullApprovedChecker ¶
type MockPullApprovedChecker struct {
// contains filtered or unexported fields
}
func NewMockPullApprovedChecker ¶
func NewMockPullApprovedChecker(options ...pegomock.Option) *MockPullApprovedChecker
func (*MockPullApprovedChecker) FailHandler ¶
func (mock *MockPullApprovedChecker) FailHandler() pegomock.FailHandler
func (*MockPullApprovedChecker) PullIsApproved ¶
func (mock *MockPullApprovedChecker) PullIsApproved(baseRepo models.Repo, pull models.PullRequest) (models.ApprovalStatus, error)
func (*MockPullApprovedChecker) SetFailHandler ¶
func (mock *MockPullApprovedChecker) SetFailHandler(fh pegomock.FailHandler)
func (*MockPullApprovedChecker) VerifyWasCalled ¶
func (mock *MockPullApprovedChecker) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockPullApprovedChecker
func (*MockPullApprovedChecker) VerifyWasCalledEventually ¶
func (mock *MockPullApprovedChecker) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockPullApprovedChecker
func (*MockPullApprovedChecker) VerifyWasCalledInOrder ¶
func (mock *MockPullApprovedChecker) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockPullApprovedChecker
func (*MockPullApprovedChecker) VerifyWasCalledOnce ¶
func (mock *MockPullApprovedChecker) VerifyWasCalledOnce() *VerifierMockPullApprovedChecker
type MockPullApprovedChecker_PullIsApproved_OngoingVerification ¶
type MockPullApprovedChecker_PullIsApproved_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockPullApprovedChecker_PullIsApproved_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockPullApprovedChecker_PullIsApproved_OngoingVerification) GetAllCapturedArguments() (_param0 []models.Repo, _param1 []models.PullRequest)
func (*MockPullApprovedChecker_PullIsApproved_OngoingVerification) GetCapturedArguments ¶
func (c *MockPullApprovedChecker_PullIsApproved_OngoingVerification) GetCapturedArguments() (models.Repo, models.PullRequest)
type MockRunner ¶
type MockRunner struct {
// contains filtered or unexported fields
}
func NewMockRunner ¶
func NewMockRunner(options ...pegomock.Option) *MockRunner
func (*MockRunner) FailHandler ¶
func (mock *MockRunner) FailHandler() pegomock.FailHandler
func (*MockRunner) Run ¶
func (mock *MockRunner) Run(ctx command.ProjectContext, extraArgs []string, path string, envs map[string]string) (string, error)
func (*MockRunner) SetFailHandler ¶
func (mock *MockRunner) SetFailHandler(fh pegomock.FailHandler)
func (*MockRunner) VerifyWasCalled ¶
func (mock *MockRunner) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockRunner
func (*MockRunner) VerifyWasCalledEventually ¶
func (mock *MockRunner) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockRunner
func (*MockRunner) VerifyWasCalledInOrder ¶
func (mock *MockRunner) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockRunner
func (*MockRunner) VerifyWasCalledOnce ¶
func (mock *MockRunner) VerifyWasCalledOnce() *VerifierMockRunner
type MockRunner_Run_OngoingVerification ¶
type MockRunner_Run_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockRunner_Run_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockRunner_Run_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext, _param1 [][]string, _param2 []string, _param3 []map[string]string)
func (*MockRunner_Run_OngoingVerification) GetCapturedArguments ¶
func (c *MockRunner_Run_OngoingVerification) GetCapturedArguments() (command.ProjectContext, []string, string, map[string]string)
type MockStatusUpdater ¶ added in v0.22.3
type MockStatusUpdater struct {
// contains filtered or unexported fields
}
func NewMockStatusUpdater ¶ added in v0.22.3
func NewMockStatusUpdater(options ...pegomock.Option) *MockStatusUpdater
func (*MockStatusUpdater) FailHandler ¶ added in v0.22.3
func (mock *MockStatusUpdater) FailHandler() pegomock.FailHandler
func (*MockStatusUpdater) SetFailHandler ¶ added in v0.22.3
func (mock *MockStatusUpdater) SetFailHandler(fh pegomock.FailHandler)
func (*MockStatusUpdater) UpdateProject ¶ added in v0.22.3
func (mock *MockStatusUpdater) UpdateProject(ctx command.ProjectContext, cmdName command.Name, status models.CommitStatus, url string, res *command.ProjectResult) error
func (*MockStatusUpdater) VerifyWasCalled ¶ added in v0.22.3
func (mock *MockStatusUpdater) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockStatusUpdater
func (*MockStatusUpdater) VerifyWasCalledEventually ¶ added in v0.22.3
func (mock *MockStatusUpdater) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockStatusUpdater
func (*MockStatusUpdater) VerifyWasCalledInOrder ¶ added in v0.22.3
func (mock *MockStatusUpdater) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockStatusUpdater
func (*MockStatusUpdater) VerifyWasCalledOnce ¶ added in v0.22.3
func (mock *MockStatusUpdater) VerifyWasCalledOnce() *VerifierMockStatusUpdater
type MockStatusUpdater_UpdateProject_OngoingVerification ¶ added in v0.22.3
type MockStatusUpdater_UpdateProject_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockStatusUpdater_UpdateProject_OngoingVerification) GetAllCapturedArguments ¶ added in v0.22.3
func (c *MockStatusUpdater_UpdateProject_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext, _param1 []command.Name, _param2 []models.CommitStatus, _param3 []string, _param4 []*command.ProjectResult)
func (*MockStatusUpdater_UpdateProject_OngoingVerification) GetCapturedArguments ¶ added in v0.22.3
func (c *MockStatusUpdater_UpdateProject_OngoingVerification) GetCapturedArguments() (command.ProjectContext, command.Name, models.CommitStatus, string, *command.ProjectResult)
type MockVersionedExecutorWorkflow ¶
type MockVersionedExecutorWorkflow struct {
// contains filtered or unexported fields
}
func NewMockVersionedExecutorWorkflow ¶
func NewMockVersionedExecutorWorkflow(options ...pegomock.Option) *MockVersionedExecutorWorkflow
func (*MockVersionedExecutorWorkflow) EnsureExecutorVersion ¶
func (mock *MockVersionedExecutorWorkflow) EnsureExecutorVersion(log logging.SimpleLogging, v *go_version.Version) (string, error)
func (*MockVersionedExecutorWorkflow) FailHandler ¶
func (mock *MockVersionedExecutorWorkflow) FailHandler() pegomock.FailHandler
func (*MockVersionedExecutorWorkflow) Run ¶
func (mock *MockVersionedExecutorWorkflow) Run(ctx command.ProjectContext, executablePath string, envs map[string]string, workdir string, extraArgs []string) (string, error)
func (*MockVersionedExecutorWorkflow) SetFailHandler ¶
func (mock *MockVersionedExecutorWorkflow) SetFailHandler(fh pegomock.FailHandler)
func (*MockVersionedExecutorWorkflow) VerifyWasCalled ¶
func (mock *MockVersionedExecutorWorkflow) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockVersionedExecutorWorkflow
func (*MockVersionedExecutorWorkflow) VerifyWasCalledEventually ¶
func (mock *MockVersionedExecutorWorkflow) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockVersionedExecutorWorkflow
func (*MockVersionedExecutorWorkflow) VerifyWasCalledInOrder ¶
func (mock *MockVersionedExecutorWorkflow) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockVersionedExecutorWorkflow
func (*MockVersionedExecutorWorkflow) VerifyWasCalledOnce ¶
func (mock *MockVersionedExecutorWorkflow) VerifyWasCalledOnce() *VerifierMockVersionedExecutorWorkflow
type MockVersionedExecutorWorkflow_EnsureExecutorVersion_OngoingVerification ¶
type MockVersionedExecutorWorkflow_EnsureExecutorVersion_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockVersionedExecutorWorkflow_EnsureExecutorVersion_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockVersionedExecutorWorkflow_EnsureExecutorVersion_OngoingVerification) GetAllCapturedArguments() (_param0 []logging.SimpleLogging, _param1 []*go_version.Version)
func (*MockVersionedExecutorWorkflow_EnsureExecutorVersion_OngoingVerification) GetCapturedArguments ¶
func (c *MockVersionedExecutorWorkflow_EnsureExecutorVersion_OngoingVerification) GetCapturedArguments() (logging.SimpleLogging, *go_version.Version)
type MockVersionedExecutorWorkflow_Run_OngoingVerification ¶
type MockVersionedExecutorWorkflow_Run_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockVersionedExecutorWorkflow_Run_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockVersionedExecutorWorkflow_Run_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext, _param1 []string, _param2 []map[string]string, _param3 []string, _param4 [][]string)
func (*MockVersionedExecutorWorkflow_Run_OngoingVerification) GetCapturedArguments ¶
func (c *MockVersionedExecutorWorkflow_Run_OngoingVerification) GetCapturedArguments() (command.ProjectContext, string, map[string]string, string, []string)
type VerifierMockAsyncTFExec ¶ added in v0.22.3
type VerifierMockAsyncTFExec struct {
// contains filtered or unexported fields
}
func (*VerifierMockAsyncTFExec) RunCommandAsync ¶ added in v0.22.3
func (verifier *VerifierMockAsyncTFExec) RunCommandAsync(ctx command.ProjectContext, path string, args []string, envs map[string]string, v *go_version.Version, workspace string) *MockAsyncTFExec_RunCommandAsync_OngoingVerification
type VerifierMockPostWorkflowHookRunner ¶ added in v0.18.2
type VerifierMockPostWorkflowHookRunner struct {
// contains filtered or unexported fields
}
func (*VerifierMockPostWorkflowHookRunner) Run ¶ added in v0.18.2
func (verifier *VerifierMockPostWorkflowHookRunner) Run(ctx models.WorkflowHookCommandContext, command string, shell string, shellArgs string, path string) *MockPostWorkflowHookRunner_Run_OngoingVerification
type VerifierMockPreWorkflowHookRunner ¶
type VerifierMockPreWorkflowHookRunner struct {
// contains filtered or unexported fields
}
func (*VerifierMockPreWorkflowHookRunner) Run ¶
func (verifier *VerifierMockPreWorkflowHookRunner) Run(ctx models.WorkflowHookCommandContext, command string, shell string, shellArgs string, path string) *MockPreWorkflowHookRunner_Run_OngoingVerification
type VerifierMockPullApprovedChecker ¶
type VerifierMockPullApprovedChecker struct {
// contains filtered or unexported fields
}
func (*VerifierMockPullApprovedChecker) PullIsApproved ¶
func (verifier *VerifierMockPullApprovedChecker) PullIsApproved(baseRepo models.Repo, pull models.PullRequest) *MockPullApprovedChecker_PullIsApproved_OngoingVerification
type VerifierMockRunner ¶
type VerifierMockRunner struct {
// contains filtered or unexported fields
}
func (*VerifierMockRunner) Run ¶
func (verifier *VerifierMockRunner) Run(ctx command.ProjectContext, extraArgs []string, path string, envs map[string]string) *MockRunner_Run_OngoingVerification
type VerifierMockStatusUpdater ¶ added in v0.22.3
type VerifierMockStatusUpdater struct {
// contains filtered or unexported fields
}
func (*VerifierMockStatusUpdater) UpdateProject ¶ added in v0.22.3
func (verifier *VerifierMockStatusUpdater) UpdateProject(ctx command.ProjectContext, cmdName command.Name, status models.CommitStatus, url string, res *command.ProjectResult) *MockStatusUpdater_UpdateProject_OngoingVerification
type VerifierMockVersionedExecutorWorkflow ¶
type VerifierMockVersionedExecutorWorkflow struct {
// contains filtered or unexported fields
}
func (*VerifierMockVersionedExecutorWorkflow) EnsureExecutorVersion ¶
func (verifier *VerifierMockVersionedExecutorWorkflow) EnsureExecutorVersion(log logging.SimpleLogging, v *go_version.Version) *MockVersionedExecutorWorkflow_EnsureExecutorVersion_OngoingVerification
func (*VerifierMockVersionedExecutorWorkflow) Run ¶
func (verifier *VerifierMockVersionedExecutorWorkflow) Run(ctx command.ProjectContext, executablePath string, envs map[string]string, workdir string, extraArgs []string) *MockVersionedExecutorWorkflow_Run_OngoingVerification
Click to show internal directories.
Click to hide internal directories.