mock_appservices

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_appservices is a generated GoMock package.

Index

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 *incoming.Request, arg1 apps.AppID, arg2 string) ([]byte, error)

GetOAuth2User mocks base method.

func (*MockService) GetSubscriptions added in v1.0.0

func (m *MockService) GetSubscriptions(arg0 *incoming.Request, arg1 apps.AppID, arg2 string) ([]apps.Subscription, error)

GetSubscriptions mocks base method.

func (*MockService) KVDelete

func (m *MockService) KVDelete(arg0 *incoming.Request, arg1 apps.AppID, arg2, arg3, arg4 string) error

KVDelete mocks base method.

func (*MockService) KVGet

func (m *MockService) KVGet(arg0 *incoming.Request, arg1 apps.AppID, arg2, arg3, arg4 string) ([]byte, error)

KVGet mocks base method.

func (*MockService) KVList added in v1.0.0

func (m *MockService) KVList(arg0 *incoming.Request, arg1 apps.AppID, arg2, arg3 string, arg4 func(string) error) error

KVList mocks base method.

func (*MockService) KVSet

func (m *MockService) KVSet(arg0 *incoming.Request, arg1 apps.AppID, arg2, arg3, arg4 string, arg5 []byte) (bool, error)

KVSet mocks base method.

func (*MockService) StoreOAuth2App added in v0.3.0

func (m *MockService) StoreOAuth2App(arg0 *incoming.Request, arg1 apps.AppID, arg2 string, arg3 []byte) error

StoreOAuth2App mocks base method.

func (*MockService) StoreOAuth2User added in v0.3.0

func (m *MockService) StoreOAuth2User(arg0 *incoming.Request, arg1 apps.AppID, arg2 string, arg3 []byte) error

StoreOAuth2User mocks base method.

func (*MockService) Subscribe

func (m *MockService) Subscribe(arg0 *incoming.Request, arg1 apps.Subscription) error

Subscribe mocks base method.

func (*MockService) Unsubscribe

func (m *MockService) Unsubscribe(arg0 *incoming.Request, 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) GetSubscriptions added in v1.0.0

func (mr *MockServiceMockRecorder) GetSubscriptions(arg0, arg1, arg2 interface{}) *gomock.Call

GetSubscriptions indicates an expected call of GetSubscriptions.

func (*MockServiceMockRecorder) KVDelete

func (mr *MockServiceMockRecorder) KVDelete(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

KVDelete indicates an expected call of KVDelete.

func (*MockServiceMockRecorder) KVGet

func (mr *MockServiceMockRecorder) KVGet(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

KVGet indicates an expected call of KVGet.

func (*MockServiceMockRecorder) KVList added in v1.0.0

func (mr *MockServiceMockRecorder) KVList(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

KVList indicates an expected call of KVList.

func (*MockServiceMockRecorder) KVSet

func (mr *MockServiceMockRecorder) KVSet(arg0, arg1, arg2, arg3, arg4, arg5 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, arg3 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, arg3 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL