Documentation
¶
Overview ¶
Package mock_appservices is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) KVDelete(arg0, arg1, arg2 string) error
- func (m *MockService) KVGet(arg0, arg1, arg2 string, arg3 interface{}) error
- func (m *MockService) KVSet(arg0, arg1, arg2 string, arg3 interface{}) (bool, error)
- func (m *MockService) Subscribe(arg0 string, arg1 *apps.Subscription) error
- func (m *MockService) Unsubscribe(arg0 string, arg1 *apps.Subscription) error
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) KVDelete(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) KVGet(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) KVSet(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Subscribe(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Unsubscribe(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockService) KVDelete ¶
func (m *MockService) KVDelete(arg0, arg1, arg2 string) error
KVDelete mocks base method
func (*MockService) KVGet ¶
func (m *MockService) KVGet(arg0, arg1, arg2 string, arg3 interface{}) error
KVGet mocks base method
func (*MockService) KVSet ¶
func (m *MockService) KVSet(arg0, arg1, arg2 string, arg3 interface{}) (bool, error)
KVSet mocks base method
func (*MockService) Subscribe ¶
func (m *MockService) Subscribe(arg0 string, arg1 *apps.Subscription) error
Subscribe mocks base method
func (*MockService) Unsubscribe ¶
func (m *MockService) Unsubscribe(arg0 string, arg1 *apps.Subscription) error
Unsubscribe mocks base method
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService
func (*MockServiceMockRecorder) KVDelete ¶
func (mr *MockServiceMockRecorder) KVDelete(arg0, arg1, arg2 interface{}) *gomock.Call
KVDelete indicates an expected call of KVDelete
func (*MockServiceMockRecorder) KVGet ¶
func (mr *MockServiceMockRecorder) KVGet(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
KVGet indicates an expected call of KVGet
func (*MockServiceMockRecorder) KVSet ¶
func (mr *MockServiceMockRecorder) KVSet(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
KVSet indicates an expected call of KVSet
func (*MockServiceMockRecorder) Subscribe ¶
func (mr *MockServiceMockRecorder) Subscribe(arg0, arg1 interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe
func (*MockServiceMockRecorder) Unsubscribe ¶
func (mr *MockServiceMockRecorder) Unsubscribe(arg0, arg1 interface{}) *gomock.Call
Unsubscribe indicates an expected call of Unsubscribe