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) DeleteRun(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) Prepare(arg0 context.Context, arg1 k8s.PipelineRun, arg2 *cfg.PipelineRunsConfigStruct) (string, string, error)
- func (m *MockManager) Start(arg0 context.Context, arg1 k8s.PipelineRun, arg2 *cfg.PipelineRunsConfigStruct) error
- type MockManagerMockRecorder
- func (mr *MockManagerMockRecorder) Cleanup(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) DeleteRun(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetRun(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) Prepare(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) Start(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockRun
- func (m *MockRun) EXPECT() *MockRunMockRecorder
- func (m *MockRun) GetCompletionTime() *v10.Time
- func (m *MockRun) GetContainerInfo() *v1.ContainerState
- func (m *MockRun) GetMessage() string
- func (m *MockRun) GetStartTime() *v10.Time
- func (m *MockRun) IsFinished() (bool, v1alpha1.Result)
- func (m *MockRun) IsRestartable() bool
- type MockRunMockRecorder
- func (mr *MockRunMockRecorder) GetCompletionTime() *gomock.Call
- func (mr *MockRunMockRecorder) GetContainerInfo() *gomock.Call
- func (mr *MockRunMockRecorder) GetMessage() *gomock.Call
- func (mr *MockRunMockRecorder) GetStartTime() *gomock.Call
- func (mr *MockRunMockRecorder) IsFinished() *gomock.Call
- func (mr *MockRunMockRecorder) IsRestartable() *gomock.Call
- 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) DeleteRun ¶ added in v0.24.0
func (m *MockManager) DeleteRun(arg0 context.Context, arg1 k8s.PipelineRun) error
DeleteRun 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) Prepare ¶ added in v0.24.0
func (m *MockManager) Prepare(arg0 context.Context, arg1 k8s.PipelineRun, arg2 *cfg.PipelineRunsConfigStruct) (string, string, error)
Prepare mocks base method.
func (*MockManager) Start ¶
func (m *MockManager) Start(arg0 context.Context, arg1 k8s.PipelineRun, arg2 *cfg.PipelineRunsConfigStruct) 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) DeleteRun ¶ added in v0.24.0
func (mr *MockManagerMockRecorder) DeleteRun(arg0, arg1 interface{}) *gomock.Call
DeleteRun indicates an expected call of DeleteRun.
func (*MockManagerMockRecorder) GetRun ¶
func (mr *MockManagerMockRecorder) GetRun(arg0, arg1 interface{}) *gomock.Call
GetRun indicates an expected call of GetRun.
func (*MockManagerMockRecorder) Prepare ¶ added in v0.24.0
func (mr *MockManagerMockRecorder) Prepare(arg0, arg1, arg2 interface{}) *gomock.Call
Prepare indicates an expected call of Prepare.
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.
func (*MockRun) IsFinished ¶
IsFinished mocks base method.
func (*MockRun) IsRestartable ¶ added in v0.24.0
IsRestartable 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.
func (*MockRunMockRecorder) IsRestartable ¶ added in v0.24.0
func (mr *MockRunMockRecorder) IsRestartable() *gomock.Call
IsRestartable indicates an expected call of IsRestartable.
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.