Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeQueryableDB
- func (fake *FakeQueryableDB) BeginTx(arg1 context.Context, arg2 *sql.TxOptions) (helpers.Tx, error)
- func (fake *FakeQueryableDB) BeginTxArgsForCall(i int) (context.Context, *sql.TxOptions)
- func (fake *FakeQueryableDB) BeginTxCallCount() int
- func (fake *FakeQueryableDB) BeginTxCalls(stub func(context.Context, *sql.TxOptions) (helpers.Tx, error))
- func (fake *FakeQueryableDB) BeginTxReturns(result1 helpers.Tx, result2 error)
- func (fake *FakeQueryableDB) BeginTxReturnsOnCall(i int, result1 helpers.Tx, result2 error)
- func (fake *FakeQueryableDB) ExecContext(arg1 context.Context, arg2 string, arg3 ...interface{}) (sql.Result, error)
- func (fake *FakeQueryableDB) ExecContextArgsForCall(i int) (context.Context, string, []interface{})
- func (fake *FakeQueryableDB) ExecContextCallCount() int
- func (fake *FakeQueryableDB) ExecContextCalls(stub func(context.Context, string, ...interface{}) (sql.Result, error))
- func (fake *FakeQueryableDB) ExecContextReturns(result1 sql.Result, result2 error)
- func (fake *FakeQueryableDB) ExecContextReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *FakeQueryableDB) Invocations() map[string][][]interface{}
- func (fake *FakeQueryableDB) OpenConnections() int
- func (fake *FakeQueryableDB) OpenConnectionsCallCount() int
- func (fake *FakeQueryableDB) OpenConnectionsCalls(stub func() int)
- func (fake *FakeQueryableDB) OpenConnectionsReturns(result1 int)
- func (fake *FakeQueryableDB) OpenConnectionsReturnsOnCall(i int, result1 int)
- func (fake *FakeQueryableDB) PrepareContext(arg1 context.Context, arg2 string) (*sql.Stmt, error)
- func (fake *FakeQueryableDB) PrepareContextArgsForCall(i int) (context.Context, string)
- func (fake *FakeQueryableDB) PrepareContextCallCount() int
- func (fake *FakeQueryableDB) PrepareContextCalls(stub func(context.Context, string) (*sql.Stmt, error))
- func (fake *FakeQueryableDB) PrepareContextReturns(result1 *sql.Stmt, result2 error)
- func (fake *FakeQueryableDB) PrepareContextReturnsOnCall(i int, result1 *sql.Stmt, result2 error)
- func (fake *FakeQueryableDB) QueryContext(arg1 context.Context, arg2 string, arg3 ...interface{}) (*sql.Rows, error)
- func (fake *FakeQueryableDB) QueryContextArgsForCall(i int) (context.Context, string, []interface{})
- func (fake *FakeQueryableDB) QueryContextCallCount() int
- func (fake *FakeQueryableDB) QueryContextCalls(stub func(context.Context, string, ...interface{}) (*sql.Rows, error))
- func (fake *FakeQueryableDB) QueryContextReturns(result1 *sql.Rows, result2 error)
- func (fake *FakeQueryableDB) QueryContextReturnsOnCall(i int, result1 *sql.Rows, result2 error)
- func (fake *FakeQueryableDB) QueryRowContext(arg1 context.Context, arg2 string, arg3 ...interface{}) helpers.RowScanner
- func (fake *FakeQueryableDB) QueryRowContextArgsForCall(i int) (context.Context, string, []interface{})
- func (fake *FakeQueryableDB) QueryRowContextCallCount() int
- func (fake *FakeQueryableDB) QueryRowContextCalls(stub func(context.Context, string, ...interface{}) helpers.RowScanner)
- func (fake *FakeQueryableDB) QueryRowContextReturns(result1 helpers.RowScanner)
- func (fake *FakeQueryableDB) QueryRowContextReturnsOnCall(i int, result1 helpers.RowScanner)
- func (fake *FakeQueryableDB) WaitCount() int64
- func (fake *FakeQueryableDB) WaitCountCallCount() int
- func (fake *FakeQueryableDB) WaitCountCalls(stub func() int64)
- func (fake *FakeQueryableDB) WaitCountReturns(result1 int64)
- func (fake *FakeQueryableDB) WaitCountReturnsOnCall(i int, result1 int64)
- func (fake *FakeQueryableDB) WaitDuration() time.Duration
- func (fake *FakeQueryableDB) WaitDurationCallCount() int
- func (fake *FakeQueryableDB) WaitDurationCalls(stub func() time.Duration)
- func (fake *FakeQueryableDB) WaitDurationReturns(result1 time.Duration)
- func (fake *FakeQueryableDB) WaitDurationReturnsOnCall(i int, result1 time.Duration)
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) BeginTxArgsForCall ¶
func (*FakeQueryableDB) BeginTxCallCount ¶
func (fake *FakeQueryableDB) BeginTxCallCount() int
func (*FakeQueryableDB) BeginTxCalls ¶
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 (*FakeQueryableDB) ExecContextArgsForCall ¶
func (fake *FakeQueryableDB) ExecContextArgsForCall(i int) (context.Context, string, []interface{})
func (*FakeQueryableDB) ExecContextCallCount ¶
func (fake *FakeQueryableDB) ExecContextCallCount() int
func (*FakeQueryableDB) ExecContextCalls ¶
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 (*FakeQueryableDB) PrepareContextArgsForCall ¶
func (fake *FakeQueryableDB) PrepareContextArgsForCall(i int) (context.Context, string)
func (*FakeQueryableDB) PrepareContextCallCount ¶
func (fake *FakeQueryableDB) PrepareContextCallCount() int
func (*FakeQueryableDB) PrepareContextCalls ¶
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 (*FakeQueryableDB) QueryContextArgsForCall ¶
func (fake *FakeQueryableDB) QueryContextArgsForCall(i int) (context.Context, string, []interface{})
func (*FakeQueryableDB) QueryContextCallCount ¶
func (fake *FakeQueryableDB) QueryContextCallCount() int
func (*FakeQueryableDB) QueryContextCalls ¶
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)
Click to show internal directories.
Click to hide internal directories.