Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockManager
- func (m *MockManager) Cleanup(arg0 context.Context, arg1 k8s.PipelineRun) error
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) GetRun(arg0 context.Context, arg1 k8s.PipelineRun) (run.Run, error)
- func (m *MockManager) Start(arg0 context.Context, arg1 k8s.PipelineRun, arg2 *cfg.PipelineRunsConfigStruct) (string, string, error)
- type MockManagerMockRecorder
- type MockRun
- type MockRunMockRecorder
- type MockSecretManager
- type MockSecretManagerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockManager ¶
type MockManager struct {
// contains filtered or unexported fields
}
MockManager is a mock of Manager interface
func NewMockManager ¶
func NewMockManager(ctrl *gomock.Controller) *MockManager
NewMockManager creates a new mock instance
func (*MockManager) Cleanup ¶
func (m *MockManager) Cleanup(arg0 context.Context, arg1 k8s.PipelineRun) error
Cleanup mocks base method
func (*MockManager) EXPECT ¶
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockManager) GetRun ¶
func (m *MockManager) GetRun(arg0 context.Context, arg1 k8s.PipelineRun) (run.Run, error)
GetRun mocks base method
func (*MockManager) Start ¶
func (m *MockManager) Start(arg0 context.Context, arg1 k8s.PipelineRun, arg2 *cfg.PipelineRunsConfigStruct) (string, string, error)
Start mocks base method
type MockManagerMockRecorder ¶
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager
func (*MockManagerMockRecorder) Cleanup ¶
func (mr *MockManagerMockRecorder) Cleanup(arg0, arg1 interface{}) *gomock.Call
Cleanup indicates an expected call of Cleanup
func (*MockManagerMockRecorder) GetRun ¶
func (mr *MockManagerMockRecorder) GetRun(arg0, arg1 interface{}) *gomock.Call
GetRun indicates an expected call of GetRun
func (*MockManagerMockRecorder) Start ¶
func (mr *MockManagerMockRecorder) Start(arg0, arg1, arg2 interface{}) *gomock.Call
Start indicates an expected call of Start
type MockRun ¶
type MockRun struct {
// contains filtered or unexported fields
}
MockRun is a mock of Run interface
func NewMockRun ¶
func NewMockRun(ctrl *gomock.Controller) *MockRun
NewMockRun creates a new mock instance
func (*MockRun) EXPECT ¶
func (m *MockRun) EXPECT() *MockRunMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRun) GetCompletionTime ¶ added in v0.13.0
GetCompletionTime mocks base method
func (*MockRun) GetContainerInfo ¶
func (m *MockRun) GetContainerInfo() *v1.ContainerState
GetContainerInfo mocks base method
func (*MockRun) GetStartTime ¶
GetStartTime mocks base method
type MockRunMockRecorder ¶
type MockRunMockRecorder struct {
// contains filtered or unexported fields
}
MockRunMockRecorder is the mock recorder for MockRun
func (*MockRunMockRecorder) GetCompletionTime ¶ added in v0.13.0
func (mr *MockRunMockRecorder) GetCompletionTime() *gomock.Call
GetCompletionTime indicates an expected call of GetCompletionTime
func (*MockRunMockRecorder) GetContainerInfo ¶
func (mr *MockRunMockRecorder) GetContainerInfo() *gomock.Call
GetContainerInfo indicates an expected call of GetContainerInfo
func (*MockRunMockRecorder) GetMessage ¶
func (mr *MockRunMockRecorder) GetMessage() *gomock.Call
GetMessage indicates an expected call of GetMessage
func (*MockRunMockRecorder) GetStartTime ¶
func (mr *MockRunMockRecorder) GetStartTime() *gomock.Call
GetStartTime indicates an expected call of GetStartTime
func (*MockRunMockRecorder) IsFinished ¶
func (mr *MockRunMockRecorder) IsFinished() *gomock.Call
IsFinished indicates an expected call of IsFinished
type MockSecretManager ¶ added in v0.6.3
type MockSecretManager struct {
// contains filtered or unexported fields
}
MockSecretManager is a mock of SecretManager interface
func NewMockSecretManager ¶ added in v0.6.3
func NewMockSecretManager(ctrl *gomock.Controller) *MockSecretManager
NewMockSecretManager creates a new mock instance
func (*MockSecretManager) CopyAll ¶ added in v0.6.3
func (m *MockSecretManager) CopyAll(arg0 context.Context, arg1 k8s.PipelineRun) (string, []string, error)
CopyAll mocks base method
func (*MockSecretManager) EXPECT ¶ added in v0.6.3
func (m *MockSecretManager) EXPECT() *MockSecretManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockSecretManagerMockRecorder ¶ added in v0.6.3
type MockSecretManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretManagerMockRecorder is the mock recorder for MockSecretManager
func (*MockSecretManagerMockRecorder) CopyAll ¶ added in v0.6.3
func (mr *MockSecretManagerMockRecorder) CopyAll(arg0, arg1 interface{}) *gomock.Call
CopyAll indicates an expected call of CopyAll