mock

package
v4.0.0-beta.2 Latest Latest
Warning

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

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

Documentation

Overview

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 DataMapper

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

DataMapper is a mock of DataMapper interface

func NewDataMapper

func NewDataMapper(ctrl *gomock.Controller) *DataMapper

NewDataMapper creates a new mock instance

func (*DataMapper) Delete

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

Delete mocks base method

func (*DataMapper) EXPECT

func (m *DataMapper) EXPECT() *DataMapperMockRecorder

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

func (*DataMapper) Insert

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

Insert mocks base method

func (*DataMapper) Update

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

Update mocks base method

type DataMapperMockRecorder

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

DataMapperMockRecorder is the mock recorder for DataMapper

func (*DataMapperMockRecorder) Delete

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

Delete indicates an expected call of Delete

func (*DataMapperMockRecorder) Insert

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

Insert indicates an expected call of Insert

func (*DataMapperMockRecorder) Update

func (mr *DataMapperMockRecorder) 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