mock

package
v4.0.0-beta.6 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UnitCacheClient

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

UnitCacheClient is a mock of UnitCacheClient interface.

func NewUnitCacheClient

func NewUnitCacheClient(ctrl *gomock.Controller) *UnitCacheClient

NewUnitCacheClient creates a new mock instance.

func (*UnitCacheClient) Delete

func (m *UnitCacheClient) Delete(arg0 context.Context, arg1 string) error

Delete mocks base method.

func (*UnitCacheClient) EXPECT

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

func (*UnitCacheClient) Get

func (m *UnitCacheClient) Get(arg0 context.Context, arg1 string) (interface{}, error)

Get mocks base method.

func (*UnitCacheClient) Set

func (m *UnitCacheClient) Set(arg0 context.Context, arg1 string, arg2 interface{}) error

Set mocks base method.

type UnitCacheClientMockRecorder

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

UnitCacheClientMockRecorder is the mock recorder for UnitCacheClient.

func (*UnitCacheClientMockRecorder) Delete

func (mr *UnitCacheClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*UnitCacheClientMockRecorder) Get

func (mr *UnitCacheClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*UnitCacheClientMockRecorder) Set

func (mr *UnitCacheClientMockRecorder) Set(arg0, arg1, arg2 interface{}) *gomock.Call

Set indicates an expected call of Set.

type UnitDataMapper

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

UnitDataMapper is a mock of UnitDataMapper interface.

func NewUnitDataMapper

func NewUnitDataMapper(ctrl *gomock.Controller) *UnitDataMapper

NewUnitDataMapper creates a new mock instance.

func (*UnitDataMapper) Delete

func (m *UnitDataMapper) Delete(arg0 context.Context, arg1 v4.UnitMapperContext, arg2 ...interface{}) error

Delete mocks base method.

func (*UnitDataMapper) EXPECT

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

func (*UnitDataMapper) Insert

func (m *UnitDataMapper) Insert(arg0 context.Context, arg1 v4.UnitMapperContext, arg2 ...interface{}) error

Insert mocks base method.

func (*UnitDataMapper) Update

func (m *UnitDataMapper) Update(arg0 context.Context, arg1 v4.UnitMapperContext, arg2 ...interface{}) error

Update mocks base method.

type UnitDataMapperMockRecorder

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

UnitDataMapperMockRecorder is the mock recorder for UnitDataMapper.

func (*UnitDataMapperMockRecorder) Delete

func (mr *UnitDataMapperMockRecorder) Delete(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*UnitDataMapperMockRecorder) Insert

func (mr *UnitDataMapperMockRecorder) Insert(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Insert indicates an expected call of Insert.

func (*UnitDataMapperMockRecorder) Update

func (mr *UnitDataMapperMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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