mock_executor

package
v0.0.0-debug-20260702 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock_executor is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSQLExecutor

type MockSQLExecutor struct {
	// contains filtered or unexported fields
}

MockSQLExecutor is a mock of SQLExecutor interface.

func NewMockSQLExecutor

func NewMockSQLExecutor(ctrl *gomock.Controller) *MockSQLExecutor

NewMockSQLExecutor creates a new mock instance.

func (*MockSQLExecutor) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSQLExecutor) Exec

Exec mocks base method.

func (*MockSQLExecutor) ExecTxn

func (m *MockSQLExecutor) ExecTxn(ctx context.Context, execFunc func(executor.TxnExecutor) error, opts executor.Options) error

ExecTxn mocks base method.

type MockSQLExecutorMockRecorder

type MockSQLExecutorMockRecorder struct {
	// contains filtered or unexported fields
}

MockSQLExecutorMockRecorder is the mock recorder for MockSQLExecutor.

func (*MockSQLExecutorMockRecorder) Exec

func (mr *MockSQLExecutorMockRecorder) Exec(ctx, sql, opts interface{}) *gomock.Call

Exec indicates an expected call of Exec.

func (*MockSQLExecutorMockRecorder) ExecTxn

func (mr *MockSQLExecutorMockRecorder) ExecTxn(ctx, execFunc, opts interface{}) *gomock.Call

ExecTxn indicates an expected call of ExecTxn.

type MockTxnExecutor

type MockTxnExecutor struct {
	// contains filtered or unexported fields
}

MockTxnExecutor is a mock of TxnExecutor interface.

func NewMockTxnExecutor

func NewMockTxnExecutor(ctrl *gomock.Controller) *MockTxnExecutor

NewMockTxnExecutor creates a new mock instance.

func (*MockTxnExecutor) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTxnExecutor) Exec

Exec mocks base method.

func (*MockTxnExecutor) LockTable

func (m *MockTxnExecutor) LockTable(table string) error

LockTable mocks base method.

func (*MockTxnExecutor) Txn

Txn mocks base method.

func (*MockTxnExecutor) Use

func (m *MockTxnExecutor) Use(db string)

Use mocks base method.

type MockTxnExecutorMockRecorder

type MockTxnExecutorMockRecorder struct {
	// contains filtered or unexported fields
}

MockTxnExecutorMockRecorder is the mock recorder for MockTxnExecutor.

func (*MockTxnExecutorMockRecorder) Exec

func (mr *MockTxnExecutorMockRecorder) Exec(sql, options interface{}) *gomock.Call

Exec indicates an expected call of Exec.

func (*MockTxnExecutorMockRecorder) LockTable

func (mr *MockTxnExecutorMockRecorder) LockTable(table interface{}) *gomock.Call

LockTable indicates an expected call of LockTable.

func (*MockTxnExecutorMockRecorder) Txn

Txn indicates an expected call of Txn.

func (*MockTxnExecutorMockRecorder) Use

func (mr *MockTxnExecutorMockRecorder) Use(db interface{}) *gomock.Call

Use indicates an expected call of Use.

Jump to

Keyboard shortcuts

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