Documentation ¶
Overview ¶
Package lxDbMocks is a generated GoMock package.
Index ¶
- type MockIBaseRepo
- func (m *MockIBaseRepo) CountDocuments(filter interface{}, args ...interface{}) (int64, error)
- func (m *MockIBaseRepo) CreateIndexes(indexes interface{}, args ...interface{}) ([]string, error)
- func (m *MockIBaseRepo) DeleteMany(filter interface{}, args ...interface{}) (*lxDb.DeleteManyResult, error)
- func (m *MockIBaseRepo) DeleteOne(filter interface{}, args ...interface{}) error
- func (m *MockIBaseRepo) EXPECT() *MockIBaseRepoMockRecorder
- func (m *MockIBaseRepo) EstimatedDocumentCount(args ...interface{}) (int64, error)
- func (m *MockIBaseRepo) Find(filter, result interface{}, args ...interface{}) error
- func (m *MockIBaseRepo) FindOne(filter, result interface{}, args ...interface{}) error
- func (m *MockIBaseRepo) FindOneAndDelete(filter, result interface{}, args ...interface{}) error
- func (m *MockIBaseRepo) FindOneAndReplace(filter, replacement, result interface{}, args ...interface{}) error
- func (m *MockIBaseRepo) FindOneAndUpdate(filter, update, result interface{}, args ...interface{}) error
- func (m *MockIBaseRepo) GetCollection() interface{}
- func (m *MockIBaseRepo) GetDb() interface{}
- func (m *MockIBaseRepo) GetRepoName() string
- func (m *MockIBaseRepo) InsertMany(docs []interface{}, args ...interface{}) (*lxDb.InsertManyResult, error)
- func (m *MockIBaseRepo) InsertOne(doc interface{}, args ...interface{}) (interface{}, error)
- func (m *MockIBaseRepo) UpdateMany(filter, update interface{}, args ...interface{}) (*lxDb.UpdateManyResult, error)
- func (m *MockIBaseRepo) UpdateOne(filter, update interface{}, args ...interface{}) error
- type MockIBaseRepoAudit
- type MockIBaseRepoAuditMockRecorder
- type MockIBaseRepoMockRecorder
- func (mr *MockIBaseRepoMockRecorder) CountDocuments(filter interface{}, args ...interface{}) *gomock.Call
- func (mr *MockIBaseRepoMockRecorder) CreateIndexes(indexes interface{}, args ...interface{}) *gomock.Call
- func (mr *MockIBaseRepoMockRecorder) DeleteMany(filter interface{}, args ...interface{}) *gomock.Call
- func (mr *MockIBaseRepoMockRecorder) DeleteOne(filter interface{}, args ...interface{}) *gomock.Call
- func (mr *MockIBaseRepoMockRecorder) EstimatedDocumentCount(args ...interface{}) *gomock.Call
- func (mr *MockIBaseRepoMockRecorder) Find(filter, result interface{}, args ...interface{}) *gomock.Call
- func (mr *MockIBaseRepoMockRecorder) FindOne(filter, result interface{}, args ...interface{}) *gomock.Call
- func (mr *MockIBaseRepoMockRecorder) FindOneAndDelete(filter, result interface{}, args ...interface{}) *gomock.Call
- func (mr *MockIBaseRepoMockRecorder) FindOneAndReplace(filter, replacement, result interface{}, args ...interface{}) *gomock.Call
- func (mr *MockIBaseRepoMockRecorder) FindOneAndUpdate(filter, update, result interface{}, args ...interface{}) *gomock.Call
- func (mr *MockIBaseRepoMockRecorder) GetCollection() *gomock.Call
- func (mr *MockIBaseRepoMockRecorder) GetDb() *gomock.Call
- func (mr *MockIBaseRepoMockRecorder) GetRepoName() *gomock.Call
- func (mr *MockIBaseRepoMockRecorder) InsertMany(docs interface{}, args ...interface{}) *gomock.Call
- func (mr *MockIBaseRepoMockRecorder) InsertOne(doc interface{}, args ...interface{}) *gomock.Call
- func (mr *MockIBaseRepoMockRecorder) UpdateMany(filter, update interface{}, args ...interface{}) *gomock.Call
- func (mr *MockIBaseRepoMockRecorder) UpdateOne(filter, update interface{}, args ...interface{}) *gomock.Call
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(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 ¶
func (m *MockIBaseRepo) EXPECT() *MockIBaseRepoMockRecorder
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) 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
func (m *MockIBaseRepoAudit) EXPECT() *MockIBaseRepoAuditMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIBaseRepoAudit) LogEntries ¶ added in v1.2.0
func (m *MockIBaseRepoAudit) LogEntries(entries []interface{}, timeout ...time.Duration) error
LogEntries 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(entries interface{}, timeout ...interface{}) *gomock.Call
LogEntries indicates an expected call of LogEntries
func (*MockIBaseRepoAuditMockRecorder) LogEntry ¶ added in v1.0.0
func (mr *MockIBaseRepoAuditMockRecorder) LogEntry(action, user, data interface{}, timeout ...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(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) 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