Documentation ¶
Overview ¶
Package mock_lock is a generated GoMock package.
Index ¶
- type MockLockStore
- func (m *MockLockStore) EXPECT() *MockLockStoreMockRecorder
- func (m *MockLockStore) Features() []lock.Feature
- func (m *MockLockStore) Init(metadata lock.Metadata) error
- func (m *MockLockStore) TryLock(req *lock.TryLockRequest) (*lock.TryLockResponse, error)
- func (m *MockLockStore) Unlock(req *lock.UnlockRequest) (*lock.UnlockResponse, error)
- type MockLockStoreMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLockStore ¶
type MockLockStore struct {
// contains filtered or unexported fields
}
MockLockStore is a mock of LockStore interface.
func NewMockLockStore ¶
func NewMockLockStore(ctrl *gomock.Controller) *MockLockStore
NewMockLockStore creates a new mock instance.
func (*MockLockStore) EXPECT ¶
func (m *MockLockStore) EXPECT() *MockLockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLockStore) Features ¶
func (m *MockLockStore) Features() []lock.Feature
Features mocks base method.
func (*MockLockStore) Init ¶
func (m *MockLockStore) Init(metadata lock.Metadata) error
Init mocks base method.
func (*MockLockStore) TryLock ¶
func (m *MockLockStore) TryLock(req *lock.TryLockRequest) (*lock.TryLockResponse, error)
TryLock mocks base method.
func (*MockLockStore) Unlock ¶
func (m *MockLockStore) Unlock(req *lock.UnlockRequest) (*lock.UnlockResponse, error)
Unlock mocks base method.
type MockLockStoreMockRecorder ¶
type MockLockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockLockStoreMockRecorder is the mock recorder for MockLockStore.
func (*MockLockStoreMockRecorder) Features ¶
func (mr *MockLockStoreMockRecorder) Features() *gomock.Call
Features indicates an expected call of Features.
func (*MockLockStoreMockRecorder) Init ¶
func (mr *MockLockStoreMockRecorder) Init(metadata interface{}) *gomock.Call
Init indicates an expected call of Init.
func (*MockLockStoreMockRecorder) TryLock ¶
func (mr *MockLockStoreMockRecorder) TryLock(req interface{}) *gomock.Call
TryLock indicates an expected call of TryLock.
func (*MockLockStoreMockRecorder) Unlock ¶
func (mr *MockLockStoreMockRecorder) Unlock(req interface{}) *gomock.Call
Unlock indicates an expected call of Unlock.
Click to show internal directories.
Click to hide internal directories.