Documentation ¶
Index ¶
- type MockProjectCommandOutputHandler
- func (mock *MockProjectCommandOutputHandler) CleanUp(_param0 jobs.PullInfo)
- func (mock *MockProjectCommandOutputHandler) Deregister(_param0 string, _param1 chan string)
- func (mock *MockProjectCommandOutputHandler) FailHandler() pegomock.FailHandler
- func (mock *MockProjectCommandOutputHandler) Handle()
- func (mock *MockProjectCommandOutputHandler) IsKeyExists(_param0 string) bool
- func (mock *MockProjectCommandOutputHandler) Register(_param0 string, _param1 chan string)
- func (mock *MockProjectCommandOutputHandler) Send(_param0 models.ProjectCommandContext, _param1 string, _param2 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_Send_OngoingVerification
- func (c *MockProjectCommandOutputHandler_Send_OngoingVerification) GetAllCapturedArguments() (_param0 []models.ProjectCommandContext, _param1 []string, _param2 []bool)
- func (c *MockProjectCommandOutputHandler_Send_OngoingVerification) GetCapturedArguments() (models.ProjectCommandContext, string, bool)
- type MockProjectJobURLGenerator
- func (mock *MockProjectJobURLGenerator) FailHandler() pegomock.FailHandler
- func (mock *MockProjectJobURLGenerator) GenerateProjectJobURL(_param0 models.ProjectCommandContext) (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(_param0 models.ProjectCommandContext, _param1 models.CommandName, ...) 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 []models.ProjectCommandContext, _param1 []models.CommandName, ...)
- func (c *MockProjectStatusUpdater_UpdateProject_OngoingVerification) GetCapturedArguments() (models.ProjectCommandContext, models.CommandName, models.CommitStatus, string)
- type VerifierMockProjectCommandOutputHandler
- func (verifier *VerifierMockProjectCommandOutputHandler) CleanUp(_param0 jobs.PullInfo) *MockProjectCommandOutputHandler_CleanUp_OngoingVerification
- func (verifier *VerifierMockProjectCommandOutputHandler) Deregister(_param0 string, _param1 chan string) *MockProjectCommandOutputHandler_Deregister_OngoingVerification
- func (verifier *VerifierMockProjectCommandOutputHandler) Handle() *MockProjectCommandOutputHandler_Handle_OngoingVerification
- func (verifier *VerifierMockProjectCommandOutputHandler) IsKeyExists(_param0 string) *MockProjectCommandOutputHandler_IsKeyExists_OngoingVerification
- func (verifier *VerifierMockProjectCommandOutputHandler) Register(_param0 string, _param1 chan string) *MockProjectCommandOutputHandler_Register_OngoingVerification
- func (verifier *VerifierMockProjectCommandOutputHandler) Send(_param0 models.ProjectCommandContext, _param1 string, _param2 bool) *MockProjectCommandOutputHandler_Send_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(_param0 jobs.PullInfo)
func (*MockProjectCommandOutputHandler) Deregister ¶
func (mock *MockProjectCommandOutputHandler) Deregister(_param0 string, _param1 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(_param0 string) bool
func (*MockProjectCommandOutputHandler) Register ¶
func (mock *MockProjectCommandOutputHandler) Register(_param0 string, _param1 chan string)
func (*MockProjectCommandOutputHandler) Send ¶
func (mock *MockProjectCommandOutputHandler) Send(_param0 models.ProjectCommandContext, _param1 string, _param2 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_Send_OngoingVerification ¶
type MockProjectCommandOutputHandler_Send_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockProjectCommandOutputHandler_Send_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockProjectCommandOutputHandler_Send_OngoingVerification) GetAllCapturedArguments() (_param0 []models.ProjectCommandContext, _param1 []string, _param2 []bool)
func (*MockProjectCommandOutputHandler_Send_OngoingVerification) GetCapturedArguments ¶
func (c *MockProjectCommandOutputHandler_Send_OngoingVerification) GetCapturedArguments() (models.ProjectCommandContext, 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(_param0 models.ProjectCommandContext) (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 []models.ProjectCommandContext)
func (*MockProjectJobURLGenerator_GenerateProjectJobURL_OngoingVerification) GetCapturedArguments ¶
func (c *MockProjectJobURLGenerator_GenerateProjectJobURL_OngoingVerification) GetCapturedArguments() models.ProjectCommandContext
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(_param0 models.ProjectCommandContext, _param1 models.CommandName, _param2 models.CommitStatus, _param3 string) 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 []models.ProjectCommandContext, _param1 []models.CommandName, _param2 []models.CommitStatus, _param3 []string)
func (*MockProjectStatusUpdater_UpdateProject_OngoingVerification) GetCapturedArguments ¶
func (c *MockProjectStatusUpdater_UpdateProject_OngoingVerification) GetCapturedArguments() (models.ProjectCommandContext, models.CommandName, models.CommitStatus, string)
type VerifierMockProjectCommandOutputHandler ¶
type VerifierMockProjectCommandOutputHandler struct {
// contains filtered or unexported fields
}
func (*VerifierMockProjectCommandOutputHandler) CleanUp ¶
func (verifier *VerifierMockProjectCommandOutputHandler) CleanUp(_param0 jobs.PullInfo) *MockProjectCommandOutputHandler_CleanUp_OngoingVerification
func (*VerifierMockProjectCommandOutputHandler) Deregister ¶
func (verifier *VerifierMockProjectCommandOutputHandler) Deregister(_param0 string, _param1 chan string) *MockProjectCommandOutputHandler_Deregister_OngoingVerification
func (*VerifierMockProjectCommandOutputHandler) Handle ¶
func (verifier *VerifierMockProjectCommandOutputHandler) Handle() *MockProjectCommandOutputHandler_Handle_OngoingVerification
func (*VerifierMockProjectCommandOutputHandler) IsKeyExists ¶
func (verifier *VerifierMockProjectCommandOutputHandler) IsKeyExists(_param0 string) *MockProjectCommandOutputHandler_IsKeyExists_OngoingVerification
func (*VerifierMockProjectCommandOutputHandler) Register ¶
func (verifier *VerifierMockProjectCommandOutputHandler) Register(_param0 string, _param1 chan string) *MockProjectCommandOutputHandler_Register_OngoingVerification
func (*VerifierMockProjectCommandOutputHandler) Send ¶
func (verifier *VerifierMockProjectCommandOutputHandler) Send(_param0 models.ProjectCommandContext, _param1 string, _param2 bool) *MockProjectCommandOutputHandler_Send_OngoingVerification
type VerifierMockProjectJobURLGenerator ¶
type VerifierMockProjectJobURLGenerator struct {
// contains filtered or unexported fields
}
func (*VerifierMockProjectJobURLGenerator) GenerateProjectJobURL ¶
func (verifier *VerifierMockProjectJobURLGenerator) GenerateProjectJobURL(_param0 models.ProjectCommandContext) *MockProjectJobURLGenerator_GenerateProjectJobURL_OngoingVerification
type VerifierMockProjectStatusUpdater ¶
type VerifierMockProjectStatusUpdater struct {
// contains filtered or unexported fields
}
func (*VerifierMockProjectStatusUpdater) UpdateProject ¶
func (verifier *VerifierMockProjectStatusUpdater) UpdateProject(_param0 models.ProjectCommandContext, _param1 models.CommandName, _param2 models.CommitStatus, _param3 string) *MockProjectStatusUpdater_UpdateProject_OngoingVerification
Source Files ¶
Click to show internal directories.
Click to hide internal directories.