postgresfakes

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2019 License: Apache-2.0, BSD-3-Clause, MIT 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 FakePgDB

type FakePgDB struct {
	BindNamedStub func(string, interface{}) (string, []interface{}, error)

	DriverNameStub func() string

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

	GetContextStub func(context.Context, interface{}, string, ...interface{}) error

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

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

	PrepareNamedContextStub func(context.Context, string) (*sqlx.NamedStmt, error)

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

	QueryRowxContextStub func(context.Context, string, ...interface{}) *sqlx.Row

	QueryxContextStub func(context.Context, string, ...interface{}) (*sqlx.Rows, error)

	RebindStub func(string) string

	SelectContextStub func(context.Context, interface{}, string, ...interface{}) error
	// contains filtered or unexported fields
}

func (*FakePgDB) BindNamed

func (fake *FakePgDB) BindNamed(arg1 string, arg2 interface{}) (string, []interface{}, error)

func (*FakePgDB) BindNamedArgsForCall

func (fake *FakePgDB) BindNamedArgsForCall(i int) (string, interface{})

func (*FakePgDB) BindNamedCallCount

func (fake *FakePgDB) BindNamedCallCount() int

func (*FakePgDB) BindNamedCalls added in v0.2.0

func (fake *FakePgDB) BindNamedCalls(stub func(string, interface{}) (string, []interface{}, error))

func (*FakePgDB) BindNamedReturns

func (fake *FakePgDB) BindNamedReturns(result1 string, result2 []interface{}, result3 error)

func (*FakePgDB) BindNamedReturnsOnCall

func (fake *FakePgDB) BindNamedReturnsOnCall(i int, result1 string, result2 []interface{}, result3 error)

func (*FakePgDB) DriverName

func (fake *FakePgDB) DriverName() string

func (*FakePgDB) DriverNameCallCount

func (fake *FakePgDB) DriverNameCallCount() int

func (*FakePgDB) DriverNameCalls added in v0.2.0

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

func (*FakePgDB) DriverNameReturns

func (fake *FakePgDB) DriverNameReturns(result1 string)

func (*FakePgDB) DriverNameReturnsOnCall

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

func (*FakePgDB) ExecContext

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

func (*FakePgDB) ExecContextArgsForCall

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

func (*FakePgDB) ExecContextCallCount

func (fake *FakePgDB) ExecContextCallCount() int

func (*FakePgDB) ExecContextCalls added in v0.2.0

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

func (*FakePgDB) ExecContextReturns

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

func (*FakePgDB) ExecContextReturnsOnCall

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

func (*FakePgDB) GetContext

func (fake *FakePgDB) GetContext(arg1 context.Context, arg2 interface{}, arg3 string, arg4 ...interface{}) error

func (*FakePgDB) GetContextArgsForCall

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

func (*FakePgDB) GetContextCallCount

func (fake *FakePgDB) GetContextCallCount() int

func (*FakePgDB) GetContextCalls added in v0.2.0

func (fake *FakePgDB) GetContextCalls(stub func(context.Context, interface{}, string, ...interface{}) error)

func (*FakePgDB) GetContextReturns

func (fake *FakePgDB) GetContextReturns(result1 error)

func (*FakePgDB) GetContextReturnsOnCall

func (fake *FakePgDB) GetContextReturnsOnCall(i int, result1 error)

func (*FakePgDB) Invocations

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

func (*FakePgDB) NamedExecContext

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

func (*FakePgDB) NamedExecContextArgsForCall

func (fake *FakePgDB) NamedExecContextArgsForCall(i int) (context.Context, string, interface{})

func (*FakePgDB) NamedExecContextCallCount

func (fake *FakePgDB) NamedExecContextCallCount() int

func (*FakePgDB) NamedExecContextCalls added in v0.2.0

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

func (*FakePgDB) NamedExecContextReturns

func (fake *FakePgDB) NamedExecContextReturns(result1 sql.Result, result2 error)

func (*FakePgDB) NamedExecContextReturnsOnCall

func (fake *FakePgDB) NamedExecContextReturnsOnCall(i int, result1 sql.Result, result2 error)

func (*FakePgDB) NamedQuery

func (fake *FakePgDB) NamedQuery(arg1 string, arg2 interface{}) (*sqlx.Rows, error)

func (*FakePgDB) NamedQueryArgsForCall

func (fake *FakePgDB) NamedQueryArgsForCall(i int) (string, interface{})

func (*FakePgDB) NamedQueryCallCount

func (fake *FakePgDB) NamedQueryCallCount() int

func (*FakePgDB) NamedQueryCalls added in v0.2.0

func (fake *FakePgDB) NamedQueryCalls(stub func(string, interface{}) (*sqlx.Rows, error))

func (*FakePgDB) NamedQueryReturns

func (fake *FakePgDB) NamedQueryReturns(result1 *sqlx.Rows, result2 error)

func (*FakePgDB) NamedQueryReturnsOnCall

func (fake *FakePgDB) NamedQueryReturnsOnCall(i int, result1 *sqlx.Rows, result2 error)

func (*FakePgDB) PrepareNamedContext

func (fake *FakePgDB) PrepareNamedContext(arg1 context.Context, arg2 string) (*sqlx.NamedStmt, error)

func (*FakePgDB) PrepareNamedContextArgsForCall

func (fake *FakePgDB) PrepareNamedContextArgsForCall(i int) (context.Context, string)

func (*FakePgDB) PrepareNamedContextCallCount

func (fake *FakePgDB) PrepareNamedContextCallCount() int

func (*FakePgDB) PrepareNamedContextCalls added in v0.2.0

func (fake *FakePgDB) PrepareNamedContextCalls(stub func(context.Context, string) (*sqlx.NamedStmt, error))

func (*FakePgDB) PrepareNamedContextReturns

func (fake *FakePgDB) PrepareNamedContextReturns(result1 *sqlx.NamedStmt, result2 error)

func (*FakePgDB) PrepareNamedContextReturnsOnCall

func (fake *FakePgDB) PrepareNamedContextReturnsOnCall(i int, result1 *sqlx.NamedStmt, result2 error)

func (*FakePgDB) QueryContext

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

func (*FakePgDB) QueryContextArgsForCall

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

func (*FakePgDB) QueryContextCallCount

func (fake *FakePgDB) QueryContextCallCount() int

func (*FakePgDB) QueryContextCalls added in v0.2.0

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

func (*FakePgDB) QueryContextReturns

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

func (*FakePgDB) QueryContextReturnsOnCall

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

func (*FakePgDB) QueryRowxContext

func (fake *FakePgDB) QueryRowxContext(arg1 context.Context, arg2 string, arg3 ...interface{}) *sqlx.Row

func (*FakePgDB) QueryRowxContextArgsForCall

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

func (*FakePgDB) QueryRowxContextCallCount

func (fake *FakePgDB) QueryRowxContextCallCount() int

func (*FakePgDB) QueryRowxContextCalls added in v0.2.0

func (fake *FakePgDB) QueryRowxContextCalls(stub func(context.Context, string, ...interface{}) *sqlx.Row)

func (*FakePgDB) QueryRowxContextReturns

func (fake *FakePgDB) QueryRowxContextReturns(result1 *sqlx.Row)

func (*FakePgDB) QueryRowxContextReturnsOnCall

func (fake *FakePgDB) QueryRowxContextReturnsOnCall(i int, result1 *sqlx.Row)

func (*FakePgDB) QueryxContext

func (fake *FakePgDB) QueryxContext(arg1 context.Context, arg2 string, arg3 ...interface{}) (*sqlx.Rows, error)

func (*FakePgDB) QueryxContextArgsForCall

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

func (*FakePgDB) QueryxContextCallCount

func (fake *FakePgDB) QueryxContextCallCount() int

func (*FakePgDB) QueryxContextCalls added in v0.2.0

func (fake *FakePgDB) QueryxContextCalls(stub func(context.Context, string, ...interface{}) (*sqlx.Rows, error))

func (*FakePgDB) QueryxContextReturns

func (fake *FakePgDB) QueryxContextReturns(result1 *sqlx.Rows, result2 error)

func (*FakePgDB) QueryxContextReturnsOnCall

func (fake *FakePgDB) QueryxContextReturnsOnCall(i int, result1 *sqlx.Rows, result2 error)

func (*FakePgDB) Rebind

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

func (*FakePgDB) RebindArgsForCall

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

func (*FakePgDB) RebindCallCount

func (fake *FakePgDB) RebindCallCount() int

func (*FakePgDB) RebindCalls added in v0.2.0

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

func (*FakePgDB) RebindReturns

func (fake *FakePgDB) RebindReturns(result1 string)

func (*FakePgDB) RebindReturnsOnCall

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

func (*FakePgDB) SelectContext

func (fake *FakePgDB) SelectContext(arg1 context.Context, arg2 interface{}, arg3 string, arg4 ...interface{}) error

func (*FakePgDB) SelectContextArgsForCall

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

func (*FakePgDB) SelectContextCallCount

func (fake *FakePgDB) SelectContextCallCount() int

func (*FakePgDB) SelectContextCalls added in v0.2.0

func (fake *FakePgDB) SelectContextCalls(stub func(context.Context, interface{}, string, ...interface{}) error)

func (*FakePgDB) SelectContextReturns

func (fake *FakePgDB) SelectContextReturns(result1 error)

func (*FakePgDB) SelectContextReturnsOnCall

func (fake *FakePgDB) SelectContextReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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