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
Index ¶
- type FakeConnector
- type FakeDelegateConn
- func (fake *FakeDelegateConn) Exec(sql string, arguments ...interface{}) (commandTag pgx.CommandTag, err error)
- func (fake *FakeDelegateConn) ExecArgsForCall(i int) (string, []interface{})
- func (fake *FakeDelegateConn) ExecCallCount() int
- func (fake *FakeDelegateConn) ExecReturns(result1 pgx.CommandTag, result2 error)
- func (fake *FakeDelegateConn) Invocations() map[string][][]interface{}
- func (fake *FakeDelegateConn) Query(sql string, args ...interface{}) (*pgx.Rows, error)
- func (fake *FakeDelegateConn) QueryArgsForCall(i int) (string, []interface{})
- func (fake *FakeDelegateConn) QueryCallCount() int
- func (fake *FakeDelegateConn) QueryReturns(result1 *pgx.Rows, result2 error)
- func (fake *FakeDelegateConn) QueryRow(sql string, args ...interface{}) *pgx.Row
- func (fake *FakeDelegateConn) QueryRowArgsForCall(i int) (string, []interface{})
- func (fake *FakeDelegateConn) QueryRowCallCount() int
- func (fake *FakeDelegateConn) QueryRowReturns(result1 *pgx.Row)
- type FakeLock
- func (fake *FakeLock) Acquire() (bool, error)
- func (fake *FakeLock) AcquireCallCount() int
- func (fake *FakeLock) AcquireReturns(result1 bool, result2 error)
- func (fake *FakeLock) AfterRelease(arg1 func() error)
- func (fake *FakeLock) AfterReleaseArgsForCall(i int) func() error
- func (fake *FakeLock) AfterReleaseCallCount() int
- func (fake *FakeLock) Invocations() map[string][][]interface{}
- func (fake *FakeLock) Release() error
- func (fake *FakeLock) ReleaseCallCount() int
- func (fake *FakeLock) ReleaseReturns(result1 error)
- type FakeLockDB
- func (fake *FakeLockDB) Acquire(id lock.LockID) (bool, error)
- func (fake *FakeLockDB) AcquireArgsForCall(i int) lock.LockID
- func (fake *FakeLockDB) AcquireCallCount() int
- func (fake *FakeLockDB) AcquireReturns(result1 bool, result2 error)
- func (fake *FakeLockDB) Invocations() map[string][][]interface{}
- func (fake *FakeLockDB) Release(id lock.LockID) error
- func (fake *FakeLockDB) ReleaseArgsForCall(i int) lock.LockID
- func (fake *FakeLockDB) ReleaseCallCount() int
- func (fake *FakeLockDB) ReleaseReturns(result1 error)
- type FakeLockFactory
- func (fake *FakeLockFactory) Invocations() map[string][][]interface{}
- func (fake *FakeLockFactory) NewLock(logger lager.Logger, ids lock.LockID) lock.Lock
- func (fake *FakeLockFactory) NewLockArgsForCall(i int) (lager.Logger, lock.LockID)
- func (fake *FakeLockFactory) NewLockCallCount() int
- func (fake *FakeLockFactory) NewLockReturns(result1 lock.Lock)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeConnector ¶
type FakeConnector struct { ConnectStub func() (lock.DelegateConn, error) // contains filtered or unexported fields }
func (*FakeConnector) Connect ¶
func (fake *FakeConnector) Connect() (lock.DelegateConn, error)
func (*FakeConnector) ConnectCallCount ¶
func (fake *FakeConnector) ConnectCallCount() int
func (*FakeConnector) ConnectReturns ¶
func (fake *FakeConnector) ConnectReturns(result1 lock.DelegateConn, result2 error)
func (*FakeConnector) Invocations ¶
func (fake *FakeConnector) Invocations() map[string][][]interface{}
type FakeDelegateConn ¶
type FakeDelegateConn struct { QueryStub func(sql string, args ...interface{}) (*pgx.Rows, error) QueryRowStub func(sql string, args ...interface{}) *pgx.Row ExecStub func(sql string, arguments ...interface{}) (commandTag pgx.CommandTag, err error) // contains filtered or unexported fields }
func (*FakeDelegateConn) Exec ¶
func (fake *FakeDelegateConn) Exec(sql string, arguments ...interface{}) (commandTag pgx.CommandTag, err error)
func (*FakeDelegateConn) ExecArgsForCall ¶
func (fake *FakeDelegateConn) ExecArgsForCall(i int) (string, []interface{})
func (*FakeDelegateConn) ExecCallCount ¶
func (fake *FakeDelegateConn) ExecCallCount() int
func (*FakeDelegateConn) ExecReturns ¶
func (fake *FakeDelegateConn) ExecReturns(result1 pgx.CommandTag, result2 error)
func (*FakeDelegateConn) Invocations ¶
func (fake *FakeDelegateConn) Invocations() map[string][][]interface{}
func (*FakeDelegateConn) Query ¶
func (fake *FakeDelegateConn) Query(sql string, args ...interface{}) (*pgx.Rows, error)
func (*FakeDelegateConn) QueryArgsForCall ¶
func (fake *FakeDelegateConn) QueryArgsForCall(i int) (string, []interface{})
func (*FakeDelegateConn) QueryCallCount ¶
func (fake *FakeDelegateConn) QueryCallCount() int
func (*FakeDelegateConn) QueryReturns ¶
func (fake *FakeDelegateConn) QueryReturns(result1 *pgx.Rows, result2 error)
func (*FakeDelegateConn) QueryRow ¶
func (fake *FakeDelegateConn) QueryRow(sql string, args ...interface{}) *pgx.Row
func (*FakeDelegateConn) QueryRowArgsForCall ¶
func (fake *FakeDelegateConn) QueryRowArgsForCall(i int) (string, []interface{})
func (*FakeDelegateConn) QueryRowCallCount ¶
func (fake *FakeDelegateConn) QueryRowCallCount() int
func (*FakeDelegateConn) QueryRowReturns ¶
func (fake *FakeDelegateConn) QueryRowReturns(result1 *pgx.Row)
type FakeLock ¶
type FakeLock struct { AcquireStub func() (bool, error) ReleaseStub func() error AfterReleaseStub func(func() error) // contains filtered or unexported fields }
func (*FakeLock) AcquireCallCount ¶
func (*FakeLock) AcquireReturns ¶
func (*FakeLock) AfterRelease ¶
func (*FakeLock) AfterReleaseArgsForCall ¶
func (*FakeLock) AfterReleaseCallCount ¶
func (*FakeLock) Invocations ¶
func (*FakeLock) ReleaseCallCount ¶
func (*FakeLock) ReleaseReturns ¶
type FakeLockDB ¶
type FakeLockDB struct { AcquireStub func(id lock.LockID) (bool, error) ReleaseStub func(id lock.LockID) error // contains filtered or unexported fields }
func (*FakeLockDB) AcquireArgsForCall ¶
func (fake *FakeLockDB) AcquireArgsForCall(i int) lock.LockID
func (*FakeLockDB) AcquireCallCount ¶
func (fake *FakeLockDB) AcquireCallCount() int
func (*FakeLockDB) AcquireReturns ¶
func (fake *FakeLockDB) AcquireReturns(result1 bool, result2 error)
func (*FakeLockDB) Invocations ¶
func (fake *FakeLockDB) Invocations() map[string][][]interface{}
func (*FakeLockDB) ReleaseArgsForCall ¶
func (fake *FakeLockDB) ReleaseArgsForCall(i int) lock.LockID
func (*FakeLockDB) ReleaseCallCount ¶
func (fake *FakeLockDB) ReleaseCallCount() int
func (*FakeLockDB) ReleaseReturns ¶
func (fake *FakeLockDB) ReleaseReturns(result1 error)
type FakeLockFactory ¶
type FakeLockFactory struct { NewLockStub func(logger lager.Logger, ids lock.LockID) lock.Lock // contains filtered or unexported fields }
func (*FakeLockFactory) Invocations ¶
func (fake *FakeLockFactory) Invocations() map[string][][]interface{}
func (*FakeLockFactory) NewLockArgsForCall ¶
func (*FakeLockFactory) NewLockCallCount ¶
func (fake *FakeLockFactory) NewLockCallCount() int
func (*FakeLockFactory) NewLockReturns ¶
func (fake *FakeLockFactory) NewLockReturns(result1 lock.Lock)
Click to show internal directories.
Click to hide internal directories.