Documentation ¶
Overview ¶
Package lxDbMocks is a generated GoMock package.
Package lxDbMocks is a generated GoMock package.
Index ¶
- type MockIBaseRepo
- func (m *MockIBaseRepo) CountDocuments(arg0 interface{}, arg1 ...interface{}) (int64, error)
- func (m *MockIBaseRepo) DeleteMany(arg0 interface{}, arg1 ...interface{}) (int64, error)
- func (m *MockIBaseRepo) DeleteOne(arg0 interface{}, arg1 ...interface{}) (int64, error)
- func (m *MockIBaseRepo) EXPECT() *MockIBaseRepoMockRecorder
- func (m *MockIBaseRepo) EstimatedDocumentCount(arg0 ...interface{}) (int64, error)
- func (m *MockIBaseRepo) Find(arg0, arg1 interface{}, arg2 ...interface{}) error
- func (m *MockIBaseRepo) FindOne(arg0, arg1 interface{}, arg2 ...interface{}) error
- func (m *MockIBaseRepo) InsertMany(arg0 []interface{}, arg1 ...interface{}) ([]interface{}, error)
- func (m *MockIBaseRepo) InsertOne(arg0 interface{}, arg1 ...interface{}) (interface{}, error)
- func (m *MockIBaseRepo) UpdateMany(arg0, arg1 interface{}, arg2 ...interface{}) (*db.UpdateResult, error)
- func (m *MockIBaseRepo) UpdateOne(arg0, arg1 interface{}, arg2 ...interface{}) error
- type MockIBaseRepoAudit
- type MockIBaseRepoAuditMockRecorder
- type MockIBaseRepoMockRecorder
- func (mr *MockIBaseRepoMockRecorder) CountDocuments(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockIBaseRepoMockRecorder) DeleteMany(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockIBaseRepoMockRecorder) DeleteOne(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockIBaseRepoMockRecorder) EstimatedDocumentCount(arg0 ...interface{}) *gomock.Call
- func (mr *MockIBaseRepoMockRecorder) Find(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockIBaseRepoMockRecorder) FindOne(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockIBaseRepoMockRecorder) InsertMany(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockIBaseRepoMockRecorder) InsertOne(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockIBaseRepoMockRecorder) UpdateMany(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockIBaseRepoMockRecorder) UpdateOne(arg0, arg1 interface{}, arg2 ...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(arg0 interface{}, arg1 ...interface{}) (int64, error)
CountDocuments mocks base method
func (*MockIBaseRepo) DeleteMany ¶
func (m *MockIBaseRepo) DeleteMany(arg0 interface{}, arg1 ...interface{}) (int64, error)
DeleteMany mocks base method
func (*MockIBaseRepo) DeleteOne ¶
func (m *MockIBaseRepo) DeleteOne(arg0 interface{}, arg1 ...interface{}) (int64, 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(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) InsertMany ¶
func (m *MockIBaseRepo) InsertMany(arg0 []interface{}, arg1 ...interface{}) ([]interface{}, 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.UpdateResult, 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
func (m *MockIBaseRepoAudit) EXPECT() *MockIBaseRepoAuditMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockIBaseRepoAuditMockRecorder ¶ added in v1.0.0
type MockIBaseRepoAuditMockRecorder struct {
// contains filtered or unexported fields
}
MockIBaseRepoAuditMockRecorder is the mock recorder for MockIBaseRepoAudit
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) 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