mock_example

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_example is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockExampleMock

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

MockExampleMock is a mock of ExampleMock interface.

func NewMockExampleMock

func NewMockExampleMock(ctrl *gomock.Controller) *MockExampleMock

NewMockExampleMock creates a new mock instance.

func (*MockExampleMock) Any

func (m *MockExampleMock) Any(ctx context.Context, in *example.Example, options ...string) (*example.Example, error)

Any mocks base method.

func (*MockExampleMock) EXPECT

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

func (*MockExampleMock) GetByInt

func (m *MockExampleMock) GetByInt(ctx context.Context, i int) (int, error)

GetByInt mocks base method.

func (*MockExampleMock) GetByString

func (m *MockExampleMock) GetByString(ctx context.Context, str string) (string, error)

GetByString mocks base method.

func (*MockExampleMock) GetWithVariadic

func (m *MockExampleMock) GetWithVariadic(ctx context.Context, id string, options ...string) (int, error)

GetWithVariadic mocks base method.

func (*MockExampleMock) SingleError

func (m *MockExampleMock) SingleError(ctx context.Context, id string, options ...string) error

SingleError mocks base method.

func (*MockExampleMock) WithDoAndReturn

func (m *MockExampleMock) WithDoAndReturn(ctx context.Context, in *example.Example) (*example.Example, error)

WithDoAndReturn mocks base method.

func (*MockExampleMock) WithStruct

func (m *MockExampleMock) WithStruct(ctx context.Context, in *example.Example) (*example.Example, error)

WithStruct mocks base method.

type MockExampleMockMockRecorder

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

MockExampleMockMockRecorder is the mock recorder for MockExampleMock.

func (*MockExampleMockMockRecorder) Any

func (mr *MockExampleMockMockRecorder) Any(ctx, in any, options ...any) *gomock.Call

Any indicates an expected call of Any.

func (*MockExampleMockMockRecorder) GetByInt

func (mr *MockExampleMockMockRecorder) GetByInt(ctx, i any) *gomock.Call

GetByInt indicates an expected call of GetByInt.

func (*MockExampleMockMockRecorder) GetByString

func (mr *MockExampleMockMockRecorder) GetByString(ctx, str any) *gomock.Call

GetByString indicates an expected call of GetByString.

func (*MockExampleMockMockRecorder) GetWithVariadic

func (mr *MockExampleMockMockRecorder) GetWithVariadic(ctx, id any, options ...any) *gomock.Call

GetWithVariadic indicates an expected call of GetWithVariadic.

func (*MockExampleMockMockRecorder) SingleError

func (mr *MockExampleMockMockRecorder) SingleError(ctx, id any, options ...any) *gomock.Call

SingleError indicates an expected call of SingleError.

func (*MockExampleMockMockRecorder) WithDoAndReturn

func (mr *MockExampleMockMockRecorder) WithDoAndReturn(ctx, in any) *gomock.Call

WithDoAndReturn indicates an expected call of WithDoAndReturn.

func (*MockExampleMockMockRecorder) WithStruct

func (mr *MockExampleMockMockRecorder) WithStruct(ctx, in any) *gomock.Call

WithStruct indicates an expected call of WithStruct.

Jump to

Keyboard shortcuts

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