Documentation ¶
Overview ¶
Package clientmock is a generated GoMock package.
Index ¶
- type MockQueryExecutor
- func (m *MockQueryExecutor) CreateGenericModel(arg0 context.Context, arg1 string, arg2 interface{}) (int, error)
- func (m *MockQueryExecutor) DeleteGenericModel(arg0 context.Context, arg1 string, arg2 []int) error
- func (m *MockQueryExecutor) EXPECT() *MockQueryExecutorMockRecorder
- func (m *MockQueryExecutor) ExecuteQuery(arg0 context.Context, arg1 string, arg2, arg3 interface{}) error
- func (m *MockQueryExecutor) SearchGenericModel(arg0 context.Context, arg1 client.SearchReadModel, arg2 interface{}) error
- func (m *MockQueryExecutor) UpdateGenericModel(arg0 context.Context, arg1 string, arg2 []int, arg3 interface{}) error
- type MockQueryExecutorMockRecorder
- func (mr *MockQueryExecutorMockRecorder) CreateGenericModel(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockQueryExecutorMockRecorder) DeleteGenericModel(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockQueryExecutorMockRecorder) ExecuteQuery(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockQueryExecutorMockRecorder) SearchGenericModel(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockQueryExecutorMockRecorder) UpdateGenericModel(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockQueryExecutor ¶
type MockQueryExecutor struct {
// contains filtered or unexported fields
}
MockQueryExecutor is a mock of QueryExecutor interface.
func NewMockQueryExecutor ¶
func NewMockQueryExecutor(ctrl *gomock.Controller) *MockQueryExecutor
NewMockQueryExecutor creates a new mock instance.
func (*MockQueryExecutor) CreateGenericModel ¶
func (m *MockQueryExecutor) CreateGenericModel(arg0 context.Context, arg1 string, arg2 interface{}) (int, error)
CreateGenericModel mocks base method.
func (*MockQueryExecutor) DeleteGenericModel ¶
DeleteGenericModel mocks base method.
func (*MockQueryExecutor) EXPECT ¶
func (m *MockQueryExecutor) EXPECT() *MockQueryExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockQueryExecutor) ExecuteQuery ¶
func (m *MockQueryExecutor) ExecuteQuery(arg0 context.Context, arg1 string, arg2, arg3 interface{}) error
ExecuteQuery mocks base method.
func (*MockQueryExecutor) SearchGenericModel ¶
func (m *MockQueryExecutor) SearchGenericModel(arg0 context.Context, arg1 client.SearchReadModel, arg2 interface{}) error
SearchGenericModel mocks base method.
func (*MockQueryExecutor) UpdateGenericModel ¶
func (m *MockQueryExecutor) UpdateGenericModel(arg0 context.Context, arg1 string, arg2 []int, arg3 interface{}) error
UpdateGenericModel mocks base method.
type MockQueryExecutorMockRecorder ¶
type MockQueryExecutorMockRecorder struct {
// contains filtered or unexported fields
}
MockQueryExecutorMockRecorder is the mock recorder for MockQueryExecutor.
func (*MockQueryExecutorMockRecorder) CreateGenericModel ¶
func (mr *MockQueryExecutorMockRecorder) CreateGenericModel(arg0, arg1, arg2 interface{}) *gomock.Call
CreateGenericModel indicates an expected call of CreateGenericModel.
func (*MockQueryExecutorMockRecorder) DeleteGenericModel ¶
func (mr *MockQueryExecutorMockRecorder) DeleteGenericModel(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteGenericModel indicates an expected call of DeleteGenericModel.
func (*MockQueryExecutorMockRecorder) ExecuteQuery ¶
func (mr *MockQueryExecutorMockRecorder) ExecuteQuery(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ExecuteQuery indicates an expected call of ExecuteQuery.
func (*MockQueryExecutorMockRecorder) SearchGenericModel ¶
func (mr *MockQueryExecutorMockRecorder) SearchGenericModel(arg0, arg1, arg2 interface{}) *gomock.Call
SearchGenericModel indicates an expected call of SearchGenericModel.
func (*MockQueryExecutorMockRecorder) UpdateGenericModel ¶
func (mr *MockQueryExecutorMockRecorder) UpdateGenericModel(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UpdateGenericModel indicates an expected call of UpdateGenericModel.