Documentation ¶
Overview ¶
Package mock_collector is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) Collect(ctx context.Context, pr *v1beta1.PipelineRun, ...) (*collector.CollectResult, error)
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) GetPipelineRun(ctx context.Context, pr *models.Pipelinerun) (*v1beta1.PipelineRun, error)
- func (m *MockInterface) GetPipelineRunLog(ctx context.Context, pr *models.Pipelinerun) (*collector.Log, error)
- func (m *MockInterface) GetPipelineRunObject(ctx context.Context, object string) (*collector.Object, error)
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) Collect(ctx, pr, horizonMetaData interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetPipelineRun(ctx, pr interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetPipelineRunLog(ctx, pr interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetPipelineRunObject(ctx, object interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) Collect ¶
func (m *MockInterface) Collect(ctx context.Context, pr *v1beta1.PipelineRun, horizonMetaData *global.HorizonMetaData) (*collector.CollectResult, error)
Collect mocks base method.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) GetPipelineRun ¶
func (m *MockInterface) GetPipelineRun(ctx context.Context, pr *models.Pipelinerun) (*v1beta1.PipelineRun, error)
GetPipelineRun mocks base method.
func (*MockInterface) GetPipelineRunLog ¶
func (m *MockInterface) GetPipelineRunLog(ctx context.Context, pr *models.Pipelinerun) (*collector.Log, error)
GetPipelineRunLog mocks base method.
func (*MockInterface) GetPipelineRunObject ¶
func (m *MockInterface) GetPipelineRunObject(ctx context.Context, object string) (*collector.Object, error)
GetPipelineRunObject mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) Collect ¶
func (mr *MockInterfaceMockRecorder) Collect(ctx, pr, horizonMetaData interface{}) *gomock.Call
Collect indicates an expected call of Collect.
func (*MockInterfaceMockRecorder) GetPipelineRun ¶
func (mr *MockInterfaceMockRecorder) GetPipelineRun(ctx, pr interface{}) *gomock.Call
GetPipelineRun indicates an expected call of GetPipelineRun.
func (*MockInterfaceMockRecorder) GetPipelineRunLog ¶
func (mr *MockInterfaceMockRecorder) GetPipelineRunLog(ctx, pr interface{}) *gomock.Call
GetPipelineRunLog indicates an expected call of GetPipelineRunLog.
func (*MockInterfaceMockRecorder) GetPipelineRunObject ¶
func (mr *MockInterfaceMockRecorder) GetPipelineRunObject(ctx, object interface{}) *gomock.Call
GetPipelineRunObject indicates an expected call of GetPipelineRunObject.