Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: github.com/appuio/control-api/apiserver/billing/odoostorage/odoo/odoo8/client (interfaces: QueryExecutor)
Generated by this command:
mockgen -destination=./clientmock/session.go -package clientmock . QueryExecutor
Package clientmock is a generated GoMock package.
Index ¶
- type MockQueryExecutor
- func (m *MockQueryExecutor) CreateGenericModel(arg0 context.Context, arg1 string, arg2 any) (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 any) error
- func (m *MockQueryExecutor) SearchGenericModel(arg0 context.Context, arg1 client.SearchReadModel, arg2 any) error
- func (m *MockQueryExecutor) UpdateGenericModel(arg0 context.Context, arg1 string, arg2 []int, arg3 any) error
- type MockQueryExecutorMockRecorder
- func (mr *MockQueryExecutorMockRecorder) CreateGenericModel(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockQueryExecutorMockRecorder) DeleteGenericModel(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockQueryExecutorMockRecorder) ExecuteQuery(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockQueryExecutorMockRecorder) SearchGenericModel(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockQueryExecutorMockRecorder) UpdateGenericModel(arg0, arg1, arg2, arg3 any) *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 any) (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 ¶
ExecuteQuery mocks base method.
func (*MockQueryExecutor) SearchGenericModel ¶
func (m *MockQueryExecutor) SearchGenericModel(arg0 context.Context, arg1 client.SearchReadModel, arg2 any) error
SearchGenericModel mocks base method.
func (*MockQueryExecutor) UpdateGenericModel ¶
func (m *MockQueryExecutor) UpdateGenericModel(arg0 context.Context, arg1 string, arg2 []int, arg3 any) 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 any) *gomock.Call
CreateGenericModel indicates an expected call of CreateGenericModel.
func (*MockQueryExecutorMockRecorder) DeleteGenericModel ¶
func (mr *MockQueryExecutorMockRecorder) DeleteGenericModel(arg0, arg1, arg2 any) *gomock.Call
DeleteGenericModel indicates an expected call of DeleteGenericModel.
func (*MockQueryExecutorMockRecorder) ExecuteQuery ¶
func (mr *MockQueryExecutorMockRecorder) ExecuteQuery(arg0, arg1, arg2, arg3 any) *gomock.Call
ExecuteQuery indicates an expected call of ExecuteQuery.
func (*MockQueryExecutorMockRecorder) SearchGenericModel ¶
func (mr *MockQueryExecutorMockRecorder) SearchGenericModel(arg0, arg1, arg2 any) *gomock.Call
SearchGenericModel indicates an expected call of SearchGenericModel.
func (*MockQueryExecutorMockRecorder) UpdateGenericModel ¶
func (mr *MockQueryExecutorMockRecorder) UpdateGenericModel(arg0, arg1, arg2, arg3 any) *gomock.Call
UpdateGenericModel indicates an expected call of UpdateGenericModel.