Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockIndexer
- func (m *MockIndexer) Capabilities() torznab.Capabilities
- func (m *MockIndexer) Check() error
- func (m *MockIndexer) Download(urlStr string) (io.ReadCloser, error)
- func (m *MockIndexer) EXPECT() *MockIndexerMockRecorder
- func (m *MockIndexer) GetEncoding() string
- func (m *MockIndexer) Info() indexer.Info
- func (m *MockIndexer) MaxSearchPages() uint
- func (m *MockIndexer) Open(s *search.ExternalResultItem) (io.ReadCloser, error)
- func (m *MockIndexer) ProcessRequest(req *http.Request) (*http.Response, error)
- func (m *MockIndexer) Search(query *torznab.Query, srch search.Instance) (search.Instance, error)
- func (m *MockIndexer) SearchIsSinglePaged() bool
- type MockIndexerMockRecorder
- func (mr *MockIndexerMockRecorder) Capabilities() *gomock.Call
- func (mr *MockIndexerMockRecorder) Check() *gomock.Call
- func (mr *MockIndexerMockRecorder) Download(urlStr interface{}) *gomock.Call
- func (mr *MockIndexerMockRecorder) GetEncoding() *gomock.Call
- func (mr *MockIndexerMockRecorder) Info() *gomock.Call
- func (mr *MockIndexerMockRecorder) MaxSearchPages() *gomock.Call
- func (mr *MockIndexerMockRecorder) Open(s interface{}) *gomock.Call
- func (mr *MockIndexerMockRecorder) ProcessRequest(req interface{}) *gomock.Call
- func (mr *MockIndexerMockRecorder) Search(query, srch interface{}) *gomock.Call
- func (mr *MockIndexerMockRecorder) SearchIsSinglePaged() *gomock.Call
- type MockInfo
- type MockInfoMockRecorder
- type MockScope
- type MockScopeMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIndexer ¶
type MockIndexer struct {
// contains filtered or unexported fields
}
MockIndexer is a mock of Indexer interface
func NewMockIndexer ¶
func NewMockIndexer(ctrl *gomock.Controller) *MockIndexer
NewMockIndexer creates a new mock instance
func (*MockIndexer) Capabilities ¶
func (m *MockIndexer) Capabilities() torznab.Capabilities
Capabilities mocks base method
func (*MockIndexer) Download ¶
func (m *MockIndexer) Download(urlStr string) (io.ReadCloser, error)
Download mocks base method
func (*MockIndexer) EXPECT ¶
func (m *MockIndexer) EXPECT() *MockIndexerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIndexer) GetEncoding ¶
func (m *MockIndexer) GetEncoding() string
GetEncoding mocks base method
func (*MockIndexer) MaxSearchPages ¶
func (m *MockIndexer) MaxSearchPages() uint
MaxSearchPages mocks base method
func (*MockIndexer) Open ¶
func (m *MockIndexer) Open(s *search.ExternalResultItem) (io.ReadCloser, error)
Open mocks base method
func (*MockIndexer) ProcessRequest ¶
ProcessRequest mocks base method
func (*MockIndexer) SearchIsSinglePaged ¶
func (m *MockIndexer) SearchIsSinglePaged() bool
SearchIsSinglePaged mocks base method
type MockIndexerMockRecorder ¶
type MockIndexerMockRecorder struct {
// contains filtered or unexported fields
}
MockIndexerMockRecorder is the mock recorder for MockIndexer
func (*MockIndexerMockRecorder) Capabilities ¶
func (mr *MockIndexerMockRecorder) Capabilities() *gomock.Call
Capabilities indicates an expected call of Capabilities
func (*MockIndexerMockRecorder) Check ¶
func (mr *MockIndexerMockRecorder) Check() *gomock.Call
Check indicates an expected call of Check
func (*MockIndexerMockRecorder) Download ¶
func (mr *MockIndexerMockRecorder) Download(urlStr interface{}) *gomock.Call
Download indicates an expected call of Download
func (*MockIndexerMockRecorder) GetEncoding ¶
func (mr *MockIndexerMockRecorder) GetEncoding() *gomock.Call
GetEncoding indicates an expected call of GetEncoding
func (*MockIndexerMockRecorder) Info ¶
func (mr *MockIndexerMockRecorder) Info() *gomock.Call
Info indicates an expected call of Info
func (*MockIndexerMockRecorder) MaxSearchPages ¶
func (mr *MockIndexerMockRecorder) MaxSearchPages() *gomock.Call
MaxSearchPages indicates an expected call of MaxSearchPages
func (*MockIndexerMockRecorder) Open ¶
func (mr *MockIndexerMockRecorder) Open(s interface{}) *gomock.Call
Open indicates an expected call of Open
func (*MockIndexerMockRecorder) ProcessRequest ¶
func (mr *MockIndexerMockRecorder) ProcessRequest(req interface{}) *gomock.Call
ProcessRequest indicates an expected call of ProcessRequest
func (*MockIndexerMockRecorder) Search ¶
func (mr *MockIndexerMockRecorder) Search(query, srch interface{}) *gomock.Call
Search indicates an expected call of Search
func (*MockIndexerMockRecorder) SearchIsSinglePaged ¶
func (mr *MockIndexerMockRecorder) SearchIsSinglePaged() *gomock.Call
SearchIsSinglePaged indicates an expected call of SearchIsSinglePaged
type MockInfo ¶
type MockInfo struct {
// contains filtered or unexported fields
}
MockInfo is a mock of Info interface
func NewMockInfo ¶
func NewMockInfo(ctrl *gomock.Controller) *MockInfo
NewMockInfo creates a new mock instance
func (*MockInfo) EXPECT ¶
func (m *MockInfo) EXPECT() *MockInfoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockInfo) GetLanguage ¶
GetLanguage mocks base method
type MockInfoMockRecorder ¶
type MockInfoMockRecorder struct {
// contains filtered or unexported fields
}
MockInfoMockRecorder is the mock recorder for MockInfo
func (*MockInfoMockRecorder) GetId ¶
func (mr *MockInfoMockRecorder) GetId() *gomock.Call
GetId indicates an expected call of GetId
func (*MockInfoMockRecorder) GetLanguage ¶
func (mr *MockInfoMockRecorder) GetLanguage() *gomock.Call
GetLanguage indicates an expected call of GetLanguage
func (*MockInfoMockRecorder) GetLink ¶
func (mr *MockInfoMockRecorder) GetLink() *gomock.Call
GetLink indicates an expected call of GetLink
func (*MockInfoMockRecorder) GetTitle ¶
func (mr *MockInfoMockRecorder) GetTitle() *gomock.Call
GetTitle indicates an expected call of GetTitle
type MockScope ¶
type MockScope struct {
// contains filtered or unexported fields
}
MockScope is a mock of Scope interface
func NewMockScope ¶
func NewMockScope(ctrl *gomock.Controller) *MockScope
NewMockScope creates a new mock instance
func (*MockScope) CreateAggregateForCategories ¶
func (m *MockScope) CreateAggregateForCategories(config config.Config, cats []categories.Category) (indexer.Indexer, error)
CreateAggregateForCategories mocks base method
func (*MockScope) EXPECT ¶
func (m *MockScope) EXPECT() *MockScopeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockScopeMockRecorder ¶
type MockScopeMockRecorder struct {
// contains filtered or unexported fields
}
MockScopeMockRecorder is the mock recorder for MockScope
func (*MockScopeMockRecorder) CreateAggregateForCategories ¶
func (mr *MockScopeMockRecorder) CreateAggregateForCategories(config, cats interface{}) *gomock.Call
CreateAggregateForCategories indicates an expected call of CreateAggregateForCategories
func (*MockScopeMockRecorder) Lookup ¶
func (mr *MockScopeMockRecorder) Lookup(config, key interface{}) *gomock.Call
Lookup indicates an expected call of Lookup