lxDbMocks

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

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) Aggregate added in v1.6.0

func (m *MockIBaseRepo) Aggregate(pipeline, result interface{}, args ...interface{}) error

Aggregate mocks base method

func (*MockIBaseRepo) CountDocuments

func (m *MockIBaseRepo) CountDocuments(filter interface{}, args ...interface{}) (int64, error)

CountDocuments mocks base method

func (*MockIBaseRepo) CreateIndexes added in v1.2.10

func (m *MockIBaseRepo) CreateIndexes(indexes interface{}, args ...interface{}) ([]string, error)

CreateIndexes mocks base method

func (*MockIBaseRepo) DeleteMany

func (m *MockIBaseRepo) DeleteMany(filter interface{}, args ...interface{}) (*lxDb.DeleteManyResult, error)

DeleteMany mocks base method

func (*MockIBaseRepo) DeleteOne

func (m *MockIBaseRepo) DeleteOne(filter interface{}, args ...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(args ...interface{}) (int64, error)

EstimatedDocumentCount mocks base method

func (*MockIBaseRepo) Find

func (m *MockIBaseRepo) Find(filter, result interface{}, args ...interface{}) error

Find mocks base method

func (*MockIBaseRepo) FindOne

func (m *MockIBaseRepo) FindOne(filter, result interface{}, args ...interface{}) error

FindOne mocks base method

func (*MockIBaseRepo) FindOneAndDelete added in v1.5.0

func (m *MockIBaseRepo) FindOneAndDelete(filter, result interface{}, args ...interface{}) error

FindOneAndDelete mocks base method

func (*MockIBaseRepo) FindOneAndReplace added in v1.5.0

func (m *MockIBaseRepo) FindOneAndReplace(filter, replacement, result interface{}, args ...interface{}) error

FindOneAndReplace mocks base method

func (*MockIBaseRepo) FindOneAndUpdate added in v1.5.0

func (m *MockIBaseRepo) FindOneAndUpdate(filter, update, result interface{}, args ...interface{}) error

FindOneAndUpdate 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(docs []interface{}, args ...interface{}) (*lxDb.InsertManyResult, error)

InsertMany mocks base method

func (*MockIBaseRepo) InsertOne

func (m *MockIBaseRepo) InsertOne(doc interface{}, args ...interface{}) (interface{}, error)

InsertOne mocks base method

func (*MockIBaseRepo) SetLocale added in v1.6.1

func (m *MockIBaseRepo) SetLocale(code string)

SetLocale mocks base method

func (*MockIBaseRepo) UpdateMany

func (m *MockIBaseRepo) UpdateMany(filter, update interface{}, args ...interface{}) (*lxDb.UpdateManyResult, error)

UpdateMany mocks base method

func (*MockIBaseRepo) UpdateOne

func (m *MockIBaseRepo) UpdateOne(filter, update interface{}, args ...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) IsActive added in v1.7.0

func (m *MockIBaseRepoAudit) IsActive() bool

IsActive mocks base method

func (*MockIBaseRepoAudit) Send added in v1.7.0

func (m *MockIBaseRepoAudit) Send(elem interface{})

Send 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) IsActive added in v1.7.0

func (mr *MockIBaseRepoAuditMockRecorder) IsActive() *gomock.Call

IsActive indicates an expected call of IsActive

func (*MockIBaseRepoAuditMockRecorder) Send added in v1.7.0

func (mr *MockIBaseRepoAuditMockRecorder) Send(elem interface{}) *gomock.Call

Send indicates an expected call of Send

type MockIBaseRepoMockRecorder

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

MockIBaseRepoMockRecorder is the mock recorder for MockIBaseRepo

func (*MockIBaseRepoMockRecorder) Aggregate added in v1.6.0

func (mr *MockIBaseRepoMockRecorder) Aggregate(pipeline, result interface{}, args ...interface{}) *gomock.Call

Aggregate indicates an expected call of Aggregate

func (*MockIBaseRepoMockRecorder) CountDocuments

func (mr *MockIBaseRepoMockRecorder) CountDocuments(filter interface{}, args ...interface{}) *gomock.Call

CountDocuments indicates an expected call of CountDocuments

func (*MockIBaseRepoMockRecorder) CreateIndexes added in v1.2.10

func (mr *MockIBaseRepoMockRecorder) CreateIndexes(indexes interface{}, args ...interface{}) *gomock.Call

CreateIndexes indicates an expected call of CreateIndexes

func (*MockIBaseRepoMockRecorder) DeleteMany

func (mr *MockIBaseRepoMockRecorder) DeleteMany(filter interface{}, args ...interface{}) *gomock.Call

DeleteMany indicates an expected call of DeleteMany

func (*MockIBaseRepoMockRecorder) DeleteOne

func (mr *MockIBaseRepoMockRecorder) DeleteOne(filter interface{}, args ...interface{}) *gomock.Call

DeleteOne indicates an expected call of DeleteOne

func (*MockIBaseRepoMockRecorder) EstimatedDocumentCount

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

EstimatedDocumentCount indicates an expected call of EstimatedDocumentCount

func (*MockIBaseRepoMockRecorder) Find

func (mr *MockIBaseRepoMockRecorder) Find(filter, result interface{}, args ...interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockIBaseRepoMockRecorder) FindOne

func (mr *MockIBaseRepoMockRecorder) FindOne(filter, result interface{}, args ...interface{}) *gomock.Call

FindOne indicates an expected call of FindOne

func (*MockIBaseRepoMockRecorder) FindOneAndDelete added in v1.5.0

func (mr *MockIBaseRepoMockRecorder) FindOneAndDelete(filter, result interface{}, args ...interface{}) *gomock.Call

FindOneAndDelete indicates an expected call of FindOneAndDelete

func (*MockIBaseRepoMockRecorder) FindOneAndReplace added in v1.5.0

func (mr *MockIBaseRepoMockRecorder) FindOneAndReplace(filter, replacement, result interface{}, args ...interface{}) *gomock.Call

FindOneAndReplace indicates an expected call of FindOneAndReplace

func (*MockIBaseRepoMockRecorder) FindOneAndUpdate added in v1.5.0

func (mr *MockIBaseRepoMockRecorder) FindOneAndUpdate(filter, update, result interface{}, args ...interface{}) *gomock.Call

FindOneAndUpdate indicates an expected call of FindOneAndUpdate

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(docs interface{}, args ...interface{}) *gomock.Call

InsertMany indicates an expected call of InsertMany

func (*MockIBaseRepoMockRecorder) InsertOne

func (mr *MockIBaseRepoMockRecorder) InsertOne(doc interface{}, args ...interface{}) *gomock.Call

InsertOne indicates an expected call of InsertOne

func (*MockIBaseRepoMockRecorder) SetLocale added in v1.6.1

func (mr *MockIBaseRepoMockRecorder) SetLocale(code interface{}) *gomock.Call

SetLocale indicates an expected call of SetLocale

func (*MockIBaseRepoMockRecorder) UpdateMany

func (mr *MockIBaseRepoMockRecorder) UpdateMany(filter, update interface{}, args ...interface{}) *gomock.Call

UpdateMany indicates an expected call of UpdateMany

func (*MockIBaseRepoMockRecorder) UpdateOne

func (mr *MockIBaseRepoMockRecorder) UpdateOne(filter, update interface{}, args ...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