clientmock

package
v0.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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

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

func (m *MockQueryExecutor) DeleteGenericModel(arg0 context.Context, arg1 string, arg2 []int) error

DeleteGenericModel mocks base method.

func (*MockQueryExecutor) EXPECT

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 any) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL