Documentation ¶
Index ¶
- type BoundValue
- func (_m *BoundValue) Copy() base.BoundValue
- func (_m *BoundValue) Encode() ([]byte, error)
- func (_m *BoundValue) Format() base.BoundValueFormat
- func (_m *BoundValue) GetData(setting config.ColumnEncryptionSetting) ([]byte, error)
- func (_m *BoundValue) GetType() byte
- func (_m *BoundValue) SetData(newData []byte, setting config.ColumnEncryptionSetting) error
- type ClientSession
- func (_m *ClientSession) ClientConnection() net.Conn
- func (_m *ClientSession) Context() context.Context
- func (_m *ClientSession) DatabaseConnection() net.Conn
- func (_m *ClientSession) DeleteData(_a0 string)
- func (_m *ClientSession) GetData(_a0 string) (interface{}, bool)
- func (_m *ClientSession) HasData(_a0 string) bool
- func (_m *ClientSession) PreparedStatementRegistry() base.PreparedStatementRegistry
- func (_m *ClientSession) ProtocolState() interface{}
- func (_m *ClientSession) SetData(_a0 string, _a1 interface{})
- func (_m *ClientSession) SetPreparedStatementRegistry(registry base.PreparedStatementRegistry)
- func (_m *ClientSession) SetProtocolState(state interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoundValue ¶
BoundValue is an autogenerated mock type for the BoundValue type
func NewBoundValue ¶
func NewBoundValue(t mockConstructorTestingTNewBoundValue) *BoundValue
NewBoundValue creates a new instance of BoundValue. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*BoundValue) Copy ¶
func (_m *BoundValue) Copy() base.BoundValue
Copy provides a mock function with given fields:
func (*BoundValue) Encode ¶
func (_m *BoundValue) Encode() ([]byte, error)
Encode provides a mock function with given fields:
func (*BoundValue) Format ¶
func (_m *BoundValue) Format() base.BoundValueFormat
Format provides a mock function with given fields:
func (*BoundValue) GetData ¶
func (_m *BoundValue) GetData(setting config.ColumnEncryptionSetting) ([]byte, error)
GetData provides a mock function with given fields: setting
func (*BoundValue) GetType ¶
func (_m *BoundValue) GetType() byte
GetType provides a mock function with given fields:
func (*BoundValue) SetData ¶
func (_m *BoundValue) SetData(newData []byte, setting config.ColumnEncryptionSetting) error
SetData provides a mock function with given fields: newData, setting
type ClientSession ¶
ClientSession is an autogenerated mock type for the ClientSession type
func NewClientSession ¶
func NewClientSession(t mockConstructorTestingTNewClientSession) *ClientSession
NewClientSession creates a new instance of ClientSession. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ClientSession) ClientConnection ¶
func (_m *ClientSession) ClientConnection() net.Conn
ClientConnection provides a mock function with given fields:
func (*ClientSession) Context ¶
func (_m *ClientSession) Context() context.Context
Context provides a mock function with given fields:
func (*ClientSession) DatabaseConnection ¶
func (_m *ClientSession) DatabaseConnection() net.Conn
DatabaseConnection provides a mock function with given fields:
func (*ClientSession) DeleteData ¶
func (_m *ClientSession) DeleteData(_a0 string)
DeleteData provides a mock function with given fields: _a0
func (*ClientSession) GetData ¶
func (_m *ClientSession) GetData(_a0 string) (interface{}, bool)
GetData provides a mock function with given fields: _a0
func (*ClientSession) HasData ¶
func (_m *ClientSession) HasData(_a0 string) bool
HasData provides a mock function with given fields: _a0
func (*ClientSession) PreparedStatementRegistry ¶
func (_m *ClientSession) PreparedStatementRegistry() base.PreparedStatementRegistry
PreparedStatementRegistry provides a mock function with given fields:
func (*ClientSession) ProtocolState ¶
func (_m *ClientSession) ProtocolState() interface{}
ProtocolState provides a mock function with given fields:
func (*ClientSession) SetData ¶
func (_m *ClientSession) SetData(_a0 string, _a1 interface{})
SetData provides a mock function with given fields: _a0, _a1
func (*ClientSession) SetPreparedStatementRegistry ¶
func (_m *ClientSession) SetPreparedStatementRegistry(registry base.PreparedStatementRegistry)
SetPreparedStatementRegistry provides a mock function with given fields: registry
func (*ClientSession) SetProtocolState ¶
func (_m *ClientSession) SetProtocolState(state interface{})
SetProtocolState provides a mock function with given fields: state