Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockRestrictedSQLExecutor
- func (m *MockRestrictedSQLExecutor) EXPECT() *MockRestrictedSQLExecutorMockRecorder
- func (m *MockRestrictedSQLExecutor) ExecRestrictedSQL(arg0 context.Context, arg1 []func(*sqlexec.ExecOption), arg2 string, ...) ([]chunk.Row, []*resolve.ResultField, error)
- func (m *MockRestrictedSQLExecutor) ExecRestrictedStmt(arg0 context.Context, arg1 ast.StmtNode, arg2 ...func(*sqlexec.ExecOption)) ([]chunk.Row, []*resolve.ResultField, error)
- func (m *MockRestrictedSQLExecutor) ISGOMOCK() struct{}
- func (m *MockRestrictedSQLExecutor) ParseWithParams(arg0 context.Context, arg1 string, arg2 ...any) (ast.StmtNode, error)
- type MockRestrictedSQLExecutorMockRecorder
- func (mr *MockRestrictedSQLExecutorMockRecorder) ExecRestrictedSQL(arg0, arg1, arg2 any, arg3 ...any) *gomock.Call
- func (mr *MockRestrictedSQLExecutorMockRecorder) ExecRestrictedStmt(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockRestrictedSQLExecutorMockRecorder) ParseWithParams(arg0, arg1 any, arg2 ...any) *gomock.Call
- type RestrictedSQLExecutorKey
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 ¶
func (m *MockRestrictedSQLExecutor) EXPECT() *MockRestrictedSQLExecutorMockRecorder
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.