helpersfakes

package
v0.0.0-...-2942e7d Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2021 License: Apache-2.0 Imports: 5 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 FakeQueryableDB

type FakeQueryableDB struct {
	BeginTxStub func(context.Context, *sql.TxOptions) (helpers.Tx, error)

	ExecContextStub func(context.Context, string, ...interface{}) (sql.Result, error)

	OpenConnectionsStub func() int

	PrepareContextStub func(context.Context, string) (*sql.Stmt, error)

	QueryContextStub func(context.Context, string, ...interface{}) (*sql.Rows, error)

	QueryRowContextStub func(context.Context, string, ...interface{}) helpers.RowScanner

	WaitCountStub func() int64

	WaitDurationStub func() time.Duration
	// contains filtered or unexported fields
}

func (*FakeQueryableDB) BeginTx

func (fake *FakeQueryableDB) BeginTx(arg1 context.Context, arg2 *sql.TxOptions) (helpers.Tx, error)

func (*FakeQueryableDB) BeginTxArgsForCall

func (fake *FakeQueryableDB) BeginTxArgsForCall(i int) (context.Context, *sql.TxOptions)

func (*FakeQueryableDB) BeginTxCallCount

func (fake *FakeQueryableDB) BeginTxCallCount() int

func (*FakeQueryableDB) BeginTxCalls

func (fake *FakeQueryableDB) BeginTxCalls(stub func(context.Context, *sql.TxOptions) (helpers.Tx, error))

func (*FakeQueryableDB) BeginTxReturns

func (fake *FakeQueryableDB) BeginTxReturns(result1 helpers.Tx, result2 error)

func (*FakeQueryableDB) BeginTxReturnsOnCall

func (fake *FakeQueryableDB) BeginTxReturnsOnCall(i int, result1 helpers.Tx, result2 error)

func (*FakeQueryableDB) ExecContext

func (fake *FakeQueryableDB) ExecContext(arg1 context.Context, arg2 string, arg3 ...interface{}) (sql.Result, error)

func (*FakeQueryableDB) ExecContextArgsForCall

func (fake *FakeQueryableDB) ExecContextArgsForCall(i int) (context.Context, string, []interface{})

func (*FakeQueryableDB) ExecContextCallCount

func (fake *FakeQueryableDB) ExecContextCallCount() int

func (*FakeQueryableDB) ExecContextCalls

func (fake *FakeQueryableDB) ExecContextCalls(stub func(context.Context, string, ...interface{}) (sql.Result, error))

func (*FakeQueryableDB) ExecContextReturns

func (fake *FakeQueryableDB) ExecContextReturns(result1 sql.Result, result2 error)

func (*FakeQueryableDB) ExecContextReturnsOnCall

func (fake *FakeQueryableDB) ExecContextReturnsOnCall(i int, result1 sql.Result, result2 error)

func (*FakeQueryableDB) Invocations

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

func (*FakeQueryableDB) OpenConnections

func (fake *FakeQueryableDB) OpenConnections() int

func (*FakeQueryableDB) OpenConnectionsCallCount

func (fake *FakeQueryableDB) OpenConnectionsCallCount() int

func (*FakeQueryableDB) OpenConnectionsCalls

func (fake *FakeQueryableDB) OpenConnectionsCalls(stub func() int)

func (*FakeQueryableDB) OpenConnectionsReturns

func (fake *FakeQueryableDB) OpenConnectionsReturns(result1 int)

func (*FakeQueryableDB) OpenConnectionsReturnsOnCall

func (fake *FakeQueryableDB) OpenConnectionsReturnsOnCall(i int, result1 int)

func (*FakeQueryableDB) PrepareContext

func (fake *FakeQueryableDB) PrepareContext(arg1 context.Context, arg2 string) (*sql.Stmt, error)

func (*FakeQueryableDB) PrepareContextArgsForCall

func (fake *FakeQueryableDB) PrepareContextArgsForCall(i int) (context.Context, string)

func (*FakeQueryableDB) PrepareContextCallCount

func (fake *FakeQueryableDB) PrepareContextCallCount() int

