Documentation ¶
Overview ¶
Package lockermock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) IsMaster ¶
func (m *MockLocker) IsMaster(arg0 context.Context) (bool, error)
IsMaster mocks base method.
func (*MockLocker) Refresh ¶
func (m *MockLocker) Refresh(arg0 context.Context) error
Refresh mocks base method.
type MockLockerMockRecorder ¶
type MockLockerMockRecorder struct {
// contains filtered or unexported fields
}
MockLockerMockRecorder is the mock recorder for MockLocker.
func (*MockLockerMockRecorder) IsMaster ¶
func (mr *MockLockerMockRecorder) IsMaster(arg0 interface{}) *gomock.Call
IsMaster indicates an expected call of IsMaster.
func (*MockLockerMockRecorder) Refresh ¶
func (mr *MockLockerMockRecorder) Refresh(arg0 interface{}) *gomock.Call
Refresh indicates an expected call of Refresh.
func (*MockLockerMockRecorder) Stop ¶
func (mr *MockLockerMockRecorder) Stop(arg0 interface{}) *gomock.Call
Stop indicates an expected call of Stop.
func (*MockLockerMockRecorder) Unlock ¶
func (mr *MockLockerMockRecorder) Unlock(arg0 interface{}) *gomock.Call
Unlock indicates an expected call of Unlock.
Click to show internal directories.
Click to hide internal directories.