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
- 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) Acquire(logger lager.Logger, ids lock.LockID) (lock.Lock, bool, error)
- func (fake *FakeLockFactory) AcquireArgsForCall(i int) (lager.Logger, lock.LockID)
- func (fake *FakeLockFactory) AcquireCallCount() int
- func (fake *FakeLockFactory) AcquireReturns(result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakeLockFactory) AcquireReturnsOnCall(i int, result1 lock.Lock, result2 bool, result3 error)
- func (fake *FakeLockFactory) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeLock ¶
type FakeLock struct { ReleaseStub func() error // contains filtered or unexported fields }
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 { AcquireStub func(logger lager.Logger, ids lock.LockID) (lock.Lock, bool, error) // contains filtered or unexported fields }
func (*FakeLockFactory) AcquireArgsForCall ¶
func (*FakeLockFactory) AcquireCallCount ¶
func (fake *FakeLockFactory) AcquireCallCount() int
func (*FakeLockFactory) AcquireReturns ¶
func (fake *FakeLockFactory) AcquireReturns(result1 lock.Lock, result2 bool, result3 error)
func (*FakeLockFactory) AcquireReturnsOnCall ¶
func (*FakeLockFactory) Invocations ¶
func (fake *FakeLockFactory) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.