mock

package
v1.1.0-beta.0...-3047328 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRestrictedSQLExecutor

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

MockRestrictedSQLExecutor is a mock of RestrictedSQLExecutor interface.

func NewMockRestrictedSQLExecutor

func NewMockRestrictedSQLExecutor(ctrl *gomock.Controller) *MockRestrictedSQLExecutor

NewMockRestrictedSQLExecutor creates a new mock instance.

func (*MockRestrictedSQLExecutor) EXPECT

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

func (*MockRestrictedSQLExecutor) ExecRestrictedSQL

func (m *MockRestrictedSQLExecutor) ExecRestrictedSQL(arg0 context.Context, arg1 []func(*sqlexec.ExecOption), arg2 string, arg3 ...any) ([]chunk.Row, []*resolve.ResultField, error)

ExecRestrictedSQL mocks base method.

func (*MockRestrictedSQLExecutor) ExecRestrictedStmt

func (m *MockRestrictedSQLExecutor) ExecRestrictedStmt(arg0 context.Context, arg1 ast.StmtNode, arg2 ...func(*sqlexec.ExecOption)) ([]chunk.Row, []*resolve.ResultField, error)

ExecRestrictedStmt mocks base method.

func (*MockRestrictedSQLExecutor) ISGOMOCK

func (m *MockRestrictedSQLExecutor) ISGOMOCK() struct{}

ISGOMOCK indicates that this struct is a gomock mock.

func (*MockRestrictedSQLExecutor) ParseWithParams

func (m *MockRestrictedSQLExecutor) ParseWithParams(arg0 context.Context, arg1 string, arg2 ...any) (ast.StmtNode, error)

ParseWithParams mocks base method.

type MockRestrictedSQLExecutorMockRecorder

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

MockRestrictedSQLExecutorMockRecorder is the mock recorder for MockRestrictedSQLExecutor.

func (*MockRestrictedSQLExecutorMockRecorder) ExecRestrictedSQL

func (mr *MockRestrictedSQLExecutorMockRecorder) ExecRestrictedSQL(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call

ExecRestrictedSQL indicates an expected call of ExecRestrictedSQL.

func (*MockRestrictedSQLExecutorMockRecorder) ExecRestrictedStmt

func (mr *MockRestrictedSQLExecutorMockRecorder) ExecRestrictedStmt(arg0, arg1 any, arg2 ...any) *gomock.Call

ExecRestrictedStmt indicates an expected call of ExecRestrictedStmt.

func (*MockRestrictedSQLExecutorMockRecorder) ParseWithParams

func (mr *MockRestrictedSQLExecutorMockRecorder) ParseWithParams(arg0, arg1 any, arg2 ...any) *gomock.Call

ParseWithParams indicates an expected call of ParseWithParams.

type RestrictedSQLExecutorKey

type RestrictedSQLExecutorKey struct{}

RestrictedSQLExecutorKey is the key to represent MockRestrictedSQLExecutorMockRecorder in ctx.

func (RestrictedSQLExecutorKey) String

func (k RestrictedSQLExecutorKey) String() string

String implements the string.Stringer interface.

Jump to

Keyboard shortcuts

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