Documentation ¶
Overview ¶
Package mock_repository is a generated GoMock package.
Package mock_repository is a generated GoMock package.
Package mock_repository is a generated GoMock package.
Package mock_repository is a generated GoMock package.
Package mock_repository is a generated GoMock package.
Package mock_repository is a generated GoMock package.
Index ¶
- type MockAPI
- type MockAPIMockRecorder
- type MockCollection
- func (m *MockCollection) AddNewGames(arg0 []repository.FileDesc)
- func (m *MockCollection) CountGames() int
- func (m *MockCollection) EXPECT() *MockCollectionMockRecorder
- func (m *MockCollection) Filter(arg0 string) repository.GameType
- func (m *MockCollection) Games() repository.GameType
- func (m *MockCollection) GetKey(arg0 string) (string, error)
- func (m *MockCollection) HasGameIDInLibrary(arg0 string) bool
- func (m *MockCollection) IsBaseGame(arg0 string) bool
- func (m *MockCollection) Library() map[string]repository.TitleDBEntry
- func (m *MockCollection) Load()
- func (m *MockCollection) OnConfigUpdate(arg0 repository.Config)
- func (m *MockCollection) RemoveGame(arg0 string)
- func (m *MockCollection) ResetGamesCollection()
- type MockCollectionMockRecorder
- func (mr *MockCollectionMockRecorder) AddNewGames(arg0 interface{}) *gomock.Call
- func (mr *MockCollectionMockRecorder) CountGames() *gomock.Call
- func (mr *MockCollectionMockRecorder) Filter(arg0 interface{}) *gomock.Call
- func (mr *MockCollectionMockRecorder) Games() *gomock.Call
- func (mr *MockCollectionMockRecorder) GetKey(arg0 interface{}) *gomock.Call
- func (mr *MockCollectionMockRecorder) HasGameIDInLibrary(arg0 interface{}) *gomock.Call
- func (mr *MockCollectionMockRecorder) IsBaseGame(arg0 interface{}) *gomock.Call
- func (mr *MockCollectionMockRecorder) Library() *gomock.Call
- func (mr *MockCollectionMockRecorder) Load() *gomock.Call
- func (mr *MockCollectionMockRecorder) OnConfigUpdate(arg0 interface{}) *gomock.Call
- func (mr *MockCollectionMockRecorder) RemoveGame(arg0 interface{}) *gomock.Call
- func (mr *MockCollectionMockRecorder) ResetGamesCollection() *gomock.Call
- type MockConfig
- func (m *MockConfig) AddBeforeHook(arg0 func(repository.Config))
- func (m *MockConfig) AddHook(arg0 func(repository.Config))
- func (m *MockConfig) BannedTheme() []string
- func (m *MockConfig) CustomDB() map[string]repository.TitleDBEntry
- func (m *MockConfig) DebugNfs() bool
- func (m *MockConfig) DebugNoSecurity() bool
- func (m *MockConfig) DebugTicket() bool
- func (m *MockConfig) Directories() []string
- func (m *MockConfig) EXPECT() *MockConfigMockRecorder
- func (m *MockConfig) ForwardAuthURL() string
- func (m *MockConfig) Host() string
- func (m *MockConfig) IsBannedTheme(arg0 string) bool
- func (m *MockConfig) IsBlacklisted(arg0 string) bool
- func (m *MockConfig) IsWhitelisted(arg0 string) bool
- func (m *MockConfig) LoadConfig()
- func (m *MockConfig) NfsShares() []string
- func (m *MockConfig) NoWelcomeMessage() bool
- func (m *MockConfig) Port() int
- func (m *MockConfig) Protocol() string
- func (m *MockConfig) ReverseProxy() bool
- func (m *MockConfig) RootShop() string
- func (m *MockConfig) SetRootShop(arg0 string)
- func (m *MockConfig) SetShopTemplateData(arg0 repository.ShopTemplate)
- func (m *MockConfig) ShopTemplateData() repository.ShopTemplate
- func (m *MockConfig) ShopTitle() string
- func (m *MockConfig) Sources() repository.ConfigSources
- func (m *MockConfig) VerifyNSP() bool
- func (m *MockConfig) WelcomeMessage() string
- type MockConfigMockRecorder
- func (mr *MockConfigMockRecorder) AddBeforeHook(arg0 interface{}) *gomock.Call
- func (mr *MockConfigMockRecorder) AddHook(arg0 interface{}) *gomock.Call
- func (mr *MockConfigMockRecorder) BannedTheme() *gomock.Call
- func (mr *MockConfigMockRecorder) CustomDB() *gomock.Call
- func (mr *MockConfigMockRecorder) DebugNfs() *gomock.Call
- func (mr *MockConfigMockRecorder) DebugNoSecurity() *gomock.Call
- func (mr *MockConfigMockRecorder) DebugTicket() *gomock.Call
- func (mr *MockConfigMockRecorder) Directories() *gomock.Call
- func (mr *MockConfigMockRecorder) ForwardAuthURL() *gomock.Call
- func (mr *MockConfigMockRecorder) Host() *gomock.Call
- func (mr *MockConfigMockRecorder) IsBannedTheme(arg0 interface{}) *gomock.Call
- func (mr *MockConfigMockRecorder) IsBlacklisted(arg0 interface{}) *gomock.Call
- func (mr *MockConfigMockRecorder) IsWhitelisted(arg0 interface{}) *gomock.Call
- func (mr *MockConfigMockRecorder) LoadConfig() *gomock.Call
- func (mr *MockConfigMockRecorder) NfsShares() *gomock.Call
- func (mr *MockConfigMockRecorder) NoWelcomeMessage() *gomock.Call
- func (mr *MockConfigMockRecorder) Port() *gomock.Call
- func (mr *MockConfigMockRecorder) Protocol() *gomock.Call
- func (mr *MockConfigMockRecorder) ReverseProxy() *gomock.Call
- func (mr *MockConfigMockRecorder) RootShop() *gomock.Call
- func (mr *MockConfigMockRecorder) SetRootShop(arg0 interface{}) *gomock.Call
- func (mr *MockConfigMockRecorder) SetShopTemplateData(arg0 interface{}) *gomock.Call
- func (mr *MockConfigMockRecorder) ShopTemplateData() *gomock.Call
- func (mr *MockConfigMockRecorder) ShopTitle() *gomock.Call
- func (mr *MockConfigMockRecorder) Sources() *gomock.Call
- func (mr *MockConfigMockRecorder) VerifyNSP() *gomock.Call
- func (mr *MockConfigMockRecorder) WelcomeMessage() *gomock.Call
- type MockSource
- func (m *MockSource) Download(arg0 http.ResponseWriter, arg1 *http.Request, arg2, arg3 string)
- func (m *MockSource) EXPECT() *MockSourceMockRecorder
- func (m *MockSource) GetFiles() []repository.FileDesc
- func (m *MockSource) Load(arg0 []string, arg1 bool)
- func (m *MockSource) Reset()
- func (m *MockSource) UnWatchAll()
- type MockSourceMockRecorder
- func (mr *MockSourceMockRecorder) Download(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockSourceMockRecorder) GetFiles() *gomock.Call
- func (mr *MockSourceMockRecorder) Load(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSourceMockRecorder) Reset() *gomock.Call
- func (mr *MockSourceMockRecorder) UnWatchAll() *gomock.Call
- type MockSources
- func (m *MockSources) BeforeConfigUpdate(arg0 repository.Config)
- func (m *MockSources) DownloadGame(arg0 string, arg1 http.ResponseWriter, arg2 *http.Request)
- func (m *MockSources) EXPECT() *MockSourcesMockRecorder
- func (m *MockSources) GetFiles() []repository.FileDesc
- func (m *MockSources) HasGame(arg0 string) bool
- func (m *MockSources) OnConfigUpdate(arg0 repository.Config)
- type MockSourcesMockRecorder
- func (mr *MockSourcesMockRecorder) BeforeConfigUpdate(arg0 interface{}) *gomock.Call
- func (mr *MockSourcesMockRecorder) DownloadGame(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSourcesMockRecorder) GetFiles() *gomock.Call
- func (mr *MockSourcesMockRecorder) HasGame(arg0 interface{}) *gomock.Call
- func (mr *MockSourcesMockRecorder) OnConfigUpdate(arg0 interface{}) *gomock.Call
- type MockStats
- type MockStatsMockRecorder
- func (mr *MockStatsMockRecorder) Close() *gomock.Call
- func (mr *MockStatsMockRecorder) DownloadAsked(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStatsMockRecorder) ListVisit(arg0 interface{}) *gomock.Call
- func (mr *MockStatsMockRecorder) Load() *gomock.Call
- func (mr *MockStatsMockRecorder) Summary() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPI ¶
type MockAPI struct {
// contains filtered or unexported fields
}
MockAPI is a mock of API interface.
func NewMockAPI ¶
func NewMockAPI(ctrl *gomock.Controller) *MockAPI
NewMockAPI creates a new mock instance.
func (*MockAPI) EXPECT ¶
func (m *MockAPI) EXPECT() *MockAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAPI) Stats ¶
func (m *MockAPI) Stats(arg0 http.ResponseWriter, arg1 repository.StatsSummary)
Stats mocks base method.
type MockAPIMockRecorder ¶
type MockAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIMockRecorder is the mock recorder for MockAPI.
func (*MockAPIMockRecorder) Stats ¶
func (mr *MockAPIMockRecorder) Stats(arg0, arg1 interface{}) *gomock.Call
Stats indicates an expected call of Stats.
type MockCollection ¶
type MockCollection struct {
// contains filtered or unexported fields
}
MockCollection is a mock of Collection interface.
func NewMockCollection ¶
func NewMockCollection(ctrl *gomock.Controller) *MockCollection
NewMockCollection creates a new mock instance.
func (*MockCollection) AddNewGames ¶
func (m *MockCollection) AddNewGames(arg0 []repository.FileDesc)
AddNewGames mocks base method.
func (*MockCollection) CountGames ¶
func (m *MockCollection) CountGames() int
CountGames mocks base method.
func (*MockCollection) EXPECT ¶
func (m *MockCollection) EXPECT() *MockCollectionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCollection) Filter ¶
func (m *MockCollection) Filter(arg0 string) repository.GameType
Filter mocks base method.
func (*MockCollection) Games ¶
func (m *MockCollection) Games() repository.GameType
Games mocks base method.
func (*MockCollection) GetKey ¶
func (m *MockCollection) GetKey(arg0 string) (string, error)
GetKey mocks base method.
func (*MockCollection) HasGameIDInLibrary ¶
func (m *MockCollection) HasGameIDInLibrary(arg0 string) bool
HasGameIDInLibrary mocks base method.
func (*MockCollection) IsBaseGame ¶
func (m *MockCollection) IsBaseGame(arg0 string) bool
IsBaseGame mocks base method.
func (*MockCollection) Library ¶
func (m *MockCollection) Library() map[string]repository.TitleDBEntry
Library mocks base method.
func (*MockCollection) OnConfigUpdate ¶
func (m *MockCollection) OnConfigUpdate(arg0 repository.Config)
OnConfigUpdate mocks base method.
func (*MockCollection) RemoveGame ¶
func (m *MockCollection) RemoveGame(arg0 string)
RemoveGame mocks base method.
func (*MockCollection) ResetGamesCollection ¶
func (m *MockCollection) ResetGamesCollection()
ResetGamesCollection mocks base method.
type MockCollectionMockRecorder ¶
type MockCollectionMockRecorder struct {
// contains filtered or unexported fields
}
MockCollectionMockRecorder is the mock recorder for MockCollection.
func (*MockCollectionMockRecorder) AddNewGames ¶
func (mr *MockCollectionMockRecorder) AddNewGames(arg0 interface{}) *gomock.Call
AddNewGames indicates an expected call of AddNewGames.
func (*MockCollectionMockRecorder) CountGames ¶
func (mr *MockCollectionMockRecorder) CountGames() *gomock.Call
CountGames indicates an expected call of CountGames.
func (*MockCollectionMockRecorder) Filter ¶
func (mr *MockCollectionMockRecorder) Filter(arg0 interface{}) *gomock.Call
Filter indicates an expected call of Filter.
func (*MockCollectionMockRecorder) Games ¶
func (mr *MockCollectionMockRecorder) Games() *gomock.Call
Games indicates an expected call of Games.
func (*MockCollectionMockRecorder) GetKey ¶
func (mr *MockCollectionMockRecorder) GetKey(arg0 interface{}) *gomock.Call
GetKey indicates an expected call of GetKey.
func (*MockCollectionMockRecorder) HasGameIDInLibrary ¶
func (mr *MockCollectionMockRecorder) HasGameIDInLibrary(arg0 interface{}) *gomock.Call
HasGameIDInLibrary indicates an expected call of HasGameIDInLibrary.
func (*MockCollectionMockRecorder) IsBaseGame ¶
func (mr *MockCollectionMockRecorder) IsBaseGame(arg0 interface{}) *gomock.Call
IsBaseGame indicates an expected call of IsBaseGame.
func (*MockCollectionMockRecorder) Library ¶
func (mr *MockCollectionMockRecorder) Library() *gomock.Call
Library indicates an expected call of Library.
func (*MockCollectionMockRecorder) Load ¶
func (mr *MockCollectionMockRecorder) Load() *gomock.Call
Load indicates an expected call of Load.
func (*MockCollectionMockRecorder) OnConfigUpdate ¶
func (mr *MockCollectionMockRecorder) OnConfigUpdate(arg0 interface{}) *gomock.Call
OnConfigUpdate indicates an expected call of OnConfigUpdate.
func (*MockCollectionMockRecorder) RemoveGame ¶
func (mr *MockCollectionMockRecorder) RemoveGame(arg0 interface{}) *gomock.Call
RemoveGame indicates an expected call of RemoveGame.
func (*MockCollectionMockRecorder) ResetGamesCollection ¶
func (mr *MockCollectionMockRecorder) ResetGamesCollection() *gomock.Call
ResetGamesCollection indicates an expected call of ResetGamesCollection.
type MockConfig ¶
type MockConfig struct {
// contains filtered or unexported fields
}
MockConfig is a mock of Config interface.
func NewMockConfig ¶
func NewMockConfig(ctrl *gomock.Controller) *MockConfig
NewMockConfig creates a new mock instance.
func (*MockConfig) AddBeforeHook ¶
func (m *MockConfig) AddBeforeHook(arg0 func(repository.Config))
AddBeforeHook mocks base method.
func (*MockConfig) AddHook ¶
func (m *MockConfig) AddHook(arg0 func(repository.Config))
AddHook mocks base method.
func (*MockConfig) BannedTheme ¶
func (m *MockConfig) BannedTheme() []string
BannedTheme mocks base method.
func (*MockConfig) CustomDB ¶
func (m *MockConfig) CustomDB() map[string]repository.TitleDBEntry
CustomDB mocks base method.
func (*MockConfig) DebugNoSecurity ¶
func (m *MockConfig) DebugNoSecurity() bool
DebugNoSecurity mocks base method.
func (*MockConfig) DebugTicket ¶
func (m *MockConfig) DebugTicket() bool
DebugTicket mocks base method.
func (*MockConfig) Directories ¶
func (m *MockConfig) Directories() []string
Directories mocks base method.
func (*MockConfig) EXPECT ¶
func (m *MockConfig) EXPECT() *MockConfigMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConfig) ForwardAuthURL ¶
func (m *MockConfig) ForwardAuthURL() string
ForwardAuthURL mocks base method.
func (*MockConfig) IsBannedTheme ¶
func (m *MockConfig) IsBannedTheme(arg0 string) bool
IsBannedTheme mocks base method.
func (*MockConfig) IsBlacklisted ¶
func (m *MockConfig) IsBlacklisted(arg0 string) bool
IsBlacklisted mocks base method.
func (*MockConfig) IsWhitelisted ¶
func (m *MockConfig) IsWhitelisted(arg0 string) bool
IsWhitelisted mocks base method.
func (*MockConfig) NfsShares ¶
func (m *MockConfig) NfsShares() []string
NfsShares mocks base method.
func (*MockConfig) NoWelcomeMessage ¶
func (m *MockConfig) NoWelcomeMessage() bool
NoWelcomeMessage mocks base method.
func (*MockConfig) ReverseProxy ¶
func (m *MockConfig) ReverseProxy() bool
ReverseProxy mocks base method.
func (*MockConfig) SetRootShop ¶
func (m *MockConfig) SetRootShop(arg0 string)
SetRootShop mocks base method.
func (*MockConfig) SetShopTemplateData ¶
func (m *MockConfig) SetShopTemplateData(arg0 repository.ShopTemplate)
SetShopTemplateData mocks base method.
func (*MockConfig) ShopTemplateData ¶
func (m *MockConfig) ShopTemplateData() repository.ShopTemplate
ShopTemplateData mocks base method.
func (*MockConfig) Sources ¶
func (m *MockConfig) Sources() repository.ConfigSources
Sources mocks base method.
func (*MockConfig) WelcomeMessage ¶
func (m *MockConfig) WelcomeMessage() string
WelcomeMessage mocks base method.
type MockConfigMockRecorder ¶
type MockConfigMockRecorder struct {
// contains filtered or unexported fields
}
MockConfigMockRecorder is the mock recorder for MockConfig.
func (*MockConfigMockRecorder) AddBeforeHook ¶
func (mr *MockConfigMockRecorder) AddBeforeHook(arg0 interface{}) *gomock.Call
AddBeforeHook indicates an expected call of AddBeforeHook.
func (*MockConfigMockRecorder) AddHook ¶
func (mr *MockConfigMockRecorder) AddHook(arg0 interface{}) *gomock.Call
AddHook indicates an expected call of AddHook.
func (*MockConfigMockRecorder) BannedTheme ¶
func (mr *MockConfigMockRecorder) BannedTheme() *gomock.Call
BannedTheme indicates an expected call of BannedTheme.
func (*MockConfigMockRecorder) CustomDB ¶
func (mr *MockConfigMockRecorder) CustomDB() *gomock.Call
CustomDB indicates an expected call of CustomDB.
func (*MockConfigMockRecorder) DebugNfs ¶
func (mr *MockConfigMockRecorder) DebugNfs() *gomock.Call
DebugNfs indicates an expected call of DebugNfs.
func (*MockConfigMockRecorder) DebugNoSecurity ¶
func (mr *MockConfigMockRecorder) DebugNoSecurity() *gomock.Call
DebugNoSecurity indicates an expected call of DebugNoSecurity.
func (*MockConfigMockRecorder) DebugTicket ¶
func (mr *MockConfigMockRecorder) DebugTicket() *gomock.Call
DebugTicket indicates an expected call of DebugTicket.
func (*MockConfigMockRecorder) Directories ¶
func (mr *MockConfigMockRecorder) Directories() *gomock.Call
Directories indicates an expected call of Directories.
func (*MockConfigMockRecorder) ForwardAuthURL ¶
func (mr *MockConfigMockRecorder) ForwardAuthURL() *gomock.Call
ForwardAuthURL indicates an expected call of ForwardAuthURL.
func (*MockConfigMockRecorder) Host ¶
func (mr *MockConfigMockRecorder) Host() *gomock.Call
Host indicates an expected call of Host.
func (*MockConfigMockRecorder) IsBannedTheme ¶
func (mr *MockConfigMockRecorder) IsBannedTheme(arg0 interface{}) *gomock.Call
IsBannedTheme indicates an expected call of IsBannedTheme.
func (*MockConfigMockRecorder) IsBlacklisted ¶
func (mr *MockConfigMockRecorder) IsBlacklisted(arg0 interface{}) *gomock.Call
IsBlacklisted indicates an expected call of IsBlacklisted.
func (*MockConfigMockRecorder) IsWhitelisted ¶
func (mr *MockConfigMockRecorder) IsWhitelisted(arg0 interface{}) *gomock.Call
IsWhitelisted indicates an expected call of IsWhitelisted.
func (*MockConfigMockRecorder) LoadConfig ¶
func (mr *MockConfigMockRecorder) LoadConfig() *gomock.Call
LoadConfig indicates an expected call of LoadConfig.
func (*MockConfigMockRecorder) NfsShares ¶
func (mr *MockConfigMockRecorder) NfsShares() *gomock.Call
NfsShares indicates an expected call of NfsShares.
func (*MockConfigMockRecorder) NoWelcomeMessage ¶
func (mr *MockConfigMockRecorder) NoWelcomeMessage() *gomock.Call
NoWelcomeMessage indicates an expected call of NoWelcomeMessage.
func (*MockConfigMockRecorder) Port ¶
func (mr *MockConfigMockRecorder) Port() *gomock.Call
Port indicates an expected call of Port.
func (*MockConfigMockRecorder) Protocol ¶
func (mr *MockConfigMockRecorder) Protocol() *gomock.Call
Protocol indicates an expected call of Protocol.
func (*MockConfigMockRecorder) ReverseProxy ¶
func (mr *MockConfigMockRecorder) ReverseProxy() *gomock.Call
ReverseProxy indicates an expected call of ReverseProxy.
func (*MockConfigMockRecorder) RootShop ¶
func (mr *MockConfigMockRecorder) RootShop() *gomock.Call
RootShop indicates an expected call of RootShop.
func (*MockConfigMockRecorder) SetRootShop ¶
func (mr *MockConfigMockRecorder) SetRootShop(arg0 interface{}) *gomock.Call
SetRootShop indicates an expected call of SetRootShop.
func (*MockConfigMockRecorder) SetShopTemplateData ¶
func (mr *MockConfigMockRecorder) SetShopTemplateData(arg0 interface{}) *gomock.Call
SetShopTemplateData indicates an expected call of SetShopTemplateData.
func (*MockConfigMockRecorder) ShopTemplateData ¶
func (mr *MockConfigMockRecorder) ShopTemplateData() *gomock.Call
ShopTemplateData indicates an expected call of ShopTemplateData.
func (*MockConfigMockRecorder) ShopTitle ¶
func (mr *MockConfigMockRecorder) ShopTitle() *gomock.Call
ShopTitle indicates an expected call of ShopTitle.
func (*MockConfigMockRecorder) Sources ¶
func (mr *MockConfigMockRecorder) Sources() *gomock.Call
Sources indicates an expected call of Sources.
func (*MockConfigMockRecorder) VerifyNSP ¶
func (mr *MockConfigMockRecorder) VerifyNSP() *gomock.Call
VerifyNSP indicates an expected call of VerifyNSP.
func (*MockConfigMockRecorder) WelcomeMessage ¶
func (mr *MockConfigMockRecorder) WelcomeMessage() *gomock.Call
WelcomeMessage indicates an expected call of WelcomeMessage.
type MockSource ¶
type MockSource struct {
// contains filtered or unexported fields
}
MockSource is a mock of Source interface.
func NewMockSource ¶
func NewMockSource(ctrl *gomock.Controller) *MockSource
NewMockSource creates a new mock instance.
func (*MockSource) Download ¶
func (m *MockSource) Download(arg0 http.ResponseWriter, arg1 *http.Request, arg2, arg3 string)
Download mocks base method.
func (*MockSource) EXPECT ¶
func (m *MockSource) EXPECT() *MockSourceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSource) GetFiles ¶
func (m *MockSource) GetFiles() []repository.FileDesc
GetFiles mocks base method.
func (*MockSource) Load ¶
func (m *MockSource) Load(arg0 []string, arg1 bool)
Load mocks base method.
type MockSourceMockRecorder ¶
type MockSourceMockRecorder struct {
// contains filtered or unexported fields
}
MockSourceMockRecorder is the mock recorder for MockSource.
func (*MockSourceMockRecorder) Download ¶
func (mr *MockSourceMockRecorder) Download(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Download indicates an expected call of Download.
func (*MockSourceMockRecorder) GetFiles ¶
func (mr *MockSourceMockRecorder) GetFiles() *gomock.Call
GetFiles indicates an expected call of GetFiles.
func (*MockSourceMockRecorder) Load ¶
func (mr *MockSourceMockRecorder) Load(arg0, arg1 interface{}) *gomock.Call
Load indicates an expected call of Load.
func (*MockSourceMockRecorder) Reset ¶
func (mr *MockSourceMockRecorder) Reset() *gomock.Call
Reset indicates an expected call of Reset.
func (*MockSourceMockRecorder) UnWatchAll ¶
func (mr *MockSourceMockRecorder) UnWatchAll() *gomock.Call
UnWatchAll indicates an expected call of UnWatchAll.
type MockSources ¶
type MockSources struct {
// contains filtered or unexported fields
}
MockSources is a mock of Sources interface.
func NewMockSources ¶
func NewMockSources(ctrl *gomock.Controller) *MockSources
NewMockSources creates a new mock instance.
func (*MockSources) BeforeConfigUpdate ¶
func (m *MockSources) BeforeConfigUpdate(arg0 repository.Config)
BeforeConfigUpdate mocks base method.
func (*MockSources) DownloadGame ¶
func (m *MockSources) DownloadGame(arg0 string, arg1 http.ResponseWriter, arg2 *http.Request)
DownloadGame mocks base method.
func (*MockSources) EXPECT ¶
func (m *MockSources) EXPECT() *MockSourcesMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSources) GetFiles ¶
func (m *MockSources) GetFiles() []repository.FileDesc
GetFiles mocks base method.
func (*MockSources) HasGame ¶
func (m *MockSources) HasGame(arg0 string) bool
HasGame mocks base method.
func (*MockSources) OnConfigUpdate ¶
func (m *MockSources) OnConfigUpdate(arg0 repository.Config)
OnConfigUpdate mocks base method.
type MockSourcesMockRecorder ¶
type MockSourcesMockRecorder struct {
// contains filtered or unexported fields
}
MockSourcesMockRecorder is the mock recorder for MockSources.
func (*MockSourcesMockRecorder) BeforeConfigUpdate ¶
func (mr *MockSourcesMockRecorder) BeforeConfigUpdate(arg0 interface{}) *gomock.Call
BeforeConfigUpdate indicates an expected call of BeforeConfigUpdate.
func (*MockSourcesMockRecorder) DownloadGame ¶
func (mr *MockSourcesMockRecorder) DownloadGame(arg0, arg1, arg2 interface{}) *gomock.Call
DownloadGame indicates an expected call of DownloadGame.
func (*MockSourcesMockRecorder) GetFiles ¶
func (mr *MockSourcesMockRecorder) GetFiles() *gomock.Call
GetFiles indicates an expected call of GetFiles.
func (*MockSourcesMockRecorder) HasGame ¶
func (mr *MockSourcesMockRecorder) HasGame(arg0 interface{}) *gomock.Call
HasGame indicates an expected call of HasGame.
func (*MockSourcesMockRecorder) OnConfigUpdate ¶
func (mr *MockSourcesMockRecorder) OnConfigUpdate(arg0 interface{}) *gomock.Call
OnConfigUpdate indicates an expected call of OnConfigUpdate.
type MockStats ¶
type MockStats struct {
// contains filtered or unexported fields
}
MockStats is a mock of Stats interface.
func NewMockStats ¶
func NewMockStats(ctrl *gomock.Controller) *MockStats
NewMockStats creates a new mock instance.
func (*MockStats) DownloadAsked ¶
DownloadAsked mocks base method.
func (*MockStats) EXPECT ¶
func (m *MockStats) EXPECT() *MockStatsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStats) ListVisit ¶
func (m *MockStats) ListVisit(arg0 *repository.Switch) error
ListVisit mocks base method.
func (*MockStats) Summary ¶
func (m *MockStats) Summary() (repository.StatsSummary, error)
Summary mocks base method.
type MockStatsMockRecorder ¶
type MockStatsMockRecorder struct {
// contains filtered or unexported fields
}
MockStatsMockRecorder is the mock recorder for MockStats.
func (*MockStatsMockRecorder) Close ¶
func (mr *MockStatsMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockStatsMockRecorder) DownloadAsked ¶
func (mr *MockStatsMockRecorder) DownloadAsked(arg0, arg1 interface{}) *gomock.Call
DownloadAsked indicates an expected call of DownloadAsked.
func (*MockStatsMockRecorder) ListVisit ¶
func (mr *MockStatsMockRecorder) ListVisit(arg0 interface{}) *gomock.Call
ListVisit indicates an expected call of ListVisit.
func (*MockStatsMockRecorder) Load ¶
func (mr *MockStatsMockRecorder) Load() *gomock.Call
Load indicates an expected call of Load.
func (*MockStatsMockRecorder) Summary ¶
func (mr *MockStatsMockRecorder) Summary() *gomock.Call
Summary indicates an expected call of Summary.