fakes

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 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 {
	CommitStub func() error

	DriverNameStub func() string

	ExecStub func(string, ...interface{}) (sql.Result, error)

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

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

	RebindStub func(string) string

	RollbackStub func() error
	// contains filtered or unexported fields
}

func (*Transaction) Commit

func (fake *Transaction) Commit() error

func (*Transaction) CommitCallCount

func (fake *Transaction) CommitCallCount() int

func (*Transaction) CommitCalls

func (fake *Transaction) CommitCalls(stub func() error)

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) DriverNameCalls

func (fake *Transaction) DriverNameCalls(stub func() string)

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(arg1 string, arg2 ...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) ExecCalls

func (fake *Transaction) ExecCalls(stub func(string, ...interface{}) (sql.Result, error))

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(arg1 string, arg2 ...interface{}) db.RowScanner

func (*Transaction) QueryRowArgsForCall

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

func (*Transaction) QueryRowCallCount

func (fake *Transaction) QueryRowCallCount() int

func (*Transaction) QueryRowCalls

func (fake *Transaction) QueryRowCalls(stub func(string, ...interface{}) db.RowScanner)

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(arg1 string, arg2 ...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) QueryxCalls

func (fake *Transaction) QueryxCalls(stub func(string, ...interface{}) (*sqlx.Rows, error))

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) RebindCalls

func (fake *Transaction) RebindCalls(stub func(string) string)

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) RollbackCalls

func (fake *Transaction) RollbackCalls(stub func() error)

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