Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks 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.
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) Acquire ¶
func (m *MockLocker) Acquire(arg0 context.Context, arg1 string, arg2, arg3 time.Duration) (definition.Lock, error)
Acquire mocks base method.
func (*MockLocker) AcquireWithRenew ¶
func (m *MockLocker) AcquireWithRenew(arg0 context.Context, arg1 string, arg2, arg3 time.Duration) error
AcquireWithRenew mocks base method.
func (*MockLocker) EXPECT ¶
func (m *MockLocker) EXPECT() *MockLockerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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, arg2, arg3 any) *gomock.Call
Acquire indicates an expected call of Acquire.
func (*MockLockerMockRecorder) AcquireWithRenew ¶
func (mr *MockLockerMockRecorder) AcquireWithRenew(arg0, arg1, arg2, arg3 any) *gomock.Call
AcquireWithRenew indicates an expected call of AcquireWithRenew.