Documentation ¶
Overview ¶
Package storemock is a generated GoMock package.
Package storemock is a generated GoMock package.
Index ¶
- type MockRegistration
- type MockRegistrationMockRecorder
- type MockStore
- func (m *MockStore) Delete(arg0 context.Context, arg1 string) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) Get(arg0 context.Context, arg1 string, arg2 bool, arg3 interface{}) error
- func (m *MockStore) GetWithRevision(arg0 context.Context, arg1 string, arg2 int64, arg3 bool, arg4 interface{}) error
- func (m *MockStore) Set(arg0 context.Context, arg1 string, arg2 interface{}) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Get(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetWithRevision(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Set(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRegistration ¶
type MockRegistration struct {
// contains filtered or unexported fields
}
MockRegistration is a mock of Registration interface.
func NewMockRegistration ¶
func NewMockRegistration(ctrl *gomock.Controller) *MockRegistration
NewMockRegistration creates a new mock instance.
func (*MockRegistration) EXPECT ¶
func (m *MockRegistration) EXPECT() *MockRegistrationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRegistration) EventChan ¶
func (m *MockRegistration) EventChan() <-chan *clientv3.Event
EventChan mocks base method.
func (*MockRegistration) Unregister ¶
func (m *MockRegistration) Unregister()
Unregister mocks base method.
type MockRegistrationMockRecorder ¶
type MockRegistrationMockRecorder struct {
// contains filtered or unexported fields
}
MockRegistrationMockRecorder is the mock recorder for MockRegistration.
func (*MockRegistrationMockRecorder) EventChan ¶
func (mr *MockRegistrationMockRecorder) EventChan() *gomock.Call
EventChan indicates an expected call of EventChan.
func (*MockRegistrationMockRecorder) Unregister ¶
func (mr *MockRegistrationMockRecorder) Unregister() *gomock.Call
Unregister indicates an expected call of Unregister.
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface.
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance.
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
func (*MockStoreMockRecorder) Delete ¶
func (mr *MockStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockStoreMockRecorder) Get ¶
func (mr *MockStoreMockRecorder) Get(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockStoreMockRecorder) GetWithRevision ¶
func (mr *MockStoreMockRecorder) GetWithRevision(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GetWithRevision indicates an expected call of GetWithRevision.
func (*MockStoreMockRecorder) Set ¶
func (mr *MockStoreMockRecorder) Set(arg0, arg1, arg2 interface{}) *gomock.Call
Set indicates an expected call of Set.