Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeLock
- func (fake *FakeLock) Acquire() (bool, error)
- func (fake *FakeLock) AcquireCallCount() int
- func (fake *FakeLock) AcquireReturns(result1 bool, result2 error)
- func (fake *FakeLock) AcquireReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeLock) Invocations() map[string][][]interface{}
- func (fake *FakeLock) Release() error
- func (fake *FakeLock) ReleaseCallCount() int
- func (fake *FakeLock) ReleaseReturns(result1 error)
- func (fake *FakeLock) ReleaseReturnsOnCall(i int, 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) AcquireReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeLockDB) Invocations() map[string][][]interface{}
- func (fake *FakeLockDB) Release(id lock.LockID) (bool, error)
- func (fake *FakeLockDB) ReleaseArgsForCall(i int) lock.LockID
- func (fake *FakeLockDB) ReleaseCallCount() int
- func (fake *FakeLockDB) ReleaseReturns(result1 bool, result2 error)
- func (fake *FakeLockDB) ReleaseReturnsOnCall(i int, result1 bool, result2 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)
- func (fake *FakeLockFactory) NewLockReturnsOnCall(i int, result1 lock.Lock)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeLock ¶
type FakeLock struct { AcquireStub func() (bool, error) ReleaseStub func() error // contains filtered or unexported fields }
func (*FakeLock) AcquireCallCount ¶
func (*FakeLock) AcquireReturns ¶
func (*FakeLock) AcquireReturnsOnCall ¶
func (*FakeLock) Invocations ¶
func (*FakeLock) ReleaseCallCount ¶
func (*FakeLock) ReleaseReturns ¶
func (*FakeLock) ReleaseReturnsOnCall ¶
type FakeLockDB ¶
type FakeLockDB struct { AcquireStub func(id lock.LockID) (bool, error) ReleaseStub func(id lock.LockID) (bool, 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) AcquireReturnsOnCall ¶
func (fake *FakeLockDB) AcquireReturnsOnCall(i int, 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 bool, result2 error)
func (*FakeLockDB) ReleaseReturnsOnCall ¶
func (fake *FakeLockDB) ReleaseReturnsOnCall(i int, result1 bool, result2 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)
func (*FakeLockFactory) NewLockReturnsOnCall ¶
func (fake *FakeLockFactory) NewLockReturnsOnCall(i int, result1 lock.Lock)
Click to show internal directories.
Click to hide internal directories.