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 *apps.Context, arg1 apps.SessionToken, arg2 *apps.Manifest) (md.MD, error)
- func (m *MockService) AppIsEnabled(arg0 *apps.App) bool
- func (m *MockService) Call(arg0 apps.SessionToken, arg1 *apps.CallRequest) *apps.CallResponse
- 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 apps.SessionToken, arg1 *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) InstallApp(arg0 *apps.Context, arg1 apps.SessionToken, arg2 *apps.InInstallApp) (*apps.App, md.MD, error)
- func (m *MockService) Notify(arg0 *apps.Context, arg1 apps.Subject) error
- func (m *MockService) SynchronizeInstalledApps() error
- func (m *MockService) UninstallApp(arg0 string, arg1 apps.AppID) error
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) AddBuiltinUpstream(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) AddLocalManifest(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) AppIsEnabled(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Call(arg0, arg1 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 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) InstallApp(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Notify(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) SynchronizeInstalledApps() *gomock.Call
- func (mr *MockServiceMockRecorder) UninstallApp(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) AddBuiltinUpstream ¶
func (m *MockService) AddBuiltinUpstream(arg0 apps.AppID, arg1 upstream.Upstream)
AddBuiltinUpstream mocks base method
func (*MockService) AddLocalManifest ¶
func (m *MockService) AddLocalManifest(arg0 *apps.Context, arg1 apps.SessionToken, arg2 *apps.Manifest) (md.MD, error)
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 apps.SessionToken, arg1 *apps.CallRequest) *apps.CallResponse
Call 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 ¶
func (m *MockService) GetBindings(arg0 apps.SessionToken, arg1 *apps.Context) ([]*apps.Binding, error)
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) InstallApp ¶
func (m *MockService) InstallApp(arg0 *apps.Context, arg1 apps.SessionToken, arg2 *apps.InInstallApp) (*apps.App, md.MD, error)
InstallApp mocks base method
func (*MockService) SynchronizeInstalledApps ¶
func (m *MockService) SynchronizeInstalledApps() error
SynchronizeInstalledApps mocks base method
func (*MockService) UninstallApp ¶
func (m *MockService) UninstallApp(arg0 string, arg1 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, arg2 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 interface{}) *gomock.Call
Call indicates an expected call of Call
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 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) InstallApp ¶
func (mr *MockServiceMockRecorder) InstallApp(arg0, arg1, arg2 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) SynchronizeInstalledApps ¶
func (mr *MockServiceMockRecorder) SynchronizeInstalledApps() *gomock.Call
SynchronizeInstalledApps indicates an expected call of SynchronizeInstalledApps
func (*MockServiceMockRecorder) UninstallApp ¶
func (mr *MockServiceMockRecorder) UninstallApp(arg0, arg1 interface{}) *gomock.Call
UninstallApp indicates an expected call of UninstallApp