Versions in this module Expand all Collapse all v6 v6.4.2 Aug 17, 2020 Changes in this version + type FakeLock struct + ReleaseStub func() error + func (fake *FakeLock) Invocations() map[string][][]interface{} + func (fake *FakeLock) Release() error + func (fake *FakeLock) ReleaseCallCount() int + func (fake *FakeLock) ReleaseCalls(stub func() error) + func (fake *FakeLock) ReleaseReturns(result1 error) + func (fake *FakeLock) ReleaseReturnsOnCall(i int, result1 error) + type FakeLockDB struct + AcquireStub func(lock.LockID) (bool, error) + ReleaseStub func(lock.LockID) (bool, error) + func (fake *FakeLockDB) Acquire(arg1 lock.LockID) (bool, error) + func (fake *FakeLockDB) AcquireArgsForCall(i int) lock.LockID + func (fake *FakeLockDB) AcquireCallCount() int + func (fake *FakeLockDB) AcquireCalls(stub func(lock.LockID) (bool, error)) + 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(arg1 lock.LockID) (bool, error) + func (fake *FakeLockDB) ReleaseArgsForCall(i int) lock.LockID + func (fake *FakeLockDB) ReleaseCallCount() int + func (fake *FakeLockDB) ReleaseCalls(stub func(lock.LockID) (bool, error)) + func (fake *FakeLockDB) ReleaseReturns(result1 bool, result2 error) + func (fake *FakeLockDB) ReleaseReturnsOnCall(i int, result1 bool, result2 error) + type FakeLockFactory struct + AcquireStub func(lager.Logger, lock.LockID) (lock.Lock, bool, error) + func (fake *FakeLockFactory) Acquire(arg1 lager.Logger, arg2 lock.LockID) (lock.Lock, bool, error) + func (fake *FakeLockFactory) AcquireArgsForCall(i int) (lager.Logger, lock.LockID) + func (fake *FakeLockFactory) AcquireCallCount() int + func (fake *FakeLockFactory) AcquireCalls(stub func(lager.Logger, lock.LockID) (lock.Lock, bool, error)) + 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{}