mock_collector

package
v0.0.0-...-6cdb919 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_collector is a generated GoMock package.

Index

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

Collect mocks base method.

func (*MockInterface) EXPECT

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL