Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
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)
- type FakeRowScanner
- func (fake *FakeRowScanner) Invocations() map[string][][]interface{}
- func (fake *FakeRowScanner) Scan(arg1 ...interface{}) error
- func (fake *FakeRowScanner) ScanArgsForCall(i int) []interface{}
- func (fake *FakeRowScanner) ScanCallCount() int
- func (fake *FakeRowScanner) ScanCalls(stub func(...interface{}) error)
- func (fake *FakeRowScanner) ScanReturns(result1 error)
- func (fake *FakeRowScanner) ScanReturnsOnCall(i int, result1 error)
- type FakeTx
- func (fake *FakeTx) Commit() error
- func (fake *FakeTx) CommitCallCount() int
- func (fake *FakeTx) CommitCalls(stub func() error)
- func (fake *FakeTx) CommitReturns(result1 error)
- func (fake *FakeTx) CommitReturnsOnCall(i int, result1 error)
- func (fake *FakeTx) ExecContext(arg1 context.Context, arg2 string, arg3 ...interface{}) (sql.Result, error)
- func (fake *FakeTx) ExecContextArgsForCall(i int) (context.Context, string, []interface{})
- func (fake *FakeTx) ExecContextCallCount() int
- func (fake *FakeTx) ExecContextCalls(stub func(context.Context, string, ...interface{}) (sql.Result, error))
- func (fake *FakeTx) ExecContextReturns(result1 sql.Result, result2 error)
- func (fake *FakeTx) ExecContextReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *FakeTx) Invocations() map[string][][]interface{}
- func (fake *FakeTx) PrepareContext(arg1 context.Context, arg2 string) (*sql.Stmt, error)
- func (fake *FakeTx) PrepareContextArgsForCall(i int) (context.Context, string)
- func (fake *FakeTx) PrepareContextCallCount() int
- func (fake *FakeTx) PrepareContextCalls(stub func(context.Context, string) (*sql.Stmt, error))
- func (fake *FakeTx) PrepareContextReturns(result1 *sql.Stmt, result2 error)
- func (fake *FakeTx) PrepareContextReturnsOnCall(i int, result1 *sql.Stmt, result2 error)
- func (fake *FakeTx) QueryContext(arg1 context.Context, arg2 string, arg3 ...interface{}) (*sql.Rows, error)
- func (fake *FakeTx) QueryContextArgsForCall(i int) (context.Context, string, []interface{})
- func (fake *FakeTx) QueryContextCallCount() int
- func (fake *FakeTx) QueryContextCalls(stub func(context.Context, string, ...interface{}) (*sql.Rows, error))
- func (fake *FakeTx) QueryContextReturns(result1 *sql.Rows, result2 error)
- func (fake *FakeTx) QueryContextReturnsOnCall(i int, result1 *sql.Rows, result2 error)
- func (fake *FakeTx) QueryRowContext(arg1 context.Context, arg2 string, arg3 ...interface{}) helpers.RowScanner
- func (fake *FakeTx) QueryRowContextArgsForCall(i int) (context.Context, string, []interface{})
- func (fake *FakeTx) QueryRowContextCallCount() int
- func (fake *FakeTx) QueryRowContextCalls(stub func(context.Context, string, ...interface{}) helpers.RowScanner)
- func (fake *FakeTx) QueryRowContextReturns(result1 helpers.RowScanner)
- func (fake *FakeTx) QueryRowContextReturnsOnCall(i int, result1 helpers.RowScanner)
- func (fake *FakeTx) Rollback() error
- func (fake *FakeTx) RollbackCallCount() int
- func (fake *FakeTx) RollbackCalls(stub func() error)
- func (fake *FakeTx) RollbackReturns(result1 error)
- func (fake *FakeTx) RollbackReturnsOnCall(i int, result1 error)
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)
type FakeRowScanner ¶
type FakeRowScanner struct { ScanStub func(...interface{}) error // contains filtered or unexported fields }
func (*FakeRowScanner) Invocations ¶
func (fake *FakeRowScanner) Invocations() map[string][][]interface{}
func (*FakeRowScanner) Scan ¶
func (fake *FakeRowScanner) Scan(arg1 ...interface{}) error
func (*FakeRowScanner) ScanArgsForCall ¶
func (fake *FakeRowScanner) ScanArgsForCall(i int) []interface{}
func (*FakeRowScanner) ScanCallCount ¶
func (fake *FakeRowScanner) ScanCallCount() int
func (*FakeRowScanner) ScanCalls ¶
func (fake *FakeRowScanner) ScanCalls(stub func(...interface{}) error)
func (*FakeRowScanner) ScanReturns ¶
func (fake *FakeRowScanner) ScanReturns(result1 error)
func (*FakeRowScanner) ScanReturnsOnCall ¶
func (fake *FakeRowScanner) ScanReturnsOnCall(i int, result1 error)
type FakeTx ¶
type FakeTx struct { CommitStub func() error ExecContextStub func(context.Context, string, ...interface{}) (sql.Result, error) 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 RollbackStub func() error // contains filtered or unexported fields }
func (*FakeTx) CommitCallCount ¶
func (*FakeTx) CommitCalls ¶
func (*FakeTx) CommitReturns ¶
func (*FakeTx) CommitReturnsOnCall ¶
func (*FakeTx) ExecContext ¶
func (*FakeTx) ExecContextArgsForCall ¶
func (*FakeTx) ExecContextCallCount ¶
func (*FakeTx) ExecContextCalls ¶
func (*FakeTx) ExecContextReturns ¶
func (*FakeTx) ExecContextReturnsOnCall ¶
func (*FakeTx) Invocations ¶
func (*FakeTx) PrepareContext ¶
func (*FakeTx) PrepareContextArgsForCall ¶
func (*FakeTx) PrepareContextCallCount ¶
func (*FakeTx) PrepareContextCalls ¶
func (*FakeTx) PrepareContextReturns ¶
func (*FakeTx) PrepareContextReturnsOnCall ¶
func (*FakeTx) QueryContext ¶
func (*FakeTx) QueryContextArgsForCall ¶
func (*FakeTx) QueryContextCallCount ¶
func (*FakeTx) QueryContextCalls ¶
func (*FakeTx) QueryContextReturns ¶
func (*FakeTx) QueryContextReturnsOnCall ¶
func (*FakeTx) QueryRowContext ¶
func (*FakeTx) QueryRowContextArgsForCall ¶
func (*FakeTx) QueryRowContextCallCount ¶
func (*FakeTx) QueryRowContextCalls ¶
func (*FakeTx) QueryRowContextReturns ¶
func (fake *FakeTx) QueryRowContextReturns(result1 helpers.RowScanner)
func (*FakeTx) QueryRowContextReturnsOnCall ¶
func (fake *FakeTx) QueryRowContextReturnsOnCall(i int, result1 helpers.RowScanner)
func (*FakeTx) RollbackCallCount ¶
func (*FakeTx) RollbackCalls ¶
func (*FakeTx) RollbackReturns ¶
func (*FakeTx) RollbackReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.