Documentation ¶
Overview ¶
Package mock_psql is a generated GoMock package.
Package mock_psql is a generated GoMock package.
Package mock_psql is a generated GoMock package.
Index ¶
- type MockPgxPool
- func (m *MockPgxPool) Close()
- func (m *MockPgxPool) EXPECT() *MockPgxPoolMockRecorder
- func (m *MockPgxPool) Exec(ctx context.Context, sql string, arguments ...interface{}) (pgconn.CommandTag, error)
- func (m *MockPgxPool) Query(ctx context.Context, sql string, optionsAndArgs ...interface{}) (pgx.Rows, error)
- func (m *MockPgxPool) QueryRow(ctx context.Context, sql string, optionsAndArgs ...interface{}) pgx.Row
- type MockPgxPoolMockRecorder
- func (mr *MockPgxPoolMockRecorder) Close() *gomock.Call
- func (mr *MockPgxPoolMockRecorder) Exec(ctx, sql interface{}, arguments ...interface{}) *gomock.Call
- func (mr *MockPgxPoolMockRecorder) Query(ctx, sql interface{}, optionsAndArgs ...interface{}) *gomock.Call
- func (mr *MockPgxPoolMockRecorder) QueryRow(ctx, sql interface{}, optionsAndArgs ...interface{}) *gomock.Call
- type MockRow
- type MockRowMockRecorder
- type MockRows
- func (m *MockRows) Close()
- func (m *MockRows) CommandTag() pgconn.CommandTag
- func (m *MockRows) EXPECT() *MockRowsMockRecorder
- func (m *MockRows) Err() error
- func (m *MockRows) FieldDescriptions() []pgproto3.FieldDescription
- func (m *MockRows) Next() bool
- func (m *MockRows) RawValues() [][]byte
- func (m *MockRows) Scan(arg0 ...interface{}) error
- func (m *MockRows) Values() ([]interface{}, error)
- type MockRowsMockRecorder
- func (mr *MockRowsMockRecorder) Close() *gomock.Call
- func (mr *MockRowsMockRecorder) CommandTag() *gomock.Call
- func (mr *MockRowsMockRecorder) Err() *gomock.Call
- func (mr *MockRowsMockRecorder) FieldDescriptions() *gomock.Call
- func (mr *MockRowsMockRecorder) Next() *gomock.Call
- func (mr *MockRowsMockRecorder) RawValues() *gomock.Call
- func (mr *MockRowsMockRecorder) Scan(arg0 ...interface{}) *gomock.Call
- func (mr *MockRowsMockRecorder) Values() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPgxPool ¶
type MockPgxPool struct {
// contains filtered or unexported fields
}
MockPgxPool is a mock of PgxPool interface.
func NewMockPgxPool ¶
func NewMockPgxPool(ctrl *gomock.Controller) *MockPgxPool
NewMockPgxPool creates a new mock instance.
func (*MockPgxPool) EXPECT ¶
func (m *MockPgxPool) EXPECT() *MockPgxPoolMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPgxPool) Exec ¶
func (m *MockPgxPool) Exec(ctx context.Context, sql string, arguments ...interface{}) (pgconn.CommandTag, error)
Exec mocks base method.
type MockPgxPoolMockRecorder ¶
type MockPgxPoolMockRecorder struct {
// contains filtered or unexported fields
}
MockPgxPoolMockRecorder is the mock recorder for MockPgxPool.
func (*MockPgxPoolMockRecorder) Close ¶
func (mr *MockPgxPoolMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockPgxPoolMockRecorder) Exec ¶
func (mr *MockPgxPoolMockRecorder) Exec(ctx, sql interface{}, arguments ...interface{}) *gomock.Call
Exec indicates an expected call of Exec.
func (*MockPgxPoolMockRecorder) Query ¶
func (mr *MockPgxPoolMockRecorder) Query(ctx, sql interface{}, optionsAndArgs ...interface{}) *gomock.Call
Query indicates an expected call of Query.
func (*MockPgxPoolMockRecorder) QueryRow ¶
func (mr *MockPgxPoolMockRecorder) QueryRow(ctx, sql interface{}, optionsAndArgs ...interface{}) *gomock.Call
QueryRow indicates an expected call of QueryRow.
type MockRow ¶
type MockRow struct {
// contains filtered or unexported fields
}
MockRow is a mock of Row interface.
func NewMockRow ¶
func NewMockRow(ctrl *gomock.Controller) *MockRow
NewMockRow creates a new mock instance.
func (*MockRow) EXPECT ¶
func (m *MockRow) EXPECT() *MockRowMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRowMockRecorder ¶
type MockRowMockRecorder struct {
// contains filtered or unexported fields
}
MockRowMockRecorder is the mock recorder for MockRow.
func (*MockRowMockRecorder) Scan ¶
func (mr *MockRowMockRecorder) Scan(arg0 ...interface{}) *gomock.Call
Scan indicates an expected call of Scan.
type MockRows ¶
type MockRows struct {
// contains filtered or unexported fields
}
MockRows is a mock of Rows interface.
func NewMockRows ¶
func NewMockRows(ctrl *gomock.Controller) *MockRows
NewMockRows creates a new mock instance.
func (*MockRows) CommandTag ¶
func (m *MockRows) CommandTag() pgconn.CommandTag
CommandTag mocks base method.
func (*MockRows) EXPECT ¶
func (m *MockRows) EXPECT() *MockRowsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRows) FieldDescriptions ¶
func (m *MockRows) FieldDescriptions() []pgproto3.FieldDescription
FieldDescriptions mocks base method.
type MockRowsMockRecorder ¶
type MockRowsMockRecorder struct {
// contains filtered or unexported fields
}
MockRowsMockRecorder is the mock recorder for MockRows.
func (*MockRowsMockRecorder) Close ¶
func (mr *MockRowsMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockRowsMockRecorder) CommandTag ¶
func (mr *MockRowsMockRecorder) CommandTag() *gomock.Call
CommandTag indicates an expected call of CommandTag.
func (*MockRowsMockRecorder) Err ¶
func (mr *MockRowsMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err.
func (*MockRowsMockRecorder) FieldDescriptions ¶
func (mr *MockRowsMockRecorder) FieldDescriptions() *gomock.Call
FieldDescriptions indicates an expected call of FieldDescriptions.
func (*MockRowsMockRecorder) Next ¶
func (mr *MockRowsMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
func (*MockRowsMockRecorder) RawValues ¶
func (mr *MockRowsMockRecorder) RawValues() *gomock.Call
RawValues indicates an expected call of RawValues.
func (*MockRowsMockRecorder) Scan ¶
func (mr *MockRowsMockRecorder) Scan(arg0 ...interface{}) *gomock.Call
Scan indicates an expected call of Scan.
func (*MockRowsMockRecorder) Values ¶
func (mr *MockRowsMockRecorder) Values() *gomock.Call
Values indicates an expected call of Values.