Documentation ¶
Overview ¶
Package mock_proxy is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) AddBuiltinUpstream(arg0 apps.AppID, arg1 upstream.Upstream)
- func (m *MockService) AddLocalManifest(arg0 string, arg1 *apps.Manifest) (md.MD, error)
- func (m *MockService) AppIsEnabled(arg0 *apps.App) bool
- func (m *MockService) Call(arg0, arg1 string, arg2 *apps.CallRequest) *apps.ProxyCallResponse
- func (m *MockService) CompleteRemoteOAuth2(arg0, arg1 string, arg2 apps.AppID, arg3 map[string]interface{}) error
- func (m *MockService) DisableApp(arg0 *apps.Context, arg1 *apps.App) (md.MD, error)
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) EnableApp(arg0 *apps.Context, arg1 *apps.App) (md.MD, error)
- func (m *MockService) GetAsset(arg0 apps.AppID, arg1 string) (io.ReadCloser, int, error)
- func (m *MockService) GetBindings(arg0, arg1 string, arg2 *apps.Context) ([]*apps.Binding, error)
- func (m *MockService) GetInstalledApp(arg0 apps.AppID) (*apps.App, error)
- func (m *MockService) GetInstalledApps() []*apps.App
- func (m *MockService) GetListedApps(arg0 string) []*apps.ListedApp
- func (m *MockService) GetManifest(arg0 apps.AppID) (*apps.Manifest, error)
- func (m *MockService) GetManifestFromS3(arg0 apps.AppID, arg1 apps.AppVersion) (*apps.Manifest, error)
- func (m *MockService) GetRemoteOAuth2ConnectURL(arg0, arg1 string, arg2 apps.AppID) (string, error)
- func (m *MockService) InstallApp(arg0, arg1 string, arg2 *apps.Context, arg3 bool, arg4 string) (*apps.App, md.MD, error)
- func (m *MockService) Notify(arg0 *apps.Context, arg1 apps.Subject) error
- func (m *MockService) NotifyRemoteWebhook(arg0 *apps.App, arg1 []byte, arg2 string) error
- func (m *MockService) SynchronizeInstalledApps() error
- func (m *MockService) UninstallApp(arg0, arg1 string, arg2 apps.AppID) error
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) AddBuiltinUpstream(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) AddLocalManifest(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) AppIsEnabled(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Call(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) CompleteRemoteOAuth2(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) DisableApp(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) EnableApp(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetAsset(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetBindings(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetInstalledApp(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetInstalledApps() *gomock.Call
- func (mr *MockServiceMockRecorder) GetListedApps(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetManifest(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetManifestFromS3(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetRemoteOAuth2ConnectURL(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) InstallApp(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Notify(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) NotifyRemoteWebhook(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) SynchronizeInstalledApps() *gomock.Call
- func (mr *MockServiceMockRecorder) UninstallApp(arg0, arg1, arg2 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) AddBuiltinUpstream ¶
func (m *MockService) AddBuiltinUpstream(arg0 apps.AppID, arg1 upstream.Upstream)
AddBuiltinUpstream mocks base method.
func (*MockService) AddLocalManifest ¶
AddLocalManifest mocks base method.
func (*MockService) AppIsEnabled ¶
func (m *MockService) AppIsEnabled(arg0 *apps.App) bool
AppIsEnabled mocks base method.
func (*MockService) Call ¶
func (m *MockService) Call(arg0, arg1 string, arg2 *apps.CallRequest) *apps.ProxyCallResponse
Call mocks base method.
func (*MockService) CompleteRemoteOAuth2 ¶ added in v0.3.0
func (m *MockService) CompleteRemoteOAuth2(arg0, arg1 string, arg2 apps.AppID, arg3 map[string]interface{}) error
CompleteRemoteOAuth2 mocks base method.
func (*MockService) DisableApp ¶
DisableApp mocks base method.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) GetAsset ¶
func (m *MockService) GetAsset(arg0 apps.AppID, arg1 string) (io.ReadCloser, int, error)
GetAsset mocks base method.
func (*MockService) GetBindings ¶
GetBindings mocks base method.
func (*MockService) GetInstalledApp ¶
GetInstalledApp mocks base method.
func (*MockService) GetInstalledApps ¶
func (m *MockService) GetInstalledApps() []*apps.App
GetInstalledApps mocks base method.
func (*MockService) GetListedApps ¶
func (m *MockService) GetListedApps(arg0 string) []*apps.ListedApp
GetListedApps mocks base method.
func (*MockService) GetManifest ¶
GetManifest mocks base method.
func (*MockService) GetManifestFromS3 ¶ added in v0.7.0
func (m *MockService) GetManifestFromS3(arg0 apps.AppID, arg1 apps.AppVersion) (*apps.Manifest, error)
GetManifestFromS3 mocks base method.
func (*MockService) GetRemoteOAuth2ConnectURL ¶ added in v0.3.0
GetRemoteOAuth2ConnectURL mocks base method.
func (*MockService) InstallApp ¶
func (m *MockService) InstallApp(arg0, arg1 string, arg2 *apps.Context, arg3 bool, arg4 string) (*apps.App, md.MD, error)
InstallApp mocks base method.
func (*MockService) NotifyRemoteWebhook ¶ added in v0.3.0
NotifyRemoteWebhook mocks base method.
func (*MockService) SynchronizeInstalledApps ¶
func (m *MockService) SynchronizeInstalledApps() error
SynchronizeInstalledApps mocks base method.
func (*MockService) UninstallApp ¶
func (m *MockService) UninstallApp(arg0, arg1 string, arg2 apps.AppID) error
UninstallApp mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) AddBuiltinUpstream ¶
func (mr *MockServiceMockRecorder) AddBuiltinUpstream(arg0, arg1 interface{}) *gomock.Call
AddBuiltinUpstream indicates an expected call of AddBuiltinUpstream.
func (*MockServiceMockRecorder) AddLocalManifest ¶
func (mr *MockServiceMockRecorder) AddLocalManifest(arg0, arg1 interface{}) *gomock.Call
AddLocalManifest indicates an expected call of AddLocalManifest.
func (*MockServiceMockRecorder) AppIsEnabled ¶
func (mr *MockServiceMockRecorder) AppIsEnabled(arg0 interface{}) *gomock.Call
AppIsEnabled indicates an expected call of AppIsEnabled.
func (*MockServiceMockRecorder) Call ¶
func (mr *MockServiceMockRecorder) Call(arg0, arg1, arg2 interface{}) *gomock.Call
Call indicates an expected call of Call.
func (*MockServiceMockRecorder) CompleteRemoteOAuth2 ¶ added in v0.3.0
func (mr *MockServiceMockRecorder) CompleteRemoteOAuth2(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CompleteRemoteOAuth2 indicates an expected call of CompleteRemoteOAuth2.
func (*MockServiceMockRecorder) DisableApp ¶
func (mr *MockServiceMockRecorder) DisableApp(arg0, arg1 interface{}) *gomock.Call
DisableApp indicates an expected call of DisableApp.
func (*MockServiceMockRecorder) EnableApp ¶
func (mr *MockServiceMockRecorder) EnableApp(arg0, arg1 interface{}) *gomock.Call
EnableApp indicates an expected call of EnableApp.
func (*MockServiceMockRecorder) GetAsset ¶
func (mr *MockServiceMockRecorder) GetAsset(arg0, arg1 interface{}) *gomock.Call
GetAsset indicates an expected call of GetAsset.
func (*MockServiceMockRecorder) GetBindings ¶
func (mr *MockServiceMockRecorder) GetBindings(arg0, arg1, arg2 interface{}) *gomock.Call
GetBindings indicates an expected call of GetBindings.
func (*MockServiceMockRecorder) GetInstalledApp ¶
func (mr *MockServiceMockRecorder) GetInstalledApp(arg0 interface{}) *gomock.Call
GetInstalledApp indicates an expected call of GetInstalledApp.
func (*MockServiceMockRecorder) GetInstalledApps ¶
func (mr *MockServiceMockRecorder) GetInstalledApps() *gomock.Call
GetInstalledApps indicates an expected call of GetInstalledApps.
func (*MockServiceMockRecorder) GetListedApps ¶
func (mr *MockServiceMockRecorder) GetListedApps(arg0 interface{}) *gomock.Call
GetListedApps indicates an expected call of GetListedApps.
func (*MockServiceMockRecorder) GetManifest ¶
func (mr *MockServiceMockRecorder) GetManifest(arg0 interface{}) *gomock.Call
GetManifest indicates an expected call of GetManifest.
func (*MockServiceMockRecorder) GetManifestFromS3 ¶ added in v0.7.0
func (mr *MockServiceMockRecorder) GetManifestFromS3(arg0, arg1 interface{}) *gomock.Call
GetManifestFromS3 indicates an expected call of GetManifestFromS3.
func (*MockServiceMockRecorder) GetRemoteOAuth2ConnectURL ¶ added in v0.3.0
func (mr *MockServiceMockRecorder) GetRemoteOAuth2ConnectURL(arg0, arg1, arg2 interface{}) *gomock.Call
GetRemoteOAuth2ConnectURL indicates an expected call of GetRemoteOAuth2ConnectURL.
func (*MockServiceMockRecorder) InstallApp ¶
func (mr *MockServiceMockRecorder) InstallApp(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
InstallApp indicates an expected call of InstallApp.
func (*MockServiceMockRecorder) Notify ¶
func (mr *MockServiceMockRecorder) Notify(arg0, arg1 interface{}) *gomock.Call
Notify indicates an expected call of Notify.
func (*MockServiceMockRecorder) NotifyRemoteWebhook ¶ added in v0.3.0
func (mr *MockServiceMockRecorder) NotifyRemoteWebhook(arg0, arg1, arg2 interface{}) *gomock.Call
NotifyRemoteWebhook indicates an expected call of NotifyRemoteWebhook.
func (*MockServiceMockRecorder) SynchronizeInstalledApps ¶
func (mr *MockServiceMockRecorder) SynchronizeInstalledApps() *gomock.Call
SynchronizeInstalledApps indicates an expected call of SynchronizeInstalledApps.
func (*MockServiceMockRecorder) UninstallApp ¶
func (mr *MockServiceMockRecorder) UninstallApp(arg0, arg1, arg2 interface{}) *gomock.Call
UninstallApp indicates an expected call of UninstallApp.