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.
Package mocks is a generated GoMock package.
Index ¶
- type AMQPConnection
- type AMQPConnectionMockRecorder
- type Database
- func (m *Database) Begin(arg0 context.Context) (pgx.Tx, error)
- func (m *Database) Close()
- func (m *Database) EXPECT() *DatabaseMockRecorder
- func (m *Database) Ping(arg0 context.Context) error
- func (m *Database) Query(arg0 context.Context, arg1 string, arg2 ...interface{}) (pgx.Rows, error)
- func (m *Database) QueryRow(arg0 context.Context, arg1 string, arg2 ...interface{}) pgx.Row
- type DatabaseMockRecorder
- func (mr *DatabaseMockRecorder) Begin(arg0 interface{}) *gomock.Call
- func (mr *DatabaseMockRecorder) Close() *gomock.Call
- func (mr *DatabaseMockRecorder) Ping(arg0 interface{}) *gomock.Call
- func (mr *DatabaseMockRecorder) Query(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *DatabaseMockRecorder) QueryRow(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type ReadCloser
- type ReadCloserMockRecorder
- type Redis
- type RedisClient
- func (m *RedisClient) Delete(arg0 context.Context, arg1 ...string) error
- func (m *RedisClient) EXPECT() *RedisClientMockRecorder
- func (m *RedisClient) Load(arg0 context.Context, arg1 string) (string, error)
- func (m *RedisClient) Store(arg0 context.Context, arg1 string, arg2 interface{}, arg3 time.Duration) error
- type RedisClientMockRecorder
- type RedisMockRecorder
- type Row
- type RowMockRecorder
- type Rows
- func (m *Rows) Close()
- func (m *Rows) CommandTag() pgconn.CommandTag
- func (m *Rows) EXPECT() *RowsMockRecorder
- func (m *Rows) Err() error
- func (m *Rows) FieldDescriptions() []pgproto3.FieldDescription
- func (m *Rows) Next() bool
- func (m *Rows) RawValues() [][]byte
- func (m *Rows) Scan(arg0 ...interface{}) error
- func (m *Rows) Values() ([]interface{}, error)
- type RowsMockRecorder
- func (mr *RowsMockRecorder) Close() *gomock.Call
- func (mr *RowsMockRecorder) CommandTag() *gomock.Call
- func (mr *RowsMockRecorder) Err() *gomock.Call
- func (mr *RowsMockRecorder) FieldDescriptions() *gomock.Call
- func (mr *RowsMockRecorder) Next() *gomock.Call
- func (mr *RowsMockRecorder) RawValues() *gomock.Call
- func (mr *RowsMockRecorder) Scan(arg0 ...interface{}) *gomock.Call
- func (mr *RowsMockRecorder) Values() *gomock.Call
- type Tx
- func (m *Tx) Begin(arg0 context.Context) (pgx.Tx, error)
- func (m *Tx) BeginFunc(arg0 context.Context, arg1 func(pgx.Tx) error) error
- func (m *Tx) Commit(arg0 context.Context) error
- func (m *Tx) Conn() *pgx.Conn
- func (m *Tx) CopyFrom(arg0 context.Context, arg1 pgx.Identifier, arg2 []string, ...) (int64, error)
- func (m *Tx) EXPECT() *TxMockRecorder
- func (m *Tx) Exec(arg0 context.Context, arg1 string, arg2 ...interface{}) (pgconn.CommandTag, error)
- func (m *Tx) LargeObjects() pgx.LargeObjects
- func (m *Tx) Prepare(arg0 context.Context, arg1, arg2 string) (*pgconn.StatementDescription, error)
- func (m *Tx) Query(arg0 context.Context, arg1 string, arg2 ...interface{}) (pgx.Rows, error)
- func (m *Tx) QueryFunc(arg0 context.Context, arg1 string, arg2, arg3 []interface{}, ...) (pgconn.CommandTag, error)
- func (m *Tx) QueryRow(arg0 context.Context, arg1 string, arg2 ...interface{}) pgx.Row
- func (m *Tx) Rollback(arg0 context.Context) error
- func (m *Tx) SendBatch(arg0 context.Context, arg1 *pgx.Batch) pgx.BatchResults
- type TxMockRecorder
- func (mr *TxMockRecorder) Begin(arg0 interface{}) *gomock.Call
- func (mr *TxMockRecorder) BeginFunc(arg0, arg1 interface{}) *gomock.Call
- func (mr *TxMockRecorder) Commit(arg0 interface{}) *gomock.Call
- func (mr *TxMockRecorder) Conn() *gomock.Call
- func (mr *TxMockRecorder) CopyFrom(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *TxMockRecorder) Exec(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *TxMockRecorder) LargeObjects() *gomock.Call
- func (mr *TxMockRecorder) Prepare(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *TxMockRecorder) Query(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *TxMockRecorder) QueryFunc(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *TxMockRecorder) QueryRow(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *TxMockRecorder) Rollback(arg0 interface{}) *gomock.Call
- func (mr *TxMockRecorder) SendBatch(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AMQPConnection ¶ added in v4.23.0
type AMQPConnection struct {
// contains filtered or unexported fields
}
AMQPConnection is a mock of Connection interface.
func NewAMQPConnection ¶ added in v4.23.0
func NewAMQPConnection(ctrl *gomock.Controller) *AMQPConnection
NewAMQPConnection creates a new mock instance.
func (*AMQPConnection) Close ¶ added in v4.23.0
func (m *AMQPConnection) Close() error
Close mocks base method.
func (*AMQPConnection) EXPECT ¶ added in v4.23.0
func (m *AMQPConnection) EXPECT() *AMQPConnectionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*AMQPConnection) IsClosed ¶ added in v4.23.0
func (m *AMQPConnection) IsClosed() bool
IsClosed mocks base method.
type AMQPConnectionMockRecorder ¶ added in v4.23.0
type AMQPConnectionMockRecorder struct {
// contains filtered or unexported fields
}
AMQPConnectionMockRecorder is the mock recorder for AMQPConnection.
func (*AMQPConnectionMockRecorder) Close ¶ added in v4.23.0
func (mr *AMQPConnectionMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*AMQPConnectionMockRecorder) IsClosed ¶ added in v4.23.0
func (mr *AMQPConnectionMockRecorder) IsClosed() *gomock.Call
IsClosed indicates an expected call of IsClosed.
type Database ¶ added in v4.24.0
type Database struct {
// contains filtered or unexported fields
}
Database is a mock of Database interface.
func NewDatabase ¶ added in v4.24.0
func NewDatabase(ctrl *gomock.Controller) *Database
NewDatabase creates a new mock instance.
func (*Database) EXPECT ¶ added in v4.24.0
func (m *Database) EXPECT() *DatabaseMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type DatabaseMockRecorder ¶ added in v4.24.0
type DatabaseMockRecorder struct {
// contains filtered or unexported fields
}
DatabaseMockRecorder is the mock recorder for Database.
func (*DatabaseMockRecorder) Begin ¶ added in v4.24.0
func (mr *DatabaseMockRecorder) Begin(arg0 interface{}) *gomock.Call
Begin indicates an expected call of Begin.
func (*DatabaseMockRecorder) Close ¶ added in v4.24.0
func (mr *DatabaseMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*DatabaseMockRecorder) Ping ¶ added in v4.24.0
func (mr *DatabaseMockRecorder) Ping(arg0 interface{}) *gomock.Call
Ping indicates an expected call of Ping.
func (*DatabaseMockRecorder) Query ¶ added in v4.24.0
func (mr *DatabaseMockRecorder) Query(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Query indicates an expected call of Query.
func (*DatabaseMockRecorder) QueryRow ¶ added in v4.24.0
func (mr *DatabaseMockRecorder) QueryRow(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
QueryRow indicates an expected call of QueryRow.
type ReadCloser ¶ added in v4.22.3
type ReadCloser struct {
// contains filtered or unexported fields
}
ReadCloser is a mock of ReadCloser interface.
func NewReadCloser ¶ added in v4.22.3
func NewReadCloser(ctrl *gomock.Controller) *ReadCloser
NewReadCloser creates a new mock instance.
func (*ReadCloser) Close ¶ added in v4.22.3
func (m *ReadCloser) Close() error
Close mocks base method.
func (*ReadCloser) EXPECT ¶ added in v4.22.3
func (m *ReadCloser) EXPECT() *ReadCloserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type ReadCloserMockRecorder ¶ added in v4.22.3
type ReadCloserMockRecorder struct {
// contains filtered or unexported fields
}
ReadCloserMockRecorder is the mock recorder for ReadCloser.
func (*ReadCloserMockRecorder) Close ¶ added in v4.22.3
func (mr *ReadCloserMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*ReadCloserMockRecorder) Read ¶ added in v4.22.3
func (mr *ReadCloserMockRecorder) Read(arg0 interface{}) *gomock.Call
Read indicates an expected call of Read.
type Redis ¶
type Redis struct {
// contains filtered or unexported fields
}
Redis is a mock of Redis interface.
func (*Redis) EXPECT ¶
func (m *Redis) EXPECT() *RedisMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type RedisClient ¶ added in v4.28.0
type RedisClient struct {
// contains filtered or unexported fields
}
RedisClient is a mock of RedisClient interface.
func NewRedisClient ¶ added in v4.28.0
func NewRedisClient(ctrl *gomock.Controller) *RedisClient
NewRedisClient creates a new mock instance.
func (*RedisClient) Delete ¶ added in v4.28.0
func (m *RedisClient) Delete(arg0 context.Context, arg1 ...string) error
Delete mocks base method.
func (*RedisClient) EXPECT ¶ added in v4.28.0
func (m *RedisClient) EXPECT() *RedisClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type RedisClientMockRecorder ¶ added in v4.28.0
type RedisClientMockRecorder struct {
// contains filtered or unexported fields
}
RedisClientMockRecorder is the mock recorder for RedisClient.
func (*RedisClientMockRecorder) Delete ¶ added in v4.28.0
func (mr *RedisClientMockRecorder) Delete(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*RedisClientMockRecorder) Load ¶ added in v4.28.0
func (mr *RedisClientMockRecorder) Load(arg0, arg1 interface{}) *gomock.Call
Load indicates an expected call of Load.
func (*RedisClientMockRecorder) Store ¶ added in v4.28.0
func (mr *RedisClientMockRecorder) Store(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Store indicates an expected call of Store.
type RedisMockRecorder ¶
type RedisMockRecorder struct {
// contains filtered or unexported fields
}
RedisMockRecorder is the mock recorder for Redis.
func (*RedisMockRecorder) Exclusive ¶
func (mr *RedisMockRecorder) Exclusive(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Exclusive indicates an expected call of Exclusive.
func (*RedisMockRecorder) Ping ¶
func (mr *RedisMockRecorder) Ping() *gomock.Call
Ping indicates an expected call of Ping.
type Row ¶ added in v4.24.0
type Row struct {
// contains filtered or unexported fields
}
Row is a mock of Row interface.
func NewRow ¶ added in v4.24.0
func NewRow(ctrl *gomock.Controller) *Row
NewRow creates a new mock instance.
func (*Row) EXPECT ¶ added in v4.24.0
func (m *Row) EXPECT() *RowMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type RowMockRecorder ¶ added in v4.24.0
type RowMockRecorder struct {
// contains filtered or unexported fields
}
RowMockRecorder is the mock recorder for Row.
func (*RowMockRecorder) Scan ¶ added in v4.24.0
func (mr *RowMockRecorder) Scan(arg0 ...interface{}) *gomock.Call
Scan indicates an expected call of Scan.
type Rows ¶ added in v4.24.0
type Rows struct {
// contains filtered or unexported fields
}
Rows is a mock of Rows interface.
func NewRows ¶ added in v4.24.0
func NewRows(ctrl *gomock.Controller) *Rows
NewRows creates a new mock instance.
func (*Rows) CommandTag ¶ added in v4.24.0
func (m *Rows) CommandTag() pgconn.CommandTag
CommandTag mocks base method.
func (*Rows) EXPECT ¶ added in v4.24.0
func (m *Rows) EXPECT() *RowsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Rows) FieldDescriptions ¶ added in v4.24.0
func (m *Rows) FieldDescriptions() []pgproto3.FieldDescription
FieldDescriptions mocks base method.
type RowsMockRecorder ¶ added in v4.24.0
type RowsMockRecorder struct {
// contains filtered or unexported fields
}
RowsMockRecorder is the mock recorder for Rows.
func (*RowsMockRecorder) Close ¶ added in v4.24.0
func (mr *RowsMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*RowsMockRecorder) CommandTag ¶ added in v4.24.0
func (mr *RowsMockRecorder) CommandTag() *gomock.Call
CommandTag indicates an expected call of CommandTag.
func (*RowsMockRecorder) Err ¶ added in v4.24.0
func (mr *RowsMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err.
func (*RowsMockRecorder) FieldDescriptions ¶ added in v4.24.0
func (mr *RowsMockRecorder) FieldDescriptions() *gomock.Call
FieldDescriptions indicates an expected call of FieldDescriptions.
func (*RowsMockRecorder) Next ¶ added in v4.24.0
func (mr *RowsMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
func (*RowsMockRecorder) RawValues ¶ added in v4.24.0
func (mr *RowsMockRecorder) RawValues() *gomock.Call
RawValues indicates an expected call of RawValues.
func (*RowsMockRecorder) Scan ¶ added in v4.24.0
func (mr *RowsMockRecorder) Scan(arg0 ...interface{}) *gomock.Call
Scan indicates an expected call of Scan.
func (*RowsMockRecorder) Values ¶ added in v4.24.0
func (mr *RowsMockRecorder) Values() *gomock.Call
Values indicates an expected call of Values.
type Tx ¶ added in v4.24.0
type Tx struct {
// contains filtered or unexported fields
}
Tx is a mock of Tx interface.
func NewTx ¶ added in v4.24.0
func NewTx(ctrl *gomock.Controller) *Tx
NewTx creates a new mock instance.
func (*Tx) CopyFrom ¶ added in v4.24.0
func (m *Tx) CopyFrom(arg0 context.Context, arg1 pgx.Identifier, arg2 []string, arg3 pgx.CopyFromSource) (int64, error)
CopyFrom mocks base method.
func (*Tx) EXPECT ¶ added in v4.24.0
func (m *Tx) EXPECT() *TxMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Tx) Exec ¶ added in v4.24.0
func (m *Tx) Exec(arg0 context.Context, arg1 string, arg2 ...interface{}) (pgconn.CommandTag, error)
Exec mocks base method.
func (*Tx) LargeObjects ¶ added in v4.24.0
func (m *Tx) LargeObjects() pgx.LargeObjects
LargeObjects mocks base method.
func (*Tx) QueryFunc ¶ added in v4.24.0
func (m *Tx) QueryFunc(arg0 context.Context, arg1 string, arg2, arg3 []interface{}, arg4 func(pgx.QueryFuncRow) error) (pgconn.CommandTag, error)
QueryFunc mocks base method.
type TxMockRecorder ¶ added in v4.24.0
type TxMockRecorder struct {
// contains filtered or unexported fields
}
TxMockRecorder is the mock recorder for Tx.
func (*TxMockRecorder) Begin ¶ added in v4.24.0
func (mr *TxMockRecorder) Begin(arg0 interface{}) *gomock.Call
Begin indicates an expected call of Begin.
func (*TxMockRecorder) BeginFunc ¶ added in v4.24.0
func (mr *TxMockRecorder) BeginFunc(arg0, arg1 interface{}) *gomock.Call
BeginFunc indicates an expected call of BeginFunc.
func (*TxMockRecorder) Commit ¶ added in v4.24.0
func (mr *TxMockRecorder) Commit(arg0 interface{}) *gomock.Call
Commit indicates an expected call of Commit.
func (*TxMockRecorder) Conn ¶ added in v4.24.0
func (mr *TxMockRecorder) Conn() *gomock.Call
Conn indicates an expected call of Conn.
func (*TxMockRecorder) CopyFrom ¶ added in v4.24.0
func (mr *TxMockRecorder) CopyFrom(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CopyFrom indicates an expected call of CopyFrom.
func (*TxMockRecorder) Exec ¶ added in v4.24.0
func (mr *TxMockRecorder) Exec(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Exec indicates an expected call of Exec.
func (*TxMockRecorder) LargeObjects ¶ added in v4.24.0
func (mr *TxMockRecorder) LargeObjects() *gomock.Call
LargeObjects indicates an expected call of LargeObjects.
func (*TxMockRecorder) Prepare ¶ added in v4.24.0
func (mr *TxMockRecorder) Prepare(arg0, arg1, arg2 interface{}) *gomock.Call
Prepare indicates an expected call of Prepare.
func (*TxMockRecorder) Query ¶ added in v4.24.0
func (mr *TxMockRecorder) Query(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Query indicates an expected call of Query.
func (*TxMockRecorder) QueryFunc ¶ added in v4.24.0
func (mr *TxMockRecorder) QueryFunc(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
QueryFunc indicates an expected call of QueryFunc.
func (*TxMockRecorder) QueryRow ¶ added in v4.24.0
func (mr *TxMockRecorder) QueryRow(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
QueryRow indicates an expected call of QueryRow.
func (*TxMockRecorder) Rollback ¶ added in v4.24.0
func (mr *TxMockRecorder) Rollback(arg0 interface{}) *gomock.Call
Rollback indicates an expected call of Rollback.
func (*TxMockRecorder) SendBatch ¶ added in v4.24.0
func (mr *TxMockRecorder) SendBatch(arg0, arg1 interface{}) *gomock.Call
SendBatch indicates an expected call of SendBatch.