Documentation
¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeDbProvider
- type FakeIDb
- func (fake *FakeIDb) Close()
- func (fake *FakeIDb) CloseCallCount() int
- func (fake *FakeIDb) Exec(query string, args ...interface{}) (sql.Result, error)
- func (fake *FakeIDb) ExecArgsForCall(i int) (string, []interface{})
- func (fake *FakeIDb) ExecCallCount() int
- func (fake *FakeIDb) ExecReturns(result1 sql.Result, result2 error)
- func (fake *FakeIDb) Invocations() map[string][][]interface{}
- func (fake *FakeIDb) Query(query string, args ...interface{}) (store.IRows, error)
- func (fake *FakeIDb) QueryArgsForCall(i int) (string, []interface{})
- func (fake *FakeIDb) QueryCallCount() int
- func (fake *FakeIDb) QueryReturns(result1 store.IRows, result2 error)
- func (fake *FakeIDb) QueryRow(query string, args ...interface{}) store.IRow
- func (fake *FakeIDb) QueryRowArgsForCall(i int) (string, []interface{})
- func (fake *FakeIDb) QueryRowCallCount() int
- func (fake *FakeIDb) QueryRowReturns(result1 store.IRow)
- func (fake *FakeIDb) SetMaxIdleConns(n int)
- func (fake *FakeIDb) SetMaxIdleConnsArgsForCall(i int) int
- func (fake *FakeIDb) SetMaxIdleConnsCallCount() int
- func (fake *FakeIDb) SetMaxOpenConns(n int)
- func (fake *FakeIDb) SetMaxOpenConnsArgsForCall(i int) int
- func (fake *FakeIDb) SetMaxOpenConnsCallCount() int
- type FakeIRow
- type FakeIRows
- func (fake *FakeIRows) Close() error
- func (fake *FakeIRows) CloseCallCount() int
- func (fake *FakeIRows) CloseReturns(result1 error)
- func (fake *FakeIRows) Invocations() map[string][][]interface{}
- func (fake *FakeIRows) Next() bool
- func (fake *FakeIRows) NextCallCount() int
- func (fake *FakeIRows) NextReturns(result1 bool)
- func (fake *FakeIRows) Scan(dest ...interface{}) error
- func (fake *FakeIRows) ScanArgsForCall(i int) []interface{}
- func (fake *FakeIRows) ScanCallCount() int
- func (fake *FakeIRows) ScanReturns(result1 error)
- type FakeISql
- func (fake *FakeISql) Invocations() map[string][][]interface{}
- func (fake *FakeISql) Open(driverName string, dataSourceName string, migrations []migration.Migrator) (store.IDb, error)
- func (fake *FakeISql) OpenArgsForCall(i int) (string, string, []migration.Migrator)
- func (fake *FakeISql) OpenCallCount() int
- func (fake *FakeISql) OpenReturns(result1 store.IDb, result2 error)
- type FakeResult
- func (fake *FakeResult) Invocations() map[string][][]interface{}
- func (fake *FakeResult) LastInsertId() (int64, error)
- func (fake *FakeResult) LastInsertIdCallCount() int
- func (fake *FakeResult) LastInsertIdReturns(result1 int64, result2 error)
- func (fake *FakeResult) RowsAffected() (int64, error)
- func (fake *FakeResult) RowsAffectedCallCount() int
- func (fake *FakeResult) RowsAffectedReturns(result1 int64, result2 error)
- type FakeStore
- func (fake *FakeStore) Delete(key string) (int, error)
- func (fake *FakeStore) DeleteArgsForCall(i int) string
- func (fake *FakeStore) DeleteCallCount() int
- func (fake *FakeStore) DeleteReturns(result1 int, result2 error)
- func (fake *FakeStore) GetByID(id string) (store.Configuration, error)
- func (fake *FakeStore) GetByIDArgsForCall(i int) string
- func (fake *FakeStore) GetByIDCallCount() int
- func (fake *FakeStore) GetByIDReturns(result1 store.Configuration, result2 error)
- func (fake *FakeStore) GetByName(name string) (store.Configurations, error)
- func (fake *FakeStore) GetByNameArgsForCall(i int) string
- func (fake *FakeStore) GetByNameCallCount() int
- func (fake *FakeStore) GetByNameReturns(result1 store.Configurations, result2 error)
- func (fake *FakeStore) Invocations() map[string][][]interface{}
- func (fake *FakeStore) Put(key string, value string) (string, error)
- func (fake *FakeStore) PutArgsForCall(i int) (string, string)
- func (fake *FakeStore) PutCallCount() int
- func (fake *FakeStore) PutReturns(result1 string, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDbProvider ¶
type FakeDbProvider struct { DbStub func() (store.IDb, error) // contains filtered or unexported fields }
func (*FakeDbProvider) DbCallCount ¶
func (fake *FakeDbProvider) DbCallCount() int
func (*FakeDbProvider) DbReturns ¶
func (fake *FakeDbProvider) DbReturns(result1 store.IDb, result2 error)
func (*FakeDbProvider) Invocations ¶
func (fake *FakeDbProvider) Invocations() map[string][][]interface{}
type FakeIDb ¶
type FakeIDb struct { ExecStub func(query string, args ...interface{}) (sql.Result, error) QueryStub func(query string, args ...interface{}) (store.IRows, error) QueryRowStub func(query string, args ...interface{}) store.IRow SetMaxOpenConnsStub func(n int) SetMaxIdleConnsStub func(n int) CloseStub func() // contains filtered or unexported fields }
func (*FakeIDb) CloseCallCount ¶
func (*FakeIDb) ExecArgsForCall ¶
func (*FakeIDb) ExecCallCount ¶
func (*FakeIDb) Invocations ¶
func (*FakeIDb) QueryArgsForCall ¶
func (*FakeIDb) QueryCallCount ¶
func (*FakeIDb) QueryReturns ¶
func (*FakeIDb) QueryRowArgsForCall ¶
func (*FakeIDb) QueryRowCallCount ¶
func (*FakeIDb) QueryRowReturns ¶
func (*FakeIDb) SetMaxIdleConns ¶
func (*FakeIDb) SetMaxIdleConnsArgsForCall ¶
func (*FakeIDb) SetMaxIdleConnsCallCount ¶
func (*FakeIDb) SetMaxOpenConns ¶
func (*FakeIDb) SetMaxOpenConnsArgsForCall ¶
func (*FakeIDb) SetMaxOpenConnsCallCount ¶
type FakeIRow ¶
type FakeIRow struct { ScanStub func(dest ...interface{}) error // contains filtered or unexported fields }
func (*FakeIRow) Invocations ¶
func (*FakeIRow) ScanArgsForCall ¶
func (*FakeIRow) ScanCallCount ¶
func (*FakeIRow) ScanReturns ¶
type FakeIRows ¶
type FakeIRows struct { NextStub func() bool CloseStub func() error ScanStub func(dest ...interface{}) error // contains filtered or unexported fields }
func (*FakeIRows) CloseCallCount ¶
func (*FakeIRows) CloseReturns ¶
func (*FakeIRows) Invocations ¶
func (*FakeIRows) NextCallCount ¶
func (*FakeIRows) NextReturns ¶
func (*FakeIRows) ScanArgsForCall ¶
func (*FakeIRows) ScanCallCount ¶
func (*FakeIRows) ScanReturns ¶
type FakeISql ¶
type FakeISql struct { OpenStub func(driverName, dataSourceName string, migrations []migration.Migrator) (store.IDb, error) // contains filtered or unexported fields }
func (*FakeISql) Invocations ¶
func (*FakeISql) OpenArgsForCall ¶
func (*FakeISql) OpenCallCount ¶
type FakeResult ¶
type FakeResult struct { LastInsertIdStub func() (int64, error) RowsAffectedStub func() (int64, error) // contains filtered or unexported fields }
func (*FakeResult) Invocations ¶
func (fake *FakeResult) Invocations() map[string][][]interface{}
func (*FakeResult) LastInsertId ¶
func (fake *FakeResult) LastInsertId() (int64, error)
func (*FakeResult) LastInsertIdCallCount ¶
func (fake *FakeResult) LastInsertIdCallCount() int
func (*FakeResult) LastInsertIdReturns ¶
func (fake *FakeResult) LastInsertIdReturns(result1 int64, result2 error)
func (*FakeResult) RowsAffected ¶
func (fake *FakeResult) RowsAffected() (int64, error)
func (*FakeResult) RowsAffectedCallCount ¶
func (fake *FakeResult) RowsAffectedCallCount() int
func (*FakeResult) RowsAffectedReturns ¶
func (fake *FakeResult) RowsAffectedReturns(result1 int64, result2 error)
type FakeStore ¶
type FakeStore struct { PutStub func(key string, value string) (string, error) GetByNameStub func(name string) (store.Configurations, error) GetByIDStub func(id string) (store.Configuration, error) DeleteStub func(key string) (int, error) // contains filtered or unexported fields }
func (*FakeStore) DeleteArgsForCall ¶
func (*FakeStore) DeleteCallCount ¶
func (*FakeStore) DeleteReturns ¶
func (*FakeStore) GetByIDArgsForCall ¶
func (*FakeStore) GetByIDCallCount ¶
func (*FakeStore) GetByIDReturns ¶
func (fake *FakeStore) GetByIDReturns(result1 store.Configuration, result2 error)
func (*FakeStore) GetByName ¶
func (fake *FakeStore) GetByName(name string) (store.Configurations, error)
func (*FakeStore) GetByNameArgsForCall ¶
func (*FakeStore) GetByNameCallCount ¶
func (*FakeStore) GetByNameReturns ¶
func (fake *FakeStore) GetByNameReturns(result1 store.Configurations, result2 error)
func (*FakeStore) Invocations ¶
func (*FakeStore) PutCallCount ¶
func (*FakeStore) PutReturns ¶
Click to show internal directories.
Click to hide internal directories.