Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeSql
- func (fake *FakeSql) Drivers() []string
- func (fake *FakeSql) DriversCallCount() int
- func (fake *FakeSql) DriversCalls(stub func() []string)
- func (fake *FakeSql) DriversReturns(result1 []string)
- func (fake *FakeSql) DriversReturnsOnCall(i int, result1 []string)
- func (fake *FakeSql) Invocations() map[string][][]interface{}
- func (fake *FakeSql) Open(arg1 string, arg2 string) (sqlshim.SqlDB, error)
- func (fake *FakeSql) OpenArgsForCall(i int) (string, string)
- func (fake *FakeSql) OpenCallCount() int
- func (fake *FakeSql) OpenCalls(stub func(string, string) (sqlshim.SqlDB, error))
- func (fake *FakeSql) OpenReturns(result1 sqlshim.SqlDB, result2 error)
- func (fake *FakeSql) OpenReturnsOnCall(i int, result1 sqlshim.SqlDB, result2 error)
- func (fake *FakeSql) Register(arg1 string, arg2 driver.Driver)
- func (fake *FakeSql) RegisterArgsForCall(i int) (string, driver.Driver)
- func (fake *FakeSql) RegisterCallCount() int
- func (fake *FakeSql) RegisterCalls(stub func(string, driver.Driver))
- type FakeSqlDB
- func (fake *FakeSqlDB) Begin() (*sql.Tx, error)
- func (fake *FakeSqlDB) BeginCallCount() int
- func (fake *FakeSqlDB) BeginCalls(stub func() (*sql.Tx, error))
- func (fake *FakeSqlDB) BeginReturns(result1 *sql.Tx, result2 error)
- func (fake *FakeSqlDB) BeginReturnsOnCall(i int, result1 *sql.Tx, result2 error)
- func (fake *FakeSqlDB) Close() error
- func (fake *FakeSqlDB) CloseCallCount() int
- func (fake *FakeSqlDB) CloseCalls(stub func() error)
- func (fake *FakeSqlDB) CloseReturns(result1 error)
- func (fake *FakeSqlDB) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeSqlDB) Driver() driver.Driver
- func (fake *FakeSqlDB) DriverCallCount() int
- func (fake *FakeSqlDB) DriverCalls(stub func() driver.Driver)
- func (fake *FakeSqlDB) DriverReturns(result1 driver.Driver)
- func (fake *FakeSqlDB) DriverReturnsOnCall(i int, result1 driver.Driver)
- func (fake *FakeSqlDB) Exec(arg1 string, arg2 ...interface{}) (sql.Result, error)
- func (fake *FakeSqlDB) ExecArgsForCall(i int) (string, []interface{})
- func (fake *FakeSqlDB) ExecCallCount() int
- func (fake *FakeSqlDB) ExecCalls(stub func(string, ...interface{}) (sql.Result, error))
- func (fake *FakeSqlDB) ExecReturns(result1 sql.Result, result2 error)
- func (fake *FakeSqlDB) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *FakeSqlDB) Invocations() map[string][][]interface{}
- func (fake *FakeSqlDB) Ping() error
- func (fake *FakeSqlDB) PingCallCount() int
- func (fake *FakeSqlDB) PingCalls(stub func() error)
- func (fake *FakeSqlDB) PingReturns(result1 error)
- func (fake *FakeSqlDB) PingReturnsOnCall(i int, result1 error)
- func (fake *FakeSqlDB) Prepare(arg1 string) (*sql.Stmt, error)
- func (fake *FakeSqlDB) PrepareArgsForCall(i int) string
- func (fake *FakeSqlDB) PrepareCallCount() int
- func (fake *FakeSqlDB) PrepareCalls(stub func(string) (*sql.Stmt, error))
- func (fake *FakeSqlDB) PrepareReturns(result1 *sql.Stmt, result2 error)
- func (fake *FakeSqlDB) PrepareReturnsOnCall(i int, result1 *sql.Stmt, result2 error)
- func (fake *FakeSqlDB) Query(arg1 string, arg2 ...interface{}) (*sql.Rows, error)
- func (fake *FakeSqlDB) QueryArgsForCall(i int) (string, []interface{})
- func (fake *FakeSqlDB) QueryCallCount() int
- func (fake *FakeSqlDB) QueryCalls(stub func(string, ...interface{}) (*sql.Rows, error))
- func (fake *FakeSqlDB) QueryReturns(result1 *sql.Rows, result2 error)
- func (fake *FakeSqlDB) QueryReturnsOnCall(i int, result1 *sql.Rows, result2 error)
- func (fake *FakeSqlDB) QueryRow(arg1 string, arg2 ...interface{}) *sql.Row
- func (fake *FakeSqlDB) QueryRowArgsForCall(i int) (string, []interface{})
- func (fake *FakeSqlDB) QueryRowCallCount() int
- func (fake *FakeSqlDB) QueryRowCalls(stub func(string, ...interface{}) *sql.Row)
- func (fake *FakeSqlDB) QueryRowReturns(result1 *sql.Row)
- func (fake *FakeSqlDB) QueryRowReturnsOnCall(i int, result1 *sql.Row)
- func (fake *FakeSqlDB) SetConnMaxLifetime(arg1 time.Duration)
- func (fake *FakeSqlDB) SetConnMaxLifetimeArgsForCall(i int) time.Duration
- func (fake *FakeSqlDB) SetConnMaxLifetimeCallCount() int
- func (fake *FakeSqlDB) SetConnMaxLifetimeCalls(stub func(time.Duration))
- func (fake *FakeSqlDB) SetMaxIdleConns(arg1 int)
- func (fake *FakeSqlDB) SetMaxIdleConnsArgsForCall(i int) int
- func (fake *FakeSqlDB) SetMaxIdleConnsCallCount() int
- func (fake *FakeSqlDB) SetMaxIdleConnsCalls(stub func(int))
- func (fake *FakeSqlDB) SetMaxOpenConns(arg1 int)
- func (fake *FakeSqlDB) SetMaxOpenConnsArgsForCall(i int) int
- func (fake *FakeSqlDB) SetMaxOpenConnsCallCount() int
- func (fake *FakeSqlDB) SetMaxOpenConnsCalls(stub func(int))
- func (fake *FakeSqlDB) Stats() sql.DBStats
- func (fake *FakeSqlDB) StatsCallCount() int
- func (fake *FakeSqlDB) StatsCalls(stub func() sql.DBStats)
- func (fake *FakeSqlDB) StatsReturns(result1 sql.DBStats)
- func (fake *FakeSqlDB) StatsReturnsOnCall(i int, result1 sql.DBStats)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeSql ¶
type FakeSql struct { DriversStub func() []string OpenStub func(string, string) (sqlshim.SqlDB, error) RegisterStub func(string, driver.Driver) // contains filtered or unexported fields }
func (*FakeSql) DriversCallCount ¶
func (*FakeSql) DriversCalls ¶
func (*FakeSql) DriversReturns ¶
func (*FakeSql) DriversReturnsOnCall ¶
func (*FakeSql) Invocations ¶
func (*FakeSql) OpenCallCount ¶
func (*FakeSql) OpenReturns ¶
func (*FakeSql) OpenReturnsOnCall ¶
func (*FakeSql) RegisterArgsForCall ¶
func (*FakeSql) RegisterCallCount ¶
type FakeSqlDB ¶
type FakeSqlDB struct { BeginStub func() (*sql.Tx, error) CloseStub func() error DriverStub func() driver.Driver ExecStub func(string, ...interface{}) (sql.Result, error) PingStub func() error PrepareStub func(string) (*sql.Stmt, error) QueryStub func(string, ...interface{}) (*sql.Rows, error) QueryRowStub func(string, ...interface{}) *sql.Row SetConnMaxLifetimeStub func(time.Duration) SetMaxIdleConnsStub func(int) SetMaxOpenConnsStub func(int) StatsStub func() sql.DBStats // contains filtered or unexported fields }
func (*FakeSqlDB) BeginCallCount ¶
func (*FakeSqlDB) BeginReturns ¶
func (*FakeSqlDB) BeginReturnsOnCall ¶
func (*FakeSqlDB) CloseCallCount ¶
func (*FakeSqlDB) CloseCalls ¶
func (*FakeSqlDB) CloseReturns ¶
func (*FakeSqlDB) CloseReturnsOnCall ¶
func (*FakeSqlDB) DriverCallCount ¶
func (*FakeSqlDB) DriverCalls ¶
func (*FakeSqlDB) DriverReturns ¶
func (*FakeSqlDB) DriverReturnsOnCall ¶
func (*FakeSqlDB) ExecArgsForCall ¶
func (*FakeSqlDB) ExecCallCount ¶
func (*FakeSqlDB) ExecReturns ¶
func (*FakeSqlDB) ExecReturnsOnCall ¶
func (*FakeSqlDB) Invocations ¶
func (*FakeSqlDB) PingCallCount ¶
func (*FakeSqlDB) PingReturns ¶
func (*FakeSqlDB) PingReturnsOnCall ¶
func (*FakeSqlDB) PrepareArgsForCall ¶
func (*FakeSqlDB) PrepareCallCount ¶
func (*FakeSqlDB) PrepareCalls ¶
func (*FakeSqlDB) PrepareReturns ¶
func (*FakeSqlDB) PrepareReturnsOnCall ¶
func (*FakeSqlDB) QueryArgsForCall ¶
func (*FakeSqlDB) QueryCallCount ¶
func (*FakeSqlDB) QueryCalls ¶
func (*FakeSqlDB) QueryReturns ¶
func (*FakeSqlDB) QueryReturnsOnCall ¶
func (*FakeSqlDB) QueryRowArgsForCall ¶
func (*FakeSqlDB) QueryRowCallCount ¶
func (*FakeSqlDB) QueryRowCalls ¶
func (*FakeSqlDB) QueryRowReturns ¶
func (*FakeSqlDB) QueryRowReturnsOnCall ¶
func (*FakeSqlDB) SetConnMaxLifetime ¶
func (*FakeSqlDB) SetConnMaxLifetimeArgsForCall ¶
func (*FakeSqlDB) SetConnMaxLifetimeCallCount ¶
func (*FakeSqlDB) SetConnMaxLifetimeCalls ¶
func (*FakeSqlDB) SetMaxIdleConns ¶
func (*FakeSqlDB) SetMaxIdleConnsArgsForCall ¶
func (*FakeSqlDB) SetMaxIdleConnsCallCount ¶
func (*FakeSqlDB) SetMaxIdleConnsCalls ¶
func (*FakeSqlDB) SetMaxOpenConns ¶
func (*FakeSqlDB) SetMaxOpenConnsArgsForCall ¶
func (*FakeSqlDB) SetMaxOpenConnsCallCount ¶
func (*FakeSqlDB) SetMaxOpenConnsCalls ¶
func (*FakeSqlDB) StatsCallCount ¶
func (*FakeSqlDB) StatsCalls ¶
func (*FakeSqlDB) StatsReturns ¶
Click to show internal directories.
Click to hide internal directories.