lxDbMocks

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package lxDbMocks is a generated GoMock package.

Package lxDbMocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIBaseRepo

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

MockIBaseRepo is a mock of IBaseRepo interface

func NewMockIBaseRepo

func NewMockIBaseRepo(ctrl *gomock.Controller) *MockIBaseRepo

NewMockIBaseRepo creates a new mock instance

func (*MockIBaseRepo) CountDocuments

func (m *MockIBaseRepo) CountDocuments(arg0 interface{}, arg1 ...interface{}) (int64, error)

CountDocuments mocks base method

func (*MockIBaseRepo) DeleteMany

func (m *MockIBaseRepo) DeleteMany(arg0 interface{}, arg1 ...interface{}) (*db.DeleteManyResult, error)

DeleteMany mocks base method

func (*MockIBaseRepo) DeleteOne

func (m *MockIBaseRepo) DeleteOne(arg0 interface{}, arg1 ...interface{}) error

DeleteOne mocks base method

func (*MockIBaseRepo) EXPECT

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

func (*MockIBaseRepo) EstimatedDocumentCount

func (m *MockIBaseRepo) EstimatedDocumentCount(arg0 ...interface{}) (int64, error)

EstimatedDocumentCount mocks base method

func (*MockIBaseRepo) Find

func (m *MockIBaseRepo) Find(arg0, arg1 interface{}, arg2 ...interface{}) error

Find mocks base method

func (*MockIBaseRepo) FindOne

func (m *MockIBaseRepo) FindOne(arg0, arg1 interface{}, arg2 ...interface{}) error

FindOne mocks base method

func (*MockIBaseRepo) GetCollection added in v1.2.0

func (m *MockIBaseRepo) GetCollection() interface{}

GetCollection mocks base method

func (*MockIBaseRepo) GetDb added in v1.2.0

func (m *MockIBaseRepo) GetDb() interface{}

GetDb mocks base method

func (*MockIBaseRepo) GetRepoName added in v1.2.0

func (m *MockIBaseRepo) GetRepoName() string

GetRepoName mocks base method

func (*MockIBaseRepo) InsertMany

func (m *MockIBaseRepo) InsertMany(arg0 []interface{}, arg1 ...interface{}) (*db.InsertManyResult, error)

InsertMany mocks base method

func (*MockIBaseRepo) InsertOne

func (m *MockIBaseRepo) InsertOne(arg0 interface{}, arg1 ...interface{}) (interface{}, error)

InsertOne mocks base method

func (*MockIBaseRepo) UpdateMany

func (m *MockIBaseRepo) UpdateMany(arg0, arg1 interface{}, arg2 ...interface{}) (*db.UpdateManyResult, error)

UpdateMany mocks base method

func (*MockIBaseRepo) UpdateOne

func (m *MockIBaseRepo) UpdateOne(arg0, arg1 interface{}, arg2 ...interface{}) error

UpdateOne mocks base method

type MockIBaseRepoAudit added in v1.0.0

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

MockIBaseRepoAudit is a mock of IBaseRepoAudit interface

func NewMockIBaseRepoAudit added in v1.0.0

func NewMockIBaseRepoAudit(ctrl *gomock.Controller) *MockIBaseRepoAudit

NewMockIBaseRepoAudit creates a new mock instance

func (*MockIBaseRepoAudit) EXPECT added in v1.0.0

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

func (*MockIBaseRepoAudit) LogEntries added in v1.2.0

func (m *MockIBaseRepoAudit) LogEntries(arg0 []interface{}, arg1 ...time.Duration) error

LogEntries mocks base method

func (*MockIBaseRepoAudit) LogEntry added in v1.0.0

func (m *MockIBaseRepoAudit) LogEntry(arg0 string, arg1, arg2 interface{}, arg3 ...time.Duration) error

LogEntry mocks base method

type MockIBaseRepoAuditMockRecorder added in v1.0.0

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

MockIBaseRepoAuditMockRecorder is the mock recorder for MockIBaseRepoAudit

func (*MockIBaseRepoAuditMockRecorder) LogEntries added in v1.2.0

func (mr *MockIBaseRepoAuditMockRecorder) LogEntries(arg0 interface{}, arg1 ...interface{}) *gomock.Call

LogEntries indicates an expected call of LogEntries

func (*MockIBaseRepoAuditMockRecorder) LogEntry added in v1.0.0

func (mr *MockIBaseRepoAuditMockRecorder) LogEntry(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

LogEntry indicates an expected call of LogEntry

type MockIBaseRepoMockRecorder

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

MockIBaseRepoMockRecorder is the mock recorder for MockIBaseRepo

func (*MockIBaseRepoMockRecorder) CountDocuments

func (mr *MockIBaseRepoMockRecorder) CountDocuments(arg0 interface{}, arg1 ...interface{}) *gomock.Call

CountDocuments indicates an expected call of CountDocuments

func (*MockIBaseRepoMockRecorder) DeleteMany

func (mr *MockIBaseRepoMockRecorder) DeleteMany(arg0 interface{}, arg1 ...interface{}) *gomock.Call

DeleteMany indicates an expected call of DeleteMany

func (*MockIBaseRepoMockRecorder) DeleteOne

func (mr *MockIBaseRepoMockRecorder) DeleteOne(arg0 interface{}, arg1 ...interface{}) *gomock.Call

DeleteOne indicates an expected call of DeleteOne

func (*MockIBaseRepoMockRecorder) EstimatedDocumentCount

func (mr *MockIBaseRepoMockRecorder) EstimatedDocumentCount(arg0 ...interface{}) *gomock.Call

EstimatedDocumentCount indicates an expected call of EstimatedDocumentCount

func (*MockIBaseRepoMockRecorder) Find

func (mr *MockIBaseRepoMockRecorder) Find(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockIBaseRepoMockRecorder) FindOne

func (mr *MockIBaseRepoMockRecorder) FindOne(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

FindOne indicates an expected call of FindOne

func (*MockIBaseRepoMockRecorder) GetCollection added in v1.2.0

func (mr *MockIBaseRepoMockRecorder) GetCollection() *gomock.Call

GetCollection indicates an expected call of GetCollection

func (*MockIBaseRepoMockRecorder) GetDb added in v1.2.0

func (mr *MockIBaseRepoMockRecorder) GetDb() *gomock.Call

GetDb indicates an expected call of GetDb

func (*MockIBaseRepoMockRecorder) GetRepoName added in v1.2.0

func (mr *MockIBaseRepoMockRecorder) GetRepoName() *gomock.Call

GetRepoName indicates an expected call of GetRepoName

func (*MockIBaseRepoMockRecorder) InsertMany

func (mr *MockIBaseRepoMockRecorder) InsertMany(arg0 interface{}, arg1 ...interface{}) *gomock.Call

InsertMany indicates an expected call of InsertMany

func (*MockIBaseRepoMockRecorder) InsertOne

func (mr *MockIBaseRepoMockRecorder) InsertOne(arg0 interface{}, arg1 ...interface{}) *gomock.Call

InsertOne indicates an expected call of InsertOne

func (*MockIBaseRepoMockRecorder) UpdateMany

func (mr *MockIBaseRepoMockRecorder) UpdateMany(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

UpdateMany indicates an expected call of UpdateMany

func (*MockIBaseRepoMockRecorder) UpdateOne

func (mr *MockIBaseRepoMockRecorder) UpdateOne(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

UpdateOne indicates an expected call of UpdateOne

Jump to

Keyboard shortcuts

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