Documentation ¶
Overview ¶
Package mock_appservices is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) GetOAuth2User(arg0 apps.AppID, arg1 string, arg2 interface{}) error
- 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) StoreOAuth2App(arg0 apps.AppID, arg1 string, arg2 apps.OAuth2App) error
- func (m *MockService) StoreOAuth2User(arg0 apps.AppID, arg1 string, arg2 interface{}) 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) GetOAuth2User(arg0, arg1, arg2 interface{}) *gomock.Call
- 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) StoreOAuth2App(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) StoreOAuth2User(arg0, arg1, arg2 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) GetOAuth2User ¶ added in v0.3.0
func (m *MockService) GetOAuth2User(arg0 apps.AppID, arg1 string, arg2 interface{}) error
GetOAuth2User mocks base method.
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) StoreOAuth2App ¶ added in v0.3.0
StoreOAuth2App mocks base method.
func (*MockService) StoreOAuth2User ¶ added in v0.3.0
func (m *MockService) StoreOAuth2User(arg0 apps.AppID, arg1 string, arg2 interface{}) error
StoreOAuth2User 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) GetOAuth2User ¶ added in v0.3.0
func (mr *MockServiceMockRecorder) GetOAuth2User(arg0, arg1, arg2 interface{}) *gomock.Call
GetOAuth2User indicates an expected call of GetOAuth2User.
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) StoreOAuth2App ¶ added in v0.3.0
func (mr *MockServiceMockRecorder) StoreOAuth2App(arg0, arg1, arg2 interface{}) *gomock.Call
StoreOAuth2App indicates an expected call of StoreOAuth2App.
func (*MockServiceMockRecorder) StoreOAuth2User ¶ added in v0.3.0
func (mr *MockServiceMockRecorder) StoreOAuth2User(arg0, arg1, arg2 interface{}) *gomock.Call
StoreOAuth2User indicates an expected call of StoreOAuth2User.
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.