mock_check

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: May 3, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_check is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTx

type MockTx struct {
	// contains filtered or unexported fields
}

MockTx is a mock of Tx interface

func NewMockTx

func NewMockTx(ctrl *gomock.Controller) *MockTx

NewMockTx creates a new mock instance

func (*MockTx) Commit

func (m *MockTx) Commit() error

Commit mocks base method

func (*MockTx) EXPECT

func (m *MockTx) EXPECT() *MockTxMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockTx) Exec

func (m *MockTx) Exec(query string, args ...interface{}) (sql.Result, error)

Exec mocks base method

func (*MockTx) ExecContext

func (m *MockTx) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error)

ExecContext mocks base method

func (*MockTx) Prepare

func (m *MockTx) Prepare(query string) (*sql.Stmt, error)

Prepare mocks base method

func (*MockTx) PrepareContext

func (m *MockTx) PrepareContext(ctx context.Context, query string) (*sql.Stmt, error)

PrepareContext mocks base method

func (*MockTx) Query

func (m *MockTx) Query(query string, args ...interface{}) (*sql.Rows, error)

Query mocks base method

func (*MockTx) QueryContext

func (m *MockTx) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error)

QueryContext mocks base method

func (*MockTx) QueryRow

func (m *MockTx) QueryRow(query string, args ...interface{}) *sql.Row

QueryRow mocks base method

func (*MockTx) QueryRowContext

func (m *MockTx) QueryRowContext(ctx context.Context, query string, args ...interface{}) *sql.Row

QueryRowContext mocks base method

func (*MockTx) Rollback

func (m *MockTx) Rollback() error

Rollback mocks base method

func (*MockTx) Stmt

func (m *MockTx) Stmt(stmt *sql.Stmt) *sql.Stmt

Stmt mocks base method

func (*MockTx) StmtContext

func (m *MockTx) StmtContext(ctx context.Context, stmt *sql.Stmt) *sql.Stmt

StmtContext mocks base method

type MockTxMockRecorder

type MockTxMockRecorder struct {
	// contains filtered or unexported fields
}

MockTxMockRecorder is the mock recorder for MockTx

func (*MockTxMockRecorder) Commit

func (mr *MockTxMockRecorder) Commit() *gomock.Call

Commit indicates an expected call of Commit

func (*MockTxMockRecorder) Exec

func (mr *MockTxMockRecorder) Exec(query interface{}, args ...interface{}) *gomock.Call

Exec indicates an expected call of Exec

func (*MockTxMockRecorder) ExecContext

func (mr *MockTxMockRecorder) ExecContext(ctx, query interface{}, args ...interface{}) *gomock.Call

ExecContext indicates an expected call of ExecContext

func (*MockTxMockRecorder) Prepare

func (mr *MockTxMockRecorder) Prepare(query interface{}) *gomock.Call

Prepare indicates an expected call of Prepare

func (*MockTxMockRecorder) PrepareContext

func (mr *MockTxMockRecorder) PrepareContext(ctx, query interface{}) *gomock.Call

PrepareContext indicates an expected call of PrepareContext

func (*MockTxMockRecorder) Query

func (mr *MockTxMockRecorder) Query(query interface{}, args ...interface{}) *gomock.Call

Query indicates an expected call of Query

func (*MockTxMockRecorder) QueryContext

func (mr *MockTxMockRecorder) QueryContext(ctx, query interface{}, args ...interface{}) *gomock.Call

QueryContext indicates an expected call of QueryContext

func (*MockTxMockRecorder) QueryRow

func (mr *MockTxMockRecorder) QueryRow(query interface{}, args ...interface{}) *gomock.Call

QueryRow indicates an expected call of QueryRow

func (*MockTxMockRecorder) QueryRowContext

func (mr *MockTxMockRecorder) QueryRowContext(ctx, query interface{}, args ...interface{}) *gomock.Call

QueryRowContext indicates an expected call of QueryRowContext

func (*MockTxMockRecorder) Rollback

func (mr *MockTxMockRecorder) Rollback() *gomock.Call

Rollback indicates an expected call of Rollback

func (*MockTxMockRecorder) Stmt

func (mr *MockTxMockRecorder) Stmt(stmt interface{}) *gomock.Call

Stmt indicates an expected call of Stmt

func (*MockTxMockRecorder) StmtContext

func (mr *MockTxMockRecorder) StmtContext(ctx, stmt interface{}) *gomock.Call

StmtContext indicates an expected call of StmtContext

type MockTxProvider

type MockTxProvider struct {
	// contains filtered or unexported fields
}

MockTxProvider is a mock of TxProvider interface

func NewMockTxProvider

func NewMockTxProvider(ctrl *gomock.Controller) *MockTxProvider

NewMockTxProvider creates a new mock instance

func (*MockTxProvider) Begin

func (m *MockTxProvider) Begin() (x.Tx, error)

Begin mocks base method

func (*MockTxProvider) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

type MockTxProviderMockRecorder

type MockTxProviderMockRecorder struct {
	// contains filtered or unexported fields
}

MockTxProviderMockRecorder is the mock recorder for MockTxProvider

func (*MockTxProviderMockRecorder) Begin

func (mr *MockTxProviderMockRecorder) Begin() *gomock.Call

Begin indicates an expected call of Begin

Jump to

Keyboard shortcuts

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