Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockContentFetcher
- func (m *MockContentFetcher) Cleanup()
- func (m *MockContentFetcher) EXPECT() *MockContentFetcherMockRecorder
- func (m *MockContentFetcher) Fetch(target *source.SearchTarget) error
- func (m *MockContentFetcher) FetchUrl(url string) error
- func (m *MockContentFetcher) Post(url string, data url.Values, log bool) error
- type MockContentFetcherMockRecorder
- func (mr *MockContentFetcherMockRecorder) Cleanup() *gomock.Call
- func (mr *MockContentFetcherMockRecorder) Fetch(target interface{}) *gomock.Call
- func (mr *MockContentFetcherMockRecorder) FetchUrl(url interface{}) *gomock.Call
- func (mr *MockContentFetcherMockRecorder) Post(url, data, log interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockContentFetcher ¶
type MockContentFetcher struct {
// contains filtered or unexported fields
}
MockContentFetcher is a mock of ContentFetcher interface
func NewMockContentFetcher ¶
func NewMockContentFetcher(ctrl *gomock.Controller) *MockContentFetcher
NewMockContentFetcher creates a new mock instance
func (*MockContentFetcher) Cleanup ¶
func (m *MockContentFetcher) Cleanup()
Cleanup mocks base method
func (*MockContentFetcher) EXPECT ¶
func (m *MockContentFetcher) EXPECT() *MockContentFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockContentFetcher) Fetch ¶
func (m *MockContentFetcher) Fetch(target *source.SearchTarget) error
Fetch mocks base method
func (*MockContentFetcher) FetchUrl ¶
func (m *MockContentFetcher) FetchUrl(url string) error
FetchUrl mocks base method
type MockContentFetcherMockRecorder ¶
type MockContentFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockContentFetcherMockRecorder is the mock recorder for MockContentFetcher
func (*MockContentFetcherMockRecorder) Cleanup ¶
func (mr *MockContentFetcherMockRecorder) Cleanup() *gomock.Call
Cleanup indicates an expected call of Cleanup
func (*MockContentFetcherMockRecorder) Fetch ¶
func (mr *MockContentFetcherMockRecorder) Fetch(target interface{}) *gomock.Call
Fetch indicates an expected call of Fetch
func (*MockContentFetcherMockRecorder) FetchUrl ¶
func (mr *MockContentFetcherMockRecorder) FetchUrl(url interface{}) *gomock.Call
FetchUrl indicates an expected call of FetchUrl
func (*MockContentFetcherMockRecorder) Post ¶
func (mr *MockContentFetcherMockRecorder) Post(url, data, log interface{}) *gomock.Call
Post indicates an expected call of Post
Click to show internal directories.
Click to hide internal directories.