fakes

package
v0.0.0-...-e20ad14 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transaction

type Transaction struct {
	ExecStub func(query string, args ...interface{}) (sql.Result, error)

	QueryRowStub func(query string, args ...interface{}) db.RowScanner

	QueryxStub func(query string, args ...interface{}) (*sqlx.Rows, error)

	CommitStub func() error

	RollbackStub func() error

	RebindStub func(string) string

	DriverNameStub func() string
	// contains filtered or unexported fields
}

func (*Transaction) Commit

func (fake *Transaction) Commit() error

func (*Transaction) CommitCallCount

func (fake *Transaction) CommitCallCount() int

func (*Transaction) CommitReturns

func (fake *Transaction) CommitReturns(result1 error)

func (*Transaction) CommitReturnsOnCall

func (fake *Transaction) CommitReturnsOnCall(i int, result1 error)

func (*Transaction) DriverName

func (fake *Transaction) DriverName() string

func (*Transaction) DriverNameCallCount

func (fake *Transaction) DriverNameCallCount() int

func (*Transaction) DriverNameReturns

func (fake *Transaction) DriverNameReturns(result1 string)

func (*Transaction) DriverNameReturnsOnCall

func (fake *Transaction) DriverNameReturnsOnCall(i int, result1 string)

func (*Transaction) Exec

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

func (*Transaction) ExecArgsForCall

func (fake *Transaction) ExecArgsForCall(i int) (string, []interface{})

func (*Transaction) ExecCallCount

func (fake *Transaction) ExecCallCount() int

func (*Transaction) ExecReturns

func (fake *Transaction) ExecReturns(result1 sql.Result, result2 error)

func (*Transaction) ExecReturnsOnCall

func (fake *Transaction) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)

func (*Transaction) Invocations

func (fake *Transaction) Invocations() map[string][][]interface{}

func (*Transaction) QueryRow

func (fake *Transaction) QueryRow(query string, args ...interface{}) db.RowScanner

func (*Transaction) QueryRowArgsForCall

func (fake *Transaction) QueryRowArgsForCall(i int) (string, []interface{})

func (*Transaction) QueryRowCallCount

func (fake *Transaction) QueryRowCallCount() int

func (*Transaction) QueryRowReturns

func (fake *Transaction) QueryRowReturns(result1 db.RowScanner)

func (*Transaction) QueryRowReturnsOnCall

func (fake *Transaction) QueryRowReturnsOnCall(i int, result1 db.RowScanner)

func (*Transaction) Queryx

func (fake *Transaction) Queryx(query string, args ...interface{}) (*sqlx.Rows, error)

func (*Transaction) QueryxArgsForCall

func (fake *Transaction) QueryxArgsForCall(i int) (string, []interface{})

func (*Transaction) QueryxCallCount

func (fake *Transaction) QueryxCallCount() int

func (*Transaction) QueryxReturns

func (fake *Transaction) QueryxReturns(result1 *sqlx.Rows, result2 error)

func (*Transaction) QueryxReturnsOnCall

func (fake *Transaction) QueryxReturnsOnCall(i int, result1 *sqlx.Rows, result2 error)

func (*Transaction) Rebind

func (fake *Transaction) Rebind(arg1 string) string

func (*Transaction) RebindArgsForCall

func (fake *Transaction) RebindArgsForCall(i int) string

func (*Transaction) RebindCallCount

func (fake *Transaction) RebindCallCount() int

func (*Transaction) RebindReturns

func (fake *Transaction) RebindReturns(result1 string)

func (*Transaction) RebindReturnsOnCall

func (fake *Transaction) RebindReturnsOnCall(i int, result1 string)

func (*Transaction) Rollback

func (fake *Transaction) Rollback() error

func (*Transaction) RollbackCallCount

func (fake *Transaction) RollbackCallCount() int

func (*Transaction) RollbackReturns

func (fake *Transaction) RollbackReturns(result1 error)

func (*Transaction) RollbackReturnsOnCall

func (fake *Transaction) RollbackReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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