Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockDatabaseClient
- func (m *MockDatabaseClient) Connect(arg0 context.Context, arg1 time.Duration) error
- func (m *MockDatabaseClient) Count(arg0 context.Context, arg1 string, arg2 query.QueryBuilder) (uint64, error)
- func (m *MockDatabaseClient) DeleteOne(arg0 context.Context, arg1 string, arg2 query.QueryBuilder) error
- func (m *MockDatabaseClient) Disconnect(arg0 context.Context) error
- func (m *MockDatabaseClient) EXPECT() *MockDatabaseClientMockRecorder
- func (m *MockDatabaseClient) Find(arg0 context.Context, arg1 string, arg2 query.QueryBuilder, arg3 interface{}) error
- func (m *MockDatabaseClient) FindOne(arg0 context.Context, arg1 string, arg2 query.QueryBuilder, arg3 interface{}) error
- func (m *MockDatabaseClient) InsertOne(arg0 context.Context, arg1 string, arg2 interface{}) (string, error)
- func (m *MockDatabaseClient) UpdateOne(arg0 context.Context, arg1 string, arg2 query.QueryBuilder, arg3 interface{}) error
- type MockDatabaseClientMockRecorder
- func (mr *MockDatabaseClientMockRecorder) Connect(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatabaseClientMockRecorder) Count(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDatabaseClientMockRecorder) DeleteOne(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDatabaseClientMockRecorder) Disconnect(arg0 interface{}) *gomock.Call
- func (mr *MockDatabaseClientMockRecorder) Find(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDatabaseClientMockRecorder) FindOne(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDatabaseClientMockRecorder) InsertOne(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDatabaseClientMockRecorder) UpdateOne(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDatabaseClient ¶
type MockDatabaseClient struct {
// contains filtered or unexported fields
}
MockDatabaseClient is a mock of DatabaseClient interface.
func NewMockDatabaseClient ¶
func NewMockDatabaseClient(ctrl *gomock.Controller) *MockDatabaseClient
NewMockDatabaseClient creates a new mock instance.
func (*MockDatabaseClient) Count ¶ added in v1.31.0
func (m *MockDatabaseClient) Count(arg0 context.Context, arg1 string, arg2 query.QueryBuilder) (uint64, error)
Count mocks base method.
func (*MockDatabaseClient) DeleteOne ¶
func (m *MockDatabaseClient) DeleteOne(arg0 context.Context, arg1 string, arg2 query.QueryBuilder) error
DeleteOne mocks base method.
func (*MockDatabaseClient) Disconnect ¶
func (m *MockDatabaseClient) Disconnect(arg0 context.Context) error
Disconnect mocks base method.
func (*MockDatabaseClient) EXPECT ¶
func (m *MockDatabaseClient) EXPECT() *MockDatabaseClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDatabaseClient) Find ¶
func (m *MockDatabaseClient) Find(arg0 context.Context, arg1 string, arg2 query.QueryBuilder, arg3 interface{}) error
Find mocks base method.
func (*MockDatabaseClient) FindOne ¶
func (m *MockDatabaseClient) FindOne(arg0 context.Context, arg1 string, arg2 query.QueryBuilder, arg3 interface{}) error
FindOne mocks base method.
func (*MockDatabaseClient) InsertOne ¶
func (m *MockDatabaseClient) InsertOne(arg0 context.Context, arg1 string, arg2 interface{}) (string, error)
InsertOne mocks base method.
func (*MockDatabaseClient) UpdateOne ¶
func (m *MockDatabaseClient) UpdateOne(arg0 context.Context, arg1 string, arg2 query.QueryBuilder, arg3 interface{}) error
UpdateOne mocks base method.
type MockDatabaseClientMockRecorder ¶
type MockDatabaseClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDatabaseClientMockRecorder is the mock recorder for MockDatabaseClient.
func (*MockDatabaseClientMockRecorder) Connect ¶
func (mr *MockDatabaseClientMockRecorder) Connect(arg0, arg1 interface{}) *gomock.Call
Connect indicates an expected call of Connect.
func (*MockDatabaseClientMockRecorder) Count ¶ added in v1.31.0
func (mr *MockDatabaseClientMockRecorder) Count(arg0, arg1, arg2 interface{}) *gomock.Call
Count indicates an expected call of Count.
func (*MockDatabaseClientMockRecorder) DeleteOne ¶
func (mr *MockDatabaseClientMockRecorder) DeleteOne(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteOne indicates an expected call of DeleteOne.
func (*MockDatabaseClientMockRecorder) Disconnect ¶
func (mr *MockDatabaseClientMockRecorder) Disconnect(arg0 interface{}) *gomock.Call
Disconnect indicates an expected call of Disconnect.
func (*MockDatabaseClientMockRecorder) Find ¶
func (mr *MockDatabaseClientMockRecorder) Find(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Find indicates an expected call of Find.
func (*MockDatabaseClientMockRecorder) FindOne ¶
func (mr *MockDatabaseClientMockRecorder) FindOne(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
FindOne indicates an expected call of FindOne.
func (*MockDatabaseClientMockRecorder) InsertOne ¶
func (mr *MockDatabaseClientMockRecorder) InsertOne(arg0, arg1, arg2 interface{}) *gomock.Call
InsertOne indicates an expected call of InsertOne.
func (*MockDatabaseClientMockRecorder) UpdateOne ¶
func (mr *MockDatabaseClientMockRecorder) UpdateOne(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UpdateOne indicates an expected call of UpdateOne.