Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockColumn
- func (m *MockColumn) Decimal() (int64, int64, bool)
- func (m *MockColumn) EXPECT() *MockColumnMockRecorder
- func (m *MockColumn) Name() string
- func (m *MockColumn) Nullable() (bool, bool)
- func (m *MockColumn) ScanType() reflect.Type
- func (m *MockColumn) Value() (driver.Value, error)
- func (m *MockColumn) VariableLength() (int64, bool)
- type MockColumnMockRecorder
- func (mr *MockColumnMockRecorder) Decimal() *gomock.Call
- func (mr *MockColumnMockRecorder) Name() *gomock.Call
- func (mr *MockColumnMockRecorder) Nullable() *gomock.Call
- func (mr *MockColumnMockRecorder) ScanType() *gomock.Call
- func (mr *MockColumnMockRecorder) Value() *gomock.Call
- func (mr *MockColumnMockRecorder) VariableLength() *gomock.Call
- type MockConnection
- func (m *MockConnection) Close() error
- func (m *MockConnection) Commit() error
- func (m *MockConnection) EXPECT() *MockConnectionMockRecorder
- func (m *MockConnection) Ping() error
- func (m *MockConnection) Rollback() error
- func (m *MockConnection) SetAutoCommit(autoCommit bool) error
- func (m *MockConnection) SetIsolationLevel(level odbc.IsolationLevel) error
- func (m *MockConnection) SetReadOnlyMode(readOnly odbc.ReadOnlyMode) error
- func (m *MockConnection) Statement() (odbc.Statement, error)
- type MockConnectionMockRecorder
- func (mr *MockConnectionMockRecorder) Close() *gomock.Call
- func (mr *MockConnectionMockRecorder) Commit() *gomock.Call
- func (mr *MockConnectionMockRecorder) Ping() *gomock.Call
- func (mr *MockConnectionMockRecorder) Rollback() *gomock.Call
- func (mr *MockConnectionMockRecorder) SetAutoCommit(autoCommit interface{}) *gomock.Call
- func (mr *MockConnectionMockRecorder) SetIsolationLevel(level interface{}) *gomock.Call
- func (mr *MockConnectionMockRecorder) SetReadOnlyMode(readOnly interface{}) *gomock.Call
- func (mr *MockConnectionMockRecorder) Statement() *gomock.Call
- type MockEnvironment
- func (m *MockEnvironment) Close() error
- func (m *MockEnvironment) Connect(ctx context.Context, connStr string) (odbc.Connection, error)
- func (m *MockEnvironment) EXPECT() *MockEnvironmentMockRecorder
- func (m *MockEnvironment) SetPoolOption(option odbc.PoolOption) error
- func (m *MockEnvironment) SetVersion(version odbc.Version) error
- type MockEnvironmentMockRecorder
- func (mr *MockEnvironmentMockRecorder) Close() *gomock.Call
- func (mr *MockEnvironmentMockRecorder) Connect(ctx, connStr interface{}) *gomock.Call
- func (mr *MockEnvironmentMockRecorder) SetPoolOption(option interface{}) *gomock.Call
- func (mr *MockEnvironmentMockRecorder) SetVersion(version interface{}) *gomock.Call
- type MockRecordSet
- func (m *MockRecordSet) Close() error
- func (m *MockRecordSet) Column(index int) odbc.Column
- func (m *MockRecordSet) ColumnNames() []string
- func (m *MockRecordSet) ColumnWithName(name string) odbc.Column
- func (m *MockRecordSet) EXPECT() *MockRecordSetMockRecorder
- func (m *MockRecordSet) Fetch() (bool, error)
- func (m *MockRecordSet) Statement() odbc.Statement
- func (m *MockRecordSet) Unmarshal(out interface{}) error
- type MockRecordSetMockRecorder
- func (mr *MockRecordSetMockRecorder) Close() *gomock.Call
- func (mr *MockRecordSetMockRecorder) Column(index interface{}) *gomock.Call
- func (mr *MockRecordSetMockRecorder) ColumnNames() *gomock.Call
- func (mr *MockRecordSetMockRecorder) ColumnWithName(name interface{}) *gomock.Call
- func (mr *MockRecordSetMockRecorder) Fetch() *gomock.Call
- func (mr *MockRecordSetMockRecorder) Statement() *gomock.Call
- func (mr *MockRecordSetMockRecorder) Unmarshal(out interface{}) *gomock.Call
- type MockStatement
- func (m *MockStatement) BindParams(params ...interface{}) error
- func (m *MockStatement) Close() error
- func (m *MockStatement) EXPECT() *MockStatementMockRecorder
- func (m *MockStatement) ExecDirect(ctx context.Context, sql string) error
- func (m *MockStatement) Execute(ctx context.Context) error
- func (m *MockStatement) NumParams() (int, error)
- func (m *MockStatement) Prepare(ctx context.Context, sql string) error
- func (m *MockStatement) RecordSet() (odbc.RecordSet, error)
- func (m *MockStatement) ResetParams() error
- func (m *MockStatement) SetConcurrency(concurrency odbc.Concurrency) error
- func (m *MockStatement) SetCursorSensitivity(sensitivity odbc.CursorSensitivity) error
- type MockStatementMockRecorder
- func (mr *MockStatementMockRecorder) BindParams(params ...interface{}) *gomock.Call
- func (mr *MockStatementMockRecorder) Close() *gomock.Call
- func (mr *MockStatementMockRecorder) ExecDirect(ctx, sql interface{}) *gomock.Call
- func (mr *MockStatementMockRecorder) Execute(ctx interface{}) *gomock.Call
- func (mr *MockStatementMockRecorder) NumParams() *gomock.Call
- func (mr *MockStatementMockRecorder) Prepare(ctx, sql interface{}) *gomock.Call
- func (mr *MockStatementMockRecorder) RecordSet() *gomock.Call
- func (mr *MockStatementMockRecorder) ResetParams() *gomock.Call
- func (mr *MockStatementMockRecorder) SetConcurrency(concurrency interface{}) *gomock.Call
- func (mr *MockStatementMockRecorder) SetCursorSensitivity(sensitivity interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockColumn ¶
type MockColumn struct {
// contains filtered or unexported fields
}
MockColumn is a mock of Column interface.
func NewMockColumn ¶
func NewMockColumn(ctrl *gomock.Controller) *MockColumn
NewMockColumn creates a new mock instance.
func (*MockColumn) Decimal ¶
func (m *MockColumn) Decimal() (int64, int64, bool)
Decimal mocks base method.
func (*MockColumn) EXPECT ¶
func (m *MockColumn) EXPECT() *MockColumnMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockColumn) Nullable ¶
func (m *MockColumn) Nullable() (bool, bool)
Nullable mocks base method.
func (*MockColumn) ScanType ¶
func (m *MockColumn) ScanType() reflect.Type
ScanType mocks base method.
func (*MockColumn) Value ¶
func (m *MockColumn) Value() (driver.Value, error)
Value mocks base method.
func (*MockColumn) VariableLength ¶
func (m *MockColumn) VariableLength() (int64, bool)
VariableLength mocks base method.
type MockColumnMockRecorder ¶
type MockColumnMockRecorder struct {
// contains filtered or unexported fields
}
MockColumnMockRecorder is the mock recorder for MockColumn.
func (*MockColumnMockRecorder) Decimal ¶
func (mr *MockColumnMockRecorder) Decimal() *gomock.Call
Decimal indicates an expected call of Decimal.
func (*MockColumnMockRecorder) Name ¶
func (mr *MockColumnMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockColumnMockRecorder) Nullable ¶
func (mr *MockColumnMockRecorder) Nullable() *gomock.Call
Nullable indicates an expected call of Nullable.
func (*MockColumnMockRecorder) ScanType ¶
func (mr *MockColumnMockRecorder) ScanType() *gomock.Call
ScanType indicates an expected call of ScanType.
func (*MockColumnMockRecorder) Value ¶
func (mr *MockColumnMockRecorder) Value() *gomock.Call
Value indicates an expected call of Value.
func (*MockColumnMockRecorder) VariableLength ¶
func (mr *MockColumnMockRecorder) VariableLength() *gomock.Call
VariableLength indicates an expected call of VariableLength.
type MockConnection ¶
type MockConnection struct {
// contains filtered or unexported fields
}
MockConnection is a mock of Connection interface.
func NewMockConnection ¶
func NewMockConnection(ctrl *gomock.Controller) *MockConnection
NewMockConnection creates a new mock instance.
func (*MockConnection) EXPECT ¶
func (m *MockConnection) EXPECT() *MockConnectionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConnection) Rollback ¶
func (m *MockConnection) Rollback() error
Rollback mocks base method.
func (*MockConnection) SetAutoCommit ¶
func (m *MockConnection) SetAutoCommit(autoCommit bool) error
SetAutoCommit mocks base method.
func (*MockConnection) SetIsolationLevel ¶
func (m *MockConnection) SetIsolationLevel(level odbc.IsolationLevel) error
SetIsolationLevel mocks base method.
func (*MockConnection) SetReadOnlyMode ¶
func (m *MockConnection) SetReadOnlyMode(readOnly odbc.ReadOnlyMode) error
SetReadOnlyMode mocks base method.
type MockConnectionMockRecorder ¶
type MockConnectionMockRecorder struct {
// contains filtered or unexported fields
}
MockConnectionMockRecorder is the mock recorder for MockConnection.
func (*MockConnectionMockRecorder) Close ¶
func (mr *MockConnectionMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockConnectionMockRecorder) Commit ¶
func (mr *MockConnectionMockRecorder) Commit() *gomock.Call
Commit indicates an expected call of Commit.
func (*MockConnectionMockRecorder) Ping ¶
func (mr *MockConnectionMockRecorder) Ping() *gomock.Call
Ping indicates an expected call of Ping.
func (*MockConnectionMockRecorder) Rollback ¶
func (mr *MockConnectionMockRecorder) Rollback() *gomock.Call
Rollback indicates an expected call of Rollback.
func (*MockConnectionMockRecorder) SetAutoCommit ¶
func (mr *MockConnectionMockRecorder) SetAutoCommit(autoCommit interface{}) *gomock.Call
SetAutoCommit indicates an expected call of SetAutoCommit.
func (*MockConnectionMockRecorder) SetIsolationLevel ¶
func (mr *MockConnectionMockRecorder) SetIsolationLevel(level interface{}) *gomock.Call
SetIsolationLevel indicates an expected call of SetIsolationLevel.
func (*MockConnectionMockRecorder) SetReadOnlyMode ¶
func (mr *MockConnectionMockRecorder) SetReadOnlyMode(readOnly interface{}) *gomock.Call
SetReadOnlyMode indicates an expected call of SetReadOnlyMode.
func (*MockConnectionMockRecorder) Statement ¶
func (mr *MockConnectionMockRecorder) Statement() *gomock.Call
Statement indicates an expected call of Statement.
type MockEnvironment ¶
type MockEnvironment struct {
// contains filtered or unexported fields
}
MockEnvironment is a mock of Environment interface.
func NewMockEnvironment ¶
func NewMockEnvironment(ctrl *gomock.Controller) *MockEnvironment
NewMockEnvironment creates a new mock instance.
func (*MockEnvironment) Connect ¶
func (m *MockEnvironment) Connect(ctx context.Context, connStr string) (odbc.Connection, error)
Connect mocks base method.
func (*MockEnvironment) EXPECT ¶
func (m *MockEnvironment) EXPECT() *MockEnvironmentMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEnvironment) SetPoolOption ¶
func (m *MockEnvironment) SetPoolOption(option odbc.PoolOption) error
SetPoolOption mocks base method.
func (*MockEnvironment) SetVersion ¶
func (m *MockEnvironment) SetVersion(version odbc.Version) error
SetVersion mocks base method.
type MockEnvironmentMockRecorder ¶
type MockEnvironmentMockRecorder struct {
// contains filtered or unexported fields
}
MockEnvironmentMockRecorder is the mock recorder for MockEnvironment.
func (*MockEnvironmentMockRecorder) Close ¶
func (mr *MockEnvironmentMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockEnvironmentMockRecorder) Connect ¶
func (mr *MockEnvironmentMockRecorder) Connect(ctx, connStr interface{}) *gomock.Call
Connect indicates an expected call of Connect.
func (*MockEnvironmentMockRecorder) SetPoolOption ¶
func (mr *MockEnvironmentMockRecorder) SetPoolOption(option interface{}) *gomock.Call
SetPoolOption indicates an expected call of SetPoolOption.
func (*MockEnvironmentMockRecorder) SetVersion ¶
func (mr *MockEnvironmentMockRecorder) SetVersion(version interface{}) *gomock.Call
SetVersion indicates an expected call of SetVersion.
type MockRecordSet ¶
type MockRecordSet struct {
// contains filtered or unexported fields
}
MockRecordSet is a mock of RecordSet interface.
func NewMockRecordSet ¶
func NewMockRecordSet(ctrl *gomock.Controller) *MockRecordSet
NewMockRecordSet creates a new mock instance.
func (*MockRecordSet) Column ¶
func (m *MockRecordSet) Column(index int) odbc.Column
Column mocks base method.
func (*MockRecordSet) ColumnNames ¶
func (m *MockRecordSet) ColumnNames() []string
ColumnNames mocks base method.
func (*MockRecordSet) ColumnWithName ¶
func (m *MockRecordSet) ColumnWithName(name string) odbc.Column
ColumnWithName mocks base method.
func (*MockRecordSet) EXPECT ¶
func (m *MockRecordSet) EXPECT() *MockRecordSetMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRecordSet) Fetch ¶
func (m *MockRecordSet) Fetch() (bool, error)
Fetch mocks base method.
func (*MockRecordSet) Statement ¶
func (m *MockRecordSet) Statement() odbc.Statement
Statement mocks base method.
func (*MockRecordSet) Unmarshal ¶
func (m *MockRecordSet) Unmarshal(out interface{}) error
Unmarshal mocks base method.
type MockRecordSetMockRecorder ¶
type MockRecordSetMockRecorder struct {
// contains filtered or unexported fields
}
MockRecordSetMockRecorder is the mock recorder for MockRecordSet.
func (*MockRecordSetMockRecorder) Close ¶
func (mr *MockRecordSetMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockRecordSetMockRecorder) Column ¶
func (mr *MockRecordSetMockRecorder) Column(index interface{}) *gomock.Call
Column indicates an expected call of Column.
func (*MockRecordSetMockRecorder) ColumnNames ¶
func (mr *MockRecordSetMockRecorder) ColumnNames() *gomock.Call
ColumnNames indicates an expected call of ColumnNames.
func (*MockRecordSetMockRecorder) ColumnWithName ¶
func (mr *MockRecordSetMockRecorder) ColumnWithName(name interface{}) *gomock.Call
ColumnWithName indicates an expected call of ColumnWithName.
func (*MockRecordSetMockRecorder) Fetch ¶
func (mr *MockRecordSetMockRecorder) Fetch() *gomock.Call
Fetch indicates an expected call of Fetch.
func (*MockRecordSetMockRecorder) Statement ¶
func (mr *MockRecordSetMockRecorder) Statement() *gomock.Call
Statement indicates an expected call of Statement.
func (*MockRecordSetMockRecorder) Unmarshal ¶
func (mr *MockRecordSetMockRecorder) Unmarshal(out interface{}) *gomock.Call
Unmarshal indicates an expected call of Unmarshal.
type MockStatement ¶
type MockStatement struct {
// contains filtered or unexported fields
}
MockStatement is a mock of Statement interface.
func NewMockStatement ¶
func NewMockStatement(ctrl *gomock.Controller) *MockStatement
NewMockStatement creates a new mock instance.
func (*MockStatement) BindParams ¶
func (m *MockStatement) BindParams(params ...interface{}) error
BindParams mocks base method.
func (*MockStatement) EXPECT ¶
func (m *MockStatement) EXPECT() *MockStatementMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStatement) ExecDirect ¶
func (m *MockStatement) ExecDirect(ctx context.Context, sql string) error
ExecDirect mocks base method.
func (*MockStatement) Execute ¶
func (m *MockStatement) Execute(ctx context.Context) error
Execute mocks base method.
func (*MockStatement) NumParams ¶
func (m *MockStatement) NumParams() (int, error)
NumParams mocks base method.
func (*MockStatement) Prepare ¶
func (m *MockStatement) Prepare(ctx context.Context, sql string) error
Prepare mocks base method.
func (*MockStatement) RecordSet ¶
func (m *MockStatement) RecordSet() (odbc.RecordSet, error)
RecordSet mocks base method.
func (*MockStatement) ResetParams ¶
func (m *MockStatement) ResetParams() error
ResetParams mocks base method.
func (*MockStatement) SetConcurrency ¶
func (m *MockStatement) SetConcurrency(concurrency odbc.Concurrency) error
SetConcurrency mocks base method.
func (*MockStatement) SetCursorSensitivity ¶
func (m *MockStatement) SetCursorSensitivity(sensitivity odbc.CursorSensitivity) error
SetCursorSensitivity mocks base method.
type MockStatementMockRecorder ¶
type MockStatementMockRecorder struct {
// contains filtered or unexported fields
}
MockStatementMockRecorder is the mock recorder for MockStatement.
func (*MockStatementMockRecorder) BindParams ¶
func (mr *MockStatementMockRecorder) BindParams(params ...interface{}) *gomock.Call
BindParams indicates an expected call of BindParams.
func (*MockStatementMockRecorder) Close ¶
func (mr *MockStatementMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockStatementMockRecorder) ExecDirect ¶
func (mr *MockStatementMockRecorder) ExecDirect(ctx, sql interface{}) *gomock.Call
ExecDirect indicates an expected call of ExecDirect.
func (*MockStatementMockRecorder) Execute ¶
func (mr *MockStatementMockRecorder) Execute(ctx interface{}) *gomock.Call
Execute indicates an expected call of Execute.
func (*MockStatementMockRecorder) NumParams ¶
func (mr *MockStatementMockRecorder) NumParams() *gomock.Call
NumParams indicates an expected call of NumParams.
func (*MockStatementMockRecorder) Prepare ¶
func (mr *MockStatementMockRecorder) Prepare(ctx, sql interface{}) *gomock.Call
Prepare indicates an expected call of Prepare.
func (*MockStatementMockRecorder) RecordSet ¶
func (mr *MockStatementMockRecorder) RecordSet() *gomock.Call
RecordSet indicates an expected call of RecordSet.
func (*MockStatementMockRecorder) ResetParams ¶
func (mr *MockStatementMockRecorder) ResetParams() *gomock.Call
ResetParams indicates an expected call of ResetParams.
func (*MockStatementMockRecorder) SetConcurrency ¶
func (mr *MockStatementMockRecorder) SetConcurrency(concurrency interface{}) *gomock.Call
SetConcurrency indicates an expected call of SetConcurrency.
func (*MockStatementMockRecorder) SetCursorSensitivity ¶
func (mr *MockStatementMockRecorder) SetCursorSensitivity(sensitivity interface{}) *gomock.Call
SetCursorSensitivity indicates an expected call of SetCursorSensitivity.