Documentation ¶
Index ¶
- type MockProjectCommandOutputHandler
- func (mock *MockProjectCommandOutputHandler) CleanUp(pullInfo jobs.PullInfo)
- func (mock *MockProjectCommandOutputHandler) Deregister(jobID string, receiver chan string)
- func (mock *MockProjectCommandOutputHandler) FailHandler() pegomock.FailHandler
- func (mock *MockProjectCommandOutputHandler) Handle()
- func (mock *MockProjectCommandOutputHandler) IsKeyExists(key string) bool
- func (mock *MockProjectCommandOutputHandler) Register(jobID string, receiver chan string)
- func (mock *MockProjectCommandOutputHandler) Send(ctx command.ProjectContext, msg string, operationComplete bool)
- func (mock *MockProjectCommandOutputHandler) SendWorkflowHook(ctx models.WorkflowHookCommandContext, msg string, operationComplete bool)
- func (mock *MockProjectCommandOutputHandler) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockProjectCommandOutputHandler) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockProjectCommandOutputHandler
- func (mock *MockProjectCommandOutputHandler) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockProjectCommandOutputHandler
- func (mock *MockProjectCommandOutputHandler) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockProjectCommandOutputHandler
- func (mock *MockProjectCommandOutputHandler) VerifyWasCalledOnce() *VerifierMockProjectCommandOutputHandler
- type MockProjectCommandOutputHandler_CleanUp_OngoingVerification
- type MockProjectCommandOutputHandler_Deregister_OngoingVerification
- type MockProjectCommandOutputHandler_Handle_OngoingVerification
- type MockProjectCommandOutputHandler_IsKeyExists_OngoingVerification
- type MockProjectCommandOutputHandler_Register_OngoingVerification
- type MockProjectCommandOutputHandler_SendWorkflowHook_OngoingVerification
- func (c *MockProjectCommandOutputHandler_SendWorkflowHook_OngoingVerification) GetAllCapturedArguments() (_param0 []models.WorkflowHookCommandContext, _param1 []string, _param2 []bool)
- func (c *MockProjectCommandOutputHandler_SendWorkflowHook_OngoingVerification) GetCapturedArguments() (models.WorkflowHookCommandContext, string, bool)
- type MockProjectCommandOutputHandler_Send_OngoingVerification
- type MockProjectJobURLGenerator
- func (mock *MockProjectJobURLGenerator) FailHandler() pegomock.FailHandler
- func (mock *MockProjectJobURLGenerator) GenerateProjectJobURL(p command.ProjectContext) (string, error)
- func (mock *MockProjectJobURLGenerator) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockProjectJobURLGenerator) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockProjectJobURLGenerator
- func (mock *MockProjectJobURLGenerator) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockProjectJobURLGenerator
- func (mock *MockProjectJobURLGenerator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockProjectJobURLGenerator
- func (mock *MockProjectJobURLGenerator) VerifyWasCalledOnce() *VerifierMockProjectJobURLGenerator
- type MockProjectJobURLGenerator_GenerateProjectJobURL_OngoingVerification
- type MockProjectStatusUpdater
- func (mock *MockProjectStatusUpdater) FailHandler() pegomock.FailHandler
- func (mock *MockProjectStatusUpdater) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockProjectStatusUpdater) UpdateProject(ctx command.ProjectContext, cmdName command.Name, status models.CommitStatus, ...) error
- func (mock *MockProjectStatusUpdater) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockProjectStatusUpdater
- func (mock *MockProjectStatusUpdater) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockProjectStatusUpdater
- func (mock *MockProjectStatusUpdater) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockProjectStatusUpdater
- func (mock *MockProjectStatusUpdater) VerifyWasCalledOnce() *VerifierMockProjectStatusUpdater
- type MockProjectStatusUpdater_UpdateProject_OngoingVerification
- func (c *MockProjectStatusUpdater_UpdateProject_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext, _param1 []command.Name, ...)
- func (c *MockProjectStatusUpdater_UpdateProject_OngoingVerification) GetCapturedArguments() (command.ProjectContext, command.Name, models.CommitStatus, string, ...)
- type VerifierMockProjectCommandOutputHandler
- func (verifier *VerifierMockProjectCommandOutputHandler) CleanUp(pullInfo jobs.PullInfo) *MockProjectCommandOutputHandler_CleanUp_OngoingVerification
- func (verifier *VerifierMockProjectCommandOutputHandler) Deregister(jobID string, receiver chan string) *MockProjectCommandOutputHandler_Deregister_OngoingVerification
- func (verifier *VerifierMockProjectCommandOutputHandler) Handle() *MockProjectCommandOutputHandler_Handle_OngoingVerification
- func (verifier *VerifierMockProjectCommandOutputHandler) IsKeyExists(key string) *MockProjectCommandOutputHandler_IsKeyExists_OngoingVerification
- func (verifier *VerifierMockProjectCommandOutputHandler) Register(jobID string, receiver chan string) *MockProjectCommandOutputHandler_Register_OngoingVerification
- func (verifier *VerifierMockProjectCommandOutputHandler) Send(ctx command.ProjectContext, msg string, operationComplete bool) *MockProjectCommandOutputHandler_Send_OngoingVerification
- func (verifier *VerifierMockProjectCommandOutputHandler) SendWorkflowHook(ctx models.WorkflowHookCommandContext, msg string, operationComplete bool) *MockProjectCommandOutputHandler_SendWorkflowHook_OngoingVerification
- type VerifierMockProjectJobURLGenerator
- type VerifierMockProjectStatusUpdater
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProjectCommandOutputHandler ¶
type MockProjectCommandOutputHandler struct {
// contains filtered or unexported fields
}
func NewMockProjectCommandOutputHandler ¶
func NewMockProjectCommandOutputHandler(options ...pegomock.Option) *MockProjectCommandOutputHandler
func (*MockProjectCommandOutputHandler) CleanUp ¶
func (mock *MockProjectCommandOutputHandler) CleanUp(pullInfo jobs.PullInfo)
func (*MockProjectCommandOutputHandler) Deregister ¶
func (mock *MockProjectCommandOutputHandler) Deregister(jobID string, receiver chan string)
func (*MockProjectCommandOutputHandler) FailHandler ¶
func (mock *MockProjectCommandOutputHandler) FailHandler() pegomock.FailHandler
func (*MockProjectCommandOutputHandler) Handle ¶
func (mock *MockProjectCommandOutputHandler) Handle()
func (*MockProjectCommandOutputHandler) IsKeyExists ¶
func (mock *MockProjectCommandOutputHandler) IsKeyExists(key string) bool
func (*MockProjectCommandOutputHandler) Register ¶
func (mock *MockProjectCommandOutputHandler) Register(jobID string, receiver chan string)
func (*MockProjectCommandOutputHandler) Send ¶
func (mock *MockProjectCommandOutputHandler) Send(ctx command.ProjectContext, msg string, operationComplete bool)
func (*MockProjectCommandOutputHandler) SendWorkflowHook ¶ added in v0.22.0
func (mock *MockProjectCommandOutputHandler) SendWorkflowHook(ctx models.WorkflowHookCommandContext, msg string, operationComplete bool)
func (*MockProjectCommandOutputHandler) SetFailHandler ¶
func (mock *MockProjectCommandOutputHandler) SetFailHandler(fh pegomock.FailHandler)
func (*MockProjectCommandOutputHandler) VerifyWasCalled ¶
func (mock *MockProjectCommandOutputHandler) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockProjectCommandOutputHandler
func (*MockProjectCommandOutputHandler) VerifyWasCalledEventually ¶
func (mock *MockProjectCommandOutputHandler) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockProjectCommandOutputHandler
func (*MockProjectCommandOutputHandler) VerifyWasCalledInOrder ¶
func (mock *MockProjectCommandOutputHandler) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockProjectCommandOutputHandler
func (*MockProjectCommandOutputHandler) VerifyWasCalledOnce ¶
func (mock *MockProjectCommandOutputHandler) VerifyWasCalledOnce() *VerifierMockProjectCommandOutputHandler
type MockProjectCommandOutputHandler_CleanUp_OngoingVerification ¶
type MockProjectCommandOutputHandler_CleanUp_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockProjectCommandOutputHandler_CleanUp_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockProjectCommandOutputHandler_CleanUp_OngoingVerification) GetAllCapturedArguments() (_param0 []jobs.PullInfo)
func (*MockProjectCommandOutputHandler_CleanUp_OngoingVerification) GetCapturedArguments ¶
func (c *MockProjectCommandOutputHandler_CleanUp_OngoingVerification) GetCapturedArguments() jobs.PullInfo
type MockProjectCommandOutputHandler_Deregister_OngoingVerification ¶
type MockProjectCommandOutputHandler_Deregister_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockProjectCommandOutputHandler_Deregister_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockProjectCommandOutputHandler_Deregister_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []chan string)
func (*MockProjectCommandOutputHandler_Deregister_OngoingVerification) GetCapturedArguments ¶
func (c *MockProjectCommandOutputHandler_Deregister_OngoingVerification) GetCapturedArguments() (string, chan string)
type MockProjectCommandOutputHandler_Handle_OngoingVerification ¶
type MockProjectCommandOutputHandler_Handle_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockProjectCommandOutputHandler_Handle_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockProjectCommandOutputHandler_Handle_OngoingVerification) GetAllCapturedArguments()
func (*MockProjectCommandOutputHandler_Handle_OngoingVerification) GetCapturedArguments ¶
func (c *MockProjectCommandOutputHandler_Handle_OngoingVerification) GetCapturedArguments()
type MockProjectCommandOutputHandler_IsKeyExists_OngoingVerification ¶
type MockProjectCommandOutputHandler_IsKeyExists_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockProjectCommandOutputHandler_IsKeyExists_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockProjectCommandOutputHandler_IsKeyExists_OngoingVerification) GetAllCapturedArguments() (_param0 []string)
func (*MockProjectCommandOutputHandler_IsKeyExists_OngoingVerification) GetCapturedArguments ¶
func (c *MockProjectCommandOutputHandler_IsKeyExists_OngoingVerification) GetCapturedArguments() string
type MockProjectCommandOutputHandler_Register_OngoingVerification ¶
type MockProjectCommandOutputHandler_Register_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockProjectCommandOutputHandler_Register_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockProjectCommandOutputHandler_Register_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []chan string)
func (*MockProjectCommandOutputHandler_Register_OngoingVerification) GetCapturedArguments ¶
func (c *MockProjectCommandOutputHandler_Register_OngoingVerification) GetCapturedArguments() (string, chan string)
type MockProjectCommandOutputHandler_SendWorkflowHook_OngoingVerification ¶ added in v0.22.0
type MockProjectCommandOutputHandler_SendWorkflowHook_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockProjectCommandOutputHandler_SendWorkflowHook_OngoingVerification) GetAllCapturedArguments ¶ added in v0.22.0
func (c *MockProjectCommandOutputHandler_SendWorkflowHook_OngoingVerification) GetAllCapturedArguments() (_param0 []models.WorkflowHookCommandContext, _param1 []string, _param2 []bool)
func (*MockProjectCommandOutputHandler_SendWorkflowHook_OngoingVerification) GetCapturedArguments ¶ added in v0.22.0
func (c *MockProjectCommandOutputHandler_SendWorkflowHook_OngoingVerification) GetCapturedArguments() (models.WorkflowHookCommandContext, string, bool)
type MockProjectCommandOutputHandler_Send_OngoingVerification ¶
type MockProjectCommandOutputHandler_Send_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockProjectCommandOutputHandler_Send_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockProjectCommandOutputHandler_Send_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext, _param1 []string, _param2 []bool)
func (*MockProjectCommandOutputHandler_Send_OngoingVerification) GetCapturedArguments ¶
func (c *MockProjectCommandOutputHandler_Send_OngoingVerification) GetCapturedArguments() (command.ProjectContext, string, bool)
type MockProjectJobURLGenerator ¶
type MockProjectJobURLGenerator struct {
// contains filtered or unexported fields
}
func NewMockProjectJobURLGenerator ¶
func NewMockProjectJobURLGenerator(options ...pegomock.Option) *MockProjectJobURLGenerator
func (*MockProjectJobURLGenerator) FailHandler ¶
func (mock *MockProjectJobURLGenerator) FailHandler() pegomock.FailHandler
func (*MockProjectJobURLGenerator) GenerateProjectJobURL ¶
func (mock *MockProjectJobURLGenerator) GenerateProjectJobURL(p command.ProjectContext) (string, error)
func (*MockProjectJobURLGenerator) SetFailHandler ¶
func (mock *MockProjectJobURLGenerator) SetFailHandler(fh pegomock.FailHandler)
func (*MockProjectJobURLGenerator) VerifyWasCalled ¶
func (mock *MockProjectJobURLGenerator) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockProjectJobURLGenerator
func (*MockProjectJobURLGenerator) VerifyWasCalledEventually ¶
func (mock *MockProjectJobURLGenerator) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockProjectJobURLGenerator
func (*MockProjectJobURLGenerator) VerifyWasCalledInOrder ¶
func (mock *MockProjectJobURLGenerator) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockProjectJobURLGenerator
func (*MockProjectJobURLGenerator) VerifyWasCalledOnce ¶
func (mock *MockProjectJobURLGenerator) VerifyWasCalledOnce() *VerifierMockProjectJobURLGenerator
type MockProjectJobURLGenerator_GenerateProjectJobURL_OngoingVerification ¶
type MockProjectJobURLGenerator_GenerateProjectJobURL_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockProjectJobURLGenerator_GenerateProjectJobURL_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockProjectJobURLGenerator_GenerateProjectJobURL_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext)
func (*MockProjectJobURLGenerator_GenerateProjectJobURL_OngoingVerification) GetCapturedArguments ¶
func (c *MockProjectJobURLGenerator_GenerateProjectJobURL_OngoingVerification) GetCapturedArguments() command.ProjectContext
type MockProjectStatusUpdater ¶
type MockProjectStatusUpdater struct {
// contains filtered or unexported fields
}
func NewMockProjectStatusUpdater ¶
func NewMockProjectStatusUpdater(options ...pegomock.Option) *MockProjectStatusUpdater
func (*MockProjectStatusUpdater) FailHandler ¶
func (mock *MockProjectStatusUpdater) FailHandler() pegomock.FailHandler
func (*MockProjectStatusUpdater) SetFailHandler ¶
func (mock *MockProjectStatusUpdater) SetFailHandler(fh pegomock.FailHandler)
func (*MockProjectStatusUpdater) UpdateProject ¶
func (mock *MockProjectStatusUpdater) UpdateProject(ctx command.ProjectContext, cmdName command.Name, status models.CommitStatus, url string, result *command.ProjectResult) error
func (*MockProjectStatusUpdater) VerifyWasCalled ¶
func (mock *MockProjectStatusUpdater) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockProjectStatusUpdater
func (*MockProjectStatusUpdater) VerifyWasCalledEventually ¶
func (mock *MockProjectStatusUpdater) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockProjectStatusUpdater
func (*MockProjectStatusUpdater) VerifyWasCalledInOrder ¶
func (mock *MockProjectStatusUpdater) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockProjectStatusUpdater
func (*MockProjectStatusUpdater) VerifyWasCalledOnce ¶
func (mock *MockProjectStatusUpdater) VerifyWasCalledOnce() *VerifierMockProjectStatusUpdater
type MockProjectStatusUpdater_UpdateProject_OngoingVerification ¶
type MockProjectStatusUpdater_UpdateProject_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockProjectStatusUpdater_UpdateProject_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockProjectStatusUpdater_UpdateProject_OngoingVerification) GetAllCapturedArguments() (_param0 []command.ProjectContext, _param1 []command.Name, _param2 []models.CommitStatus, _param3 []string, _param4 []*command.ProjectResult)
func (*MockProjectStatusUpdater_UpdateProject_OngoingVerification) GetCapturedArguments ¶
func (c *MockProjectStatusUpdater_UpdateProject_OngoingVerification) GetCapturedArguments() (command.ProjectContext, command.Name, models.CommitStatus, string, *command.ProjectResult)
type VerifierMockProjectCommandOutputHandler ¶
type VerifierMockProjectCommandOutputHandler struct {
// contains filtered or unexported fields
}
func (*VerifierMockProjectCommandOutputHandler) CleanUp ¶
func (verifier *VerifierMockProjectCommandOutputHandler) CleanUp(pullInfo jobs.PullInfo) *MockProjectCommandOutputHandler_CleanUp_OngoingVerification
func (*VerifierMockProjectCommandOutputHandler) Deregister ¶
func (verifier *VerifierMockProjectCommandOutputHandler) Deregister(jobID string, receiver chan string) *MockProjectCommandOutputHandler_Deregister_OngoingVerification
func (*VerifierMockProjectCommandOutputHandler) Handle ¶
func (verifier *VerifierMockProjectCommandOutputHandler) Handle() *MockProjectCommandOutputHandler_Handle_OngoingVerification
func (*VerifierMockProjectCommandOutputHandler) IsKeyExists ¶
func (verifier *VerifierMockProjectCommandOutputHandler) IsKeyExists(key string) *MockProjectCommandOutputHandler_IsKeyExists_OngoingVerification
func (*VerifierMockProjectCommandOutputHandler) Register ¶
func (verifier *VerifierMockProjectCommandOutputHandler) Register(jobID string, receiver chan string) *MockProjectCommandOutputHandler_Register_OngoingVerification
func (*VerifierMockProjectCommandOutputHandler) Send ¶
func (verifier *VerifierMockProjectCommandOutputHandler) Send(ctx command.ProjectContext, msg string, operationComplete bool) *MockProjectCommandOutputHandler_Send_OngoingVerification
func (*VerifierMockProjectCommandOutputHandler) SendWorkflowHook ¶ added in v0.22.0
func (verifier *VerifierMockProjectCommandOutputHandler) SendWorkflowHook(ctx models.WorkflowHookCommandContext, msg string, operationComplete bool) *MockProjectCommandOutputHandler_SendWorkflowHook_OngoingVerification
type VerifierMockProjectJobURLGenerator ¶
type VerifierMockProjectJobURLGenerator struct {
// contains filtered or unexported fields
}
func (*VerifierMockProjectJobURLGenerator) GenerateProjectJobURL ¶
func (verifier *VerifierMockProjectJobURLGenerator) GenerateProjectJobURL(p command.ProjectContext) *MockProjectJobURLGenerator_GenerateProjectJobURL_OngoingVerification
type VerifierMockProjectStatusUpdater ¶
type VerifierMockProjectStatusUpdater struct {
// contains filtered or unexported fields
}
func (*VerifierMockProjectStatusUpdater) UpdateProject ¶
func (verifier *VerifierMockProjectStatusUpdater) UpdateProject(ctx command.ProjectContext, cmdName command.Name, status models.CommitStatus, url string, result *command.ProjectResult) *MockProjectStatusUpdater_UpdateProject_OngoingVerification
Click to show internal directories.
Click to hide internal directories.