mocks

package
v0.0.0-...-982e07a Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoundValue

type BoundValue struct {
	mock.Mock
}

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

type ClientSession struct {
	mock.Mock
}

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

Jump to

Keyboard shortcuts

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