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.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeConn
- func (fake *FakeConn) Begin() (db.Tx, error)
- func (fake *FakeConn) BeginCallCount() int
- func (fake *FakeConn) BeginReturns(result1 db.Tx, result2 error)
- func (fake *FakeConn) BeginReturnsOnCall(i int, result1 db.Tx, result2 error)
- func (fake *FakeConn) Close() error
- func (fake *FakeConn) CloseCallCount() int
- func (fake *FakeConn) CloseReturns(result1 error)
- func (fake *FakeConn) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeConn) Driver() driver.Driver
- func (fake *FakeConn) DriverCallCount() int
- func (fake *FakeConn) DriverReturns(result1 driver.Driver)
- func (fake *FakeConn) DriverReturnsOnCall(i int, result1 driver.Driver)
- func (fake *FakeConn) Exec(query string, args ...interface{}) (sql.Result, error)
- func (fake *FakeConn) ExecArgsForCall(i int) (string, []interface{})
- func (fake *FakeConn) ExecCallCount() int
- func (fake *FakeConn) ExecReturns(result1 sql.Result, result2 error)
- func (fake *FakeConn) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *FakeConn) Invocations() map[string][][]interface{}
- func (fake *FakeConn) Ping() error
- func (fake *FakeConn) PingCallCount() int
- func (fake *FakeConn) PingReturns(result1 error)
- func (fake *FakeConn) PingReturnsOnCall(i int, result1 error)
- func (fake *FakeConn) Prepare(query string) (*sql.Stmt, error)
- func (fake *FakeConn) PrepareArgsForCall(i int) string
- func (fake *FakeConn) PrepareCallCount() int
- func (fake *FakeConn) PrepareReturns(result1 *sql.Stmt, result2 error)
- func (fake *FakeConn) PrepareReturnsOnCall(i int, result1 *sql.Stmt, result2 error)
- func (fake *FakeConn) Query(query string, args ...interface{}) (*sql.Rows, error)
- func (fake *FakeConn) QueryArgsForCall(i int) (string, []interface{})
- func (fake *FakeConn) QueryCallCount() int
- func (fake *FakeConn) QueryReturns(result1 *sql.Rows, result2 error)
- func (fake *FakeConn) QueryReturnsOnCall(i int, result1 *sql.Rows, result2 error)
- func (fake *FakeConn) QueryRow(query string, args ...interface{}) *sql.Row
- func (fake *FakeConn) QueryRowArgsForCall(i int) (string, []interface{})
- func (fake *FakeConn) QueryRowCallCount() int
- func (fake *FakeConn) QueryRowReturns(result1 *sql.Row)
- func (fake *FakeConn) QueryRowReturnsOnCall(i int, result1 *sql.Row)
- func (fake *FakeConn) SetMaxIdleConns(n int)
- func (fake *FakeConn) SetMaxIdleConnsArgsForCall(i int) int
- func (fake *FakeConn) SetMaxIdleConnsCallCount() int
- func (fake *FakeConn) SetMaxOpenConns(n int)
- func (fake *FakeConn) SetMaxOpenConnsArgsForCall(i int) int
- func (fake *FakeConn) SetMaxOpenConnsCallCount() int
- type FakeEventSource
- func (fake *FakeEventSource) Close() error
- func (fake *FakeEventSource) CloseCallCount() int
- func (fake *FakeEventSource) CloseReturns(result1 error)
- func (fake *FakeEventSource) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeEventSource) Invocations() map[string][][]interface{}
- func (fake *FakeEventSource) Next() (event.Envelope, error)
- func (fake *FakeEventSource) NextCallCount() int
- func (fake *FakeEventSource) NextReturns(result1 event.Envelope, result2 error)
- func (fake *FakeEventSource) NextReturnsOnCall(i int, result1 event.Envelope, result2 error)
- type FakeNotifier
- func (fake *FakeNotifier) Close() error
- func (fake *FakeNotifier) CloseCallCount() int
- func (fake *FakeNotifier) CloseReturns(result1 error)
- func (fake *FakeNotifier) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeNotifier) Invocations() map[string][][]interface{}
- func (fake *FakeNotifier) Notify() <-chan struct{}
- func (fake *FakeNotifier) NotifyCallCount() int
- func (fake *FakeNotifier) NotifyReturns(result1 <-chan struct{})
- func (fake *FakeNotifier) NotifyReturnsOnCall(i int, result1 <-chan struct{})
- type FakeTeamDB
- func (fake *FakeTeamDB) GetTeam() (db.SavedTeam, bool, error)
- func (fake *FakeTeamDB) GetTeamCallCount() int
- func (fake *FakeTeamDB) GetTeamReturns(result1 db.SavedTeam, result2 bool, result3 error)
- func (fake *FakeTeamDB) GetTeamReturnsOnCall(i int, result1 db.SavedTeam, result2 bool, result3 error)
- func (fake *FakeTeamDB) Invocations() map[string][][]interface{}
- type FakeTeamDBFactory
- func (fake *FakeTeamDBFactory) GetTeamDB(arg1 string) db.TeamDB
- func (fake *FakeTeamDBFactory) GetTeamDBArgsForCall(i int) string
- func (fake *FakeTeamDBFactory) GetTeamDBCallCount() int
- func (fake *FakeTeamDBFactory) GetTeamDBReturns(result1 db.TeamDB)
- func (fake *FakeTeamDBFactory) GetTeamDBReturnsOnCall(i int, result1 db.TeamDB)
- func (fake *FakeTeamDBFactory) Invocations() map[string][][]interface{}
- type FakeTx
- func (fake *FakeTx) Commit() error
- func (fake *FakeTx) CommitCallCount() int
- func (fake *FakeTx) CommitReturns(result1 error)
- func (fake *FakeTx) CommitReturnsOnCall(i int, result1 error)
- func (fake *FakeTx) Exec(query string, args ...interface{}) (sql.Result, error)
- func (fake *FakeTx) ExecArgsForCall(i int) (string, []interface{})
- func (fake *FakeTx) ExecCallCount() int
- func (fake *FakeTx) ExecReturns(result1 sql.Result, result2 error)
- func (fake *FakeTx) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *FakeTx) Invocations() map[string][][]interface{}
- func (fake *FakeTx) Prepare(query string) (*sql.Stmt, error)
- func (fake *FakeTx) PrepareArgsForCall(i int) string
- func (fake *FakeTx) PrepareCallCount() int
- func (fake *FakeTx) PrepareReturns(result1 *sql.Stmt, result2 error)
- func (fake *FakeTx) PrepareReturnsOnCall(i int, result1 *sql.Stmt, result2 error)
- func (fake *FakeTx) Query(query string, args ...interface{}) (*sql.Rows, error)
- func (fake *FakeTx) QueryArgsForCall(i int) (string, []interface{})
- func (fake *FakeTx) QueryCallCount() int
- func (fake *FakeTx) QueryReturns(result1 *sql.Rows, result2 error)
- func (fake *FakeTx) QueryReturnsOnCall(i int, result1 *sql.Rows, result2 error)
- func (fake *FakeTx) QueryRow(query string, args ...interface{}) *sql.Row
- func (fake *FakeTx) QueryRowArgsForCall(i int) (string, []interface{})
- func (fake *FakeTx) QueryRowCallCount() int
- func (fake *FakeTx) QueryRowReturns(result1 *sql.Row)
- func (fake *FakeTx) QueryRowReturnsOnCall(i int, result1 *sql.Row)
- func (fake *FakeTx) Rollback() error
- func (fake *FakeTx) RollbackCallCount() int
- func (fake *FakeTx) RollbackReturns(result1 error)
- func (fake *FakeTx) RollbackReturnsOnCall(i int, result1 error)
- func (fake *FakeTx) Stmt(stmt *sql.Stmt) *sql.Stmt
- func (fake *FakeTx) StmtArgsForCall(i int) *sql.Stmt
- func (fake *FakeTx) StmtCallCount() int
- func (fake *FakeTx) StmtReturns(result1 *sql.Stmt)
- func (fake *FakeTx) StmtReturnsOnCall(i int, result1 *sql.Stmt)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeConn ¶
type FakeConn struct { BeginStub func() (db.Tx, error) CloseStub func() error DriverStub func() driver.Driver ExecStub func(query string, args ...interface{}) (sql.Result, error) PingStub func() error PrepareStub func(query string) (*sql.Stmt, error) QueryStub func(query string, args ...interface{}) (*sql.Rows, error) QueryRowStub func(query string, args ...interface{}) *sql.Row SetMaxIdleConnsStub func(n int) SetMaxOpenConnsStub func(n int) // contains filtered or unexported fields }
func (*FakeConn) BeginCallCount ¶
func (*FakeConn) BeginReturnsOnCall ¶
func (*FakeConn) CloseCallCount ¶
func (*FakeConn) CloseReturns ¶
func (*FakeConn) CloseReturnsOnCall ¶
func (*FakeConn) DriverCallCount ¶
func (*FakeConn) DriverReturns ¶
func (*FakeConn) DriverReturnsOnCall ¶
func (*FakeConn) ExecArgsForCall ¶
func (*FakeConn) ExecCallCount ¶
func (*FakeConn) ExecReturnsOnCall ¶
func (*FakeConn) Invocations ¶
func (*FakeConn) PingCallCount ¶
func (*FakeConn) PingReturns ¶
func (*FakeConn) PingReturnsOnCall ¶
func (*FakeConn) PrepareArgsForCall ¶
func (*FakeConn) PrepareCallCount ¶
func (*FakeConn) PrepareReturns ¶
func (*FakeConn) PrepareReturnsOnCall ¶
func (*FakeConn) QueryArgsForCall ¶
func (*FakeConn) QueryCallCount ¶
func (*FakeConn) QueryReturns ¶
func (*FakeConn) QueryReturnsOnCall ¶
func (*FakeConn) QueryRowArgsForCall ¶
func (*FakeConn) QueryRowCallCount ¶
func (*FakeConn) QueryRowReturns ¶
func (*FakeConn) QueryRowReturnsOnCall ¶
func (*FakeConn) SetMaxIdleConns ¶
func (*FakeConn) SetMaxIdleConnsArgsForCall ¶
func (*FakeConn) SetMaxIdleConnsCallCount ¶
func (*FakeConn) SetMaxOpenConns ¶
func (*FakeConn) SetMaxOpenConnsArgsForCall ¶
func (*FakeConn) SetMaxOpenConnsCallCount ¶
type FakeEventSource ¶
type FakeEventSource struct { NextStub func() (event.Envelope, error) CloseStub func() error // contains filtered or unexported fields }
func (*FakeEventSource) Close ¶
func (fake *FakeEventSource) Close() error
func (*FakeEventSource) CloseCallCount ¶
func (fake *FakeEventSource) CloseCallCount() int
func (*FakeEventSource) CloseReturns ¶
func (fake *FakeEventSource) CloseReturns(result1 error)
func (*FakeEventSource) CloseReturnsOnCall ¶
func (fake *FakeEventSource) CloseReturnsOnCall(i int, result1 error)
func (*FakeEventSource) Invocations ¶
func (fake *FakeEventSource) Invocations() map[string][][]interface{}
func (*FakeEventSource) NextCallCount ¶
func (fake *FakeEventSource) NextCallCount() int
func (*FakeEventSource) NextReturns ¶
func (fake *FakeEventSource) NextReturns(result1 event.Envelope, result2 error)
func (*FakeEventSource) NextReturnsOnCall ¶
func (fake *FakeEventSource) NextReturnsOnCall(i int, result1 event.Envelope, result2 error)
type FakeNotifier ¶
type FakeNotifier struct { NotifyStub func() <-chan struct{} CloseStub func() error // contains filtered or unexported fields }
func (*FakeNotifier) Close ¶
func (fake *FakeNotifier) Close() error
func (*FakeNotifier) CloseCallCount ¶
func (fake *FakeNotifier) CloseCallCount() int
func (*FakeNotifier) CloseReturns ¶
func (fake *FakeNotifier) CloseReturns(result1 error)
func (*FakeNotifier) CloseReturnsOnCall ¶
func (fake *FakeNotifier) CloseReturnsOnCall(i int, result1 error)
func (*FakeNotifier) Invocations ¶
func (fake *FakeNotifier) Invocations() map[string][][]interface{}
func (*FakeNotifier) Notify ¶
func (fake *FakeNotifier) Notify() <-chan struct{}
func (*FakeNotifier) NotifyCallCount ¶
func (fake *FakeNotifier) NotifyCallCount() int
func (*FakeNotifier) NotifyReturns ¶
func (fake *FakeNotifier) NotifyReturns(result1 <-chan struct{})
func (*FakeNotifier) NotifyReturnsOnCall ¶
func (fake *FakeNotifier) NotifyReturnsOnCall(i int, result1 <-chan struct{})
type FakeTeamDB ¶
type FakeTeamDB struct { GetTeamStub func() (db.SavedTeam, bool, error) // contains filtered or unexported fields }
func (*FakeTeamDB) GetTeamCallCount ¶
func (fake *FakeTeamDB) GetTeamCallCount() int
func (*FakeTeamDB) GetTeamReturns ¶
func (fake *FakeTeamDB) GetTeamReturns(result1 db.SavedTeam, result2 bool, result3 error)
func (*FakeTeamDB) GetTeamReturnsOnCall ¶
func (*FakeTeamDB) Invocations ¶
func (fake *FakeTeamDB) Invocations() map[string][][]interface{}
type FakeTeamDBFactory ¶
type FakeTeamDBFactory struct { GetTeamDBStub func(string) db.TeamDB // contains filtered or unexported fields }
func (*FakeTeamDBFactory) GetTeamDB ¶
func (fake *FakeTeamDBFactory) GetTeamDB(arg1 string) db.TeamDB
func (*FakeTeamDBFactory) GetTeamDBArgsForCall ¶
func (fake *FakeTeamDBFactory) GetTeamDBArgsForCall(i int) string
func (*FakeTeamDBFactory) GetTeamDBCallCount ¶
func (fake *FakeTeamDBFactory) GetTeamDBCallCount() int
func (*FakeTeamDBFactory) GetTeamDBReturns ¶
func (fake *FakeTeamDBFactory) GetTeamDBReturns(result1 db.TeamDB)
func (*FakeTeamDBFactory) GetTeamDBReturnsOnCall ¶
func (fake *FakeTeamDBFactory) GetTeamDBReturnsOnCall(i int, result1 db.TeamDB)
func (*FakeTeamDBFactory) Invocations ¶
func (fake *FakeTeamDBFactory) Invocations() map[string][][]interface{}
type FakeTx ¶
type FakeTx struct { CommitStub func() error ExecStub func(query string, args ...interface{}) (sql.Result, error) PrepareStub func(query string) (*sql.Stmt, error) QueryStub func(query string, args ...interface{}) (*sql.Rows, error) QueryRowStub func(query string, args ...interface{}) *sql.Row RollbackStub func() error StmtStub func(stmt *sql.Stmt) *sql.Stmt // contains filtered or unexported fields }
func (*FakeTx) CommitCallCount ¶
func (*FakeTx) CommitReturns ¶
func (*FakeTx) CommitReturnsOnCall ¶
func (*FakeTx) ExecArgsForCall ¶
func (*FakeTx) ExecCallCount ¶
func (*FakeTx) ExecReturnsOnCall ¶
func (*FakeTx) Invocations ¶
func (*FakeTx) PrepareArgsForCall ¶
func (*FakeTx) PrepareCallCount ¶
func (*FakeTx) PrepareReturns ¶
func (*FakeTx) PrepareReturnsOnCall ¶
func (*FakeTx) QueryArgsForCall ¶
func (*FakeTx) QueryCallCount ¶
func (*FakeTx) QueryReturnsOnCall ¶
func (*FakeTx) QueryRowArgsForCall ¶
func (*FakeTx) QueryRowCallCount ¶
func (*FakeTx) QueryRowReturns ¶
func (*FakeTx) QueryRowReturnsOnCall ¶
func (*FakeTx) RollbackCallCount ¶
func (*FakeTx) RollbackReturns ¶
func (*FakeTx) RollbackReturnsOnCall ¶
func (*FakeTx) StmtCallCount ¶
func (*FakeTx) StmtReturns ¶
Click to show internal directories.
Click to hide internal directories.