func (*FakeQueryableDB) PrepareContextCalls

func (fake *FakeQueryableDB) PrepareContextCalls(stub func(context.Context, string) (*sql.Stmt, error))

func (*FakeQueryableDB) PrepareContextReturns

func (fake *FakeQueryableDB) PrepareContextReturns(result1 *sql.Stmt, result2 error)

func (*FakeQueryableDB) PrepareContextReturnsOnCall

func (fake *FakeQueryableDB) PrepareContextReturnsOnCall(i int, result1 *sql.Stmt, result2 error)

func (*FakeQueryableDB) QueryContext

func (fake *FakeQueryableDB) QueryContext(arg1 context.Context, arg2 string, arg3 ...interface{}) (*sql.Rows, error)

func (*FakeQueryableDB) QueryContextArgsForCall

func (fake *FakeQueryableDB) QueryContextArgsForCall(i int) (context.Context, string, []interface{})

func (*FakeQueryableDB) QueryContextCallCount

func (fake *FakeQueryableDB) QueryContextCallCount() int

func (*FakeQueryableDB) QueryContextCalls

func (fake *FakeQueryableDB) QueryContextCalls(stub func(context.Context, string, ...interface{}) (*sql.Rows, error))

func (*FakeQueryableDB) QueryContextReturns

func (fake *FakeQueryableDB) QueryContextReturns(result1 *sql.Rows, result2 error)

func (*FakeQueryableDB) QueryContextReturnsOnCall

func (fake *FakeQueryableDB) QueryContextReturnsOnCall(i int, result1 *sql.Rows, result2 error)

func (*FakeQueryableDB) QueryRowContext

func (fake *FakeQueryableDB) QueryRowContext(arg1 context.Context, arg2 string, arg3 ...interface{}) helpers.RowScanner

func (*FakeQueryableDB) QueryRowContextArgsForCall

func (fake *FakeQueryableDB) QueryRowContextArgsForCall(i int) (context.Context, string, []interface{})

func (*FakeQueryableDB) QueryRowContextCallCount

func (fake *FakeQueryableDB) QueryRowContextCallCount() int

func (*FakeQueryableDB) QueryRowContextCalls

func (fake *FakeQueryableDB) QueryRowContextCalls(stub func(context.Context, string, ...interface{}) helpers.RowScanner)

func (*FakeQueryableDB) QueryRowContextReturns

func (fake *FakeQueryableDB) QueryRowContextReturns(result1 helpers.RowScanner)

func (*FakeQueryableDB) QueryRowContextReturnsOnCall

func (fake *FakeQueryableDB) QueryRowContextReturnsOnCall(i int, result1 helpers.RowScanner)

func (*FakeQueryableDB) WaitCount

func (fake *FakeQueryableDB) WaitCount() int64

func (*FakeQueryableDB) WaitCountCallCount

func (fake *FakeQueryableDB) WaitCountCallCount() int

func (*FakeQueryableDB) WaitCountCalls

func (fake *FakeQueryableDB) WaitCountCalls(stub func() int64)

func (*FakeQueryableDB) WaitCountReturns

func (fake *FakeQueryableDB) WaitCountReturns(result1 int64)

func (*FakeQueryableDB) WaitCountReturnsOnCall

func (fake *FakeQueryableDB) WaitCountReturnsOnCall(i int, result1 int64)

func (*FakeQueryableDB) WaitDuration

func (fake *FakeQueryableDB) WaitDuration() time.Duration

func (*FakeQueryableDB) WaitDurationCallCount

func (fake *FakeQueryableDB) WaitDurationCallCount() int

func (*FakeQueryableDB) WaitDurationCalls

func (fake *FakeQueryableDB) WaitDurationCalls(stub func() time.Duration)

func (*FakeQueryableDB) WaitDurationReturns

func (fake *FakeQueryableDB) WaitDurationReturns(result1 time.Duration)

func (*FakeQueryableDB) WaitDurationReturnsOnCall

func (fake *FakeQueryableDB) WaitDurationReturnsOnCall(i int, result1 time.Duration)

Jump to

Keyboard shortcuts

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