Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeConn
- func (fake *FakeConn) Begin() (driver.Tx, error)
- func (fake *FakeConn) BeginCallCount() int
- func (fake *FakeConn) BeginCalls(stub func() (driver.Tx, error))
- func (fake *FakeConn) BeginReturns(result1 driver.Tx, result2 error)
- func (fake *FakeConn) BeginReturnsOnCall(i int, result1 driver.Tx, result2 error)
- func (fake *FakeConn) Close() error
- func (fake *FakeConn) CloseCallCount() int
- func (fake *FakeConn) CloseCalls(stub func() error)
- func (fake *FakeConn) CloseReturns(result1 error)
- func (fake *FakeConn) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeConn) Invocations() map[string][][]interface{}
- func (fake *FakeConn) Prepare(arg1 string) (driver.Stmt, error)
- func (fake *FakeConn) PrepareArgsForCall(i int) string
- func (fake *FakeConn) PrepareCallCount() int
- func (fake *FakeConn) PrepareCalls(stub func(string) (driver.Stmt, error))
- func (fake *FakeConn) PrepareReturns(result1 driver.Stmt, result2 error)
- func (fake *FakeConn) PrepareReturnsOnCall(i int, result1 driver.Stmt, result2 error)
- type FakeDriver
- func (fake *FakeDriver) Invocations() map[string][][]interface{}
- func (fake *FakeDriver) Open(arg1 string) (driver.Conn, error)
- func (fake *FakeDriver) OpenArgsForCall(i int) string
- func (fake *FakeDriver) OpenCallCount() int
- func (fake *FakeDriver) OpenCalls(stub func(string) (driver.Conn, error))
- func (fake *FakeDriver) OpenReturns(result1 driver.Conn, result2 error)
- func (fake *FakeDriver) OpenReturnsOnCall(i int, result1 driver.Conn, result2 error)
- type FakeStmt
- func (fake *FakeStmt) Close() error
- func (fake *FakeStmt) CloseCallCount() int
- func (fake *FakeStmt) CloseCalls(stub func() error)
- func (fake *FakeStmt) CloseReturns(result1 error)
- func (fake *FakeStmt) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeStmt) Exec(arg1 []driver.Value) (driver.Result, error)
- func (fake *FakeStmt) ExecArgsForCall(i int) []driver.Value
- func (fake *FakeStmt) ExecCallCount() int
- func (fake *FakeStmt) ExecCalls(stub func([]driver.Value) (driver.Result, error))
- func (fake *FakeStmt) ExecReturns(result1 driver.Result, result2 error)
- func (fake *FakeStmt) ExecReturnsOnCall(i int, result1 driver.Result, result2 error)
- func (fake *FakeStmt) Invocations() map[string][][]interface{}
- func (fake *FakeStmt) NumInput() int
- func (fake *FakeStmt) NumInputCallCount() int
- func (fake *FakeStmt) NumInputCalls(stub func() int)
- func (fake *FakeStmt) NumInputReturns(result1 int)
- func (fake *FakeStmt) NumInputReturnsOnCall(i int, result1 int)
- func (fake *FakeStmt) Query(arg1 []driver.Value) (driver.Rows, error)
- func (fake *FakeStmt) QueryArgsForCall(i int) []driver.Value
- func (fake *FakeStmt) QueryCallCount() int
- func (fake *FakeStmt) QueryCalls(stub func([]driver.Value) (driver.Rows, error))
- func (fake *FakeStmt) QueryReturns(result1 driver.Rows, result2 error)
- func (fake *FakeStmt) QueryReturnsOnCall(i int, result1 driver.Rows, result2 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) Invocations() map[string][][]interface{}
- 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 FakeConn ¶
type FakeConn struct { BeginStub func() (driver.Tx, error) CloseStub func() error PrepareStub func(string) (driver.Stmt, error) // contains filtered or unexported fields }
func (*FakeConn) BeginCallCount ¶
func (*FakeConn) BeginReturns ¶
func (*FakeConn) BeginReturnsOnCall ¶
func (*FakeConn) CloseCallCount ¶
func (*FakeConn) CloseCalls ¶
func (*FakeConn) CloseReturns ¶
func (*FakeConn) CloseReturnsOnCall ¶
func (*FakeConn) Invocations ¶
func (*FakeConn) PrepareArgsForCall ¶
func (*FakeConn) PrepareCallCount ¶
func (*FakeConn) PrepareCalls ¶
func (*FakeConn) PrepareReturns ¶
type FakeDriver ¶
type FakeDriver struct { OpenStub func(string) (driver.Conn, error) // contains filtered or unexported fields }
func (*FakeDriver) Invocations ¶
func (fake *FakeDriver) Invocations() map[string][][]interface{}
func (*FakeDriver) OpenArgsForCall ¶
func (fake *FakeDriver) OpenArgsForCall(i int) string
func (*FakeDriver) OpenCallCount ¶
func (fake *FakeDriver) OpenCallCount() int
func (*FakeDriver) OpenCalls ¶
func (fake *FakeDriver) OpenCalls(stub func(string) (driver.Conn, error))
func (*FakeDriver) OpenReturns ¶
func (fake *FakeDriver) OpenReturns(result1 driver.Conn, result2 error)
func (*FakeDriver) OpenReturnsOnCall ¶
func (fake *FakeDriver) OpenReturnsOnCall(i int, result1 driver.Conn, result2 error)
type FakeStmt ¶
type FakeStmt struct { CloseStub func() error ExecStub func([]driver.Value) (driver.Result, error) NumInputStub func() int QueryStub func([]driver.Value) (driver.Rows, error) // contains filtered or unexported fields }
func (*FakeStmt) CloseCallCount ¶
func (*FakeStmt) CloseCalls ¶
func (*FakeStmt) CloseReturns ¶
func (*FakeStmt) CloseReturnsOnCall ¶
func (*FakeStmt) ExecCallCount ¶
func (*FakeStmt) ExecReturns ¶
func (*FakeStmt) ExecReturnsOnCall ¶
func (*FakeStmt) Invocations ¶
func (*FakeStmt) NumInputCallCount ¶
func (*FakeStmt) NumInputCalls ¶
func (*FakeStmt) NumInputReturns ¶
func (*FakeStmt) NumInputReturnsOnCall ¶
func (*FakeStmt) QueryCallCount ¶
func (*FakeStmt) QueryCalls ¶
func (*FakeStmt) QueryReturns ¶
type FakeTx ¶
type FakeTx struct { CommitStub func() error RollbackStub func() error // contains filtered or unexported fields }
func (*FakeTx) CommitCallCount ¶
func (*FakeTx) CommitCalls ¶
func (*FakeTx) CommitReturns ¶
func (*FakeTx) CommitReturnsOnCall ¶
func (*FakeTx) Invocations ¶
func (*FakeTx) RollbackCallCount ¶
func (*FakeTx) RollbackCalls ¶
func (*FakeTx) RollbackReturns ¶
func (*FakeTx) RollbackReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.