Documentation ¶
Overview ¶
Package lockmock is a generated GoMock package.
Package lockmock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLock ¶
type MockLock struct {
// contains filtered or unexported fields
}
MockLock is a mock of Lock interface
func NewMockLock ¶
func NewMockLock(ctrl *gomock.Controller) *MockLock
NewMockLock creates a new mock instance
func (*MockLock) EXPECT ¶
func (m *MockLock) EXPECT() *MockLockMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockLockMockRecorder ¶
type MockLockMockRecorder struct {
// contains filtered or unexported fields
}
MockLockMockRecorder is the mock recorder for MockLock
func (*MockLockMockRecorder) Release ¶
func (mr *MockLockMockRecorder) Release() *gomock.Call
Release indicates an expected call of Release
type MockLockMutex ¶
type MockLockMutex struct {
// contains filtered or unexported fields
}
func (*MockLockMutex) Release ¶
func (lock *MockLockMutex) Release() error
type MockLocker ¶
type MockLocker struct {
// contains filtered or unexported fields
}
MockLocker is a mock of Locker interface
func NewMockLocker ¶
func NewMockLocker(ctrl *gomock.Controller) *MockLocker
NewMockLocker creates a new mock instance
func (*MockLocker) EXPECT ¶
func (m *MockLocker) EXPECT() *MockLockerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLocker) WaitAcquire ¶
WaitAcquire mocks base method
type MockLockerMockRecorder ¶
type MockLockerMockRecorder struct {
// contains filtered or unexported fields
}
MockLockerMockRecorder is the mock recorder for MockLocker
func (*MockLockerMockRecorder) Acquire ¶
func (mr *MockLockerMockRecorder) Acquire(arg0, arg1 interface{}) *gomock.Call
Acquire indicates an expected call of Acquire
func (*MockLockerMockRecorder) Wait ¶
func (mr *MockLockerMockRecorder) Wait(arg0 interface{}) *gomock.Call
Wait indicates an expected call of Wait
func (*MockLockerMockRecorder) WaitAcquire ¶
func (mr *MockLockerMockRecorder) WaitAcquire(arg0, arg1 interface{}) *gomock.Call
WaitAcquire indicates an expected call of WaitAcquire
type MockLockerMutex ¶
func New ¶
func New() *MockLockerMutex
func (*MockLockerMutex) Wait ¶
func (locker *MockLockerMutex) Wait(path string) error