mock

package
v1.3.9 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPipelines

type MockPipelines struct {
	// contains filtered or unexported fields
}

MockPipelines is a mock of Pipelines interface.

func NewMockPipelines

func NewMockPipelines(ctrl *gomock.Controller) *MockPipelines

NewMockPipelines creates a new mock instance.

func (*MockPipelines) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPipelines) Execute

Execute mocks base method.

func (*MockPipelines) Register

func (m *MockPipelines) Register(pipe ...pipeline.Piper)

Register mocks base method.

type MockPipelinesMockRecorder

type MockPipelinesMockRecorder struct {
	// contains filtered or unexported fields
}

MockPipelinesMockRecorder is the mock recorder for MockPipelines.

func (*MockPipelinesMockRecorder) Execute

func (mr *MockPipelinesMockRecorder) Execute() *gomock.Call

Execute indicates an expected call of Execute.

func (*MockPipelinesMockRecorder) Register

func (mr *MockPipelinesMockRecorder) Register(pipe ...interface{}) *gomock.Call

Register indicates an expected call of Register.

type MockPiper

type MockPiper struct {
	// contains filtered or unexported fields
}

MockPiper is a mock of Piper interface.

func NewMockPiper

func NewMockPiper(ctrl *gomock.Controller) *MockPiper

NewMockPiper creates a new mock instance.

func (*MockPiper) EXPECT

func (m *MockPiper) EXPECT() *MockPiperMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPiper) Run

Run mocks base method.

func (*MockPiper) String

func (m *MockPiper) String() string

String mocks base method.

type MockPiperMockRecorder

type MockPiperMockRecorder struct {
	// contains filtered or unexported fields
}

MockPiperMockRecorder is the mock recorder for MockPiper.

func (*MockPiperMockRecorder) Run

func (mr *MockPiperMockRecorder) Run(ctx interface{}) *gomock.Call

Run indicates an expected call of Run.

func (*MockPiperMockRecorder) String

func (mr *MockPiperMockRecorder) String() *gomock.Call

String indicates an expected call of String.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