Documentation ¶
Overview ¶
Package mock_postgres is a generated GoMock package.
Index ¶
- type MockPgxPoolIface
- func (m *MockPgxPoolIface) Close()
- func (m *MockPgxPoolIface) EXPECT() *MockPgxPoolIfaceMockRecorder
- func (m *MockPgxPoolIface) Exec(ctx context.Context, sql string, arguments ...interface{}) (pgconn.CommandTag, error)
- func (m *MockPgxPoolIface) Ping(ctx context.Context) error
- func (m *MockPgxPoolIface) Query(ctx context.Context, sql string, args ...interface{}) (pgx.Rows, error)
- func (m *MockPgxPoolIface) QueryRow(ctx context.Context, sql string, args ...interface{}) pgx.Row
- type MockPgxPoolIfaceMockRecorder
- func (mr *MockPgxPoolIfaceMockRecorder) Close() *gomock.Call
- func (mr *MockPgxPoolIfaceMockRecorder) Exec(ctx, sql interface{}, arguments ...interface{}) *gomock.Call
- func (mr *MockPgxPoolIfaceMockRecorder) Ping(ctx interface{}) *gomock.Call
- func (mr *MockPgxPoolIfaceMockRecorder) Query(ctx, sql interface{}, args ...interface{}) *gomock.Call
- func (mr *MockPgxPoolIfaceMockRecorder) QueryRow(ctx, sql interface{}, args ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPgxPoolIface ¶
type MockPgxPoolIface struct {
// contains filtered or unexported fields
}
MockPgxPoolIface is a mock of PgxPoolIface interface.
func NewMockPgxPoolIface ¶
func NewMockPgxPoolIface(ctrl *gomock.Controller) *MockPgxPoolIface
NewMockPgxPoolIface creates a new mock instance.
func (*MockPgxPoolIface) EXPECT ¶
func (m *MockPgxPoolIface) EXPECT() *MockPgxPoolIfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPgxPoolIface) Exec ¶
func (m *MockPgxPoolIface) Exec(ctx context.Context, sql string, arguments ...interface{}) (pgconn.CommandTag, error)
Exec mocks base method.
func (*MockPgxPoolIface) Ping ¶
func (m *MockPgxPoolIface) Ping(ctx context.Context) error
Ping mocks base method.
type MockPgxPoolIfaceMockRecorder ¶
type MockPgxPoolIfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockPgxPoolIfaceMockRecorder is the mock recorder for MockPgxPoolIface.
func (*MockPgxPoolIfaceMockRecorder) Close ¶
func (mr *MockPgxPoolIfaceMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockPgxPoolIfaceMockRecorder) Exec ¶
func (mr *MockPgxPoolIfaceMockRecorder) Exec(ctx, sql interface{}, arguments ...interface{}) *gomock.Call
Exec indicates an expected call of Exec.
func (*MockPgxPoolIfaceMockRecorder) Ping ¶
func (mr *MockPgxPoolIfaceMockRecorder) Ping(ctx interface{}) *gomock.Call
Ping indicates an expected call of Ping.
func (*MockPgxPoolIfaceMockRecorder) Query ¶
func (mr *MockPgxPoolIfaceMockRecorder) Query(ctx, sql interface{}, args ...interface{}) *gomock.Call
Query indicates an expected call of Query.
func (*MockPgxPoolIfaceMockRecorder) QueryRow ¶
func (mr *MockPgxPoolIfaceMockRecorder) QueryRow(ctx, sql interface{}, args ...interface{}) *gomock.Call
QueryRow indicates an expected call of QueryRow.
Click to show internal directories.
Click to hide internal directories.