Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
This file was generated by counterfeiter ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type Bar
- func (fake *Bar) Add(arg1 int) int
- func (fake *Bar) AddArgsForCall(i int) int
- func (fake *Bar) AddCallCount() int
- func (fake *Bar) AddCalls(stub func(int) int)
- func (fake *Bar) AddReturns(result1 int)
- func (fake *Bar) AddReturnsOnCall(i int, result1 int)
- func (fake *Bar) Finish()
- func (fake *Bar) FinishCallCount() int
- func (fake *Bar) FinishCalls(stub func())
- func (fake *Bar) Invocations() map[string][][]interface{}
- func (fake *Bar) Kickoff()
- func (fake *Bar) KickoffCallCount() int
- func (fake *Bar) KickoffCalls(stub func())
- func (fake *Bar) NewProxyReader(arg1 io.Reader) io.Reader
- func (fake *Bar) NewProxyReaderArgsForCall(i int) io.Reader
- func (fake *Bar) NewProxyReaderCallCount() int
- func (fake *Bar) NewProxyReaderCalls(stub func(io.Reader) io.Reader)
- func (fake *Bar) NewProxyReaderReturns(result1 io.Reader)
- func (fake *Bar) NewProxyReaderReturnsOnCall(i int, result1 io.Reader)
- func (fake *Bar) SetOutput(arg1 io.Writer)
- func (fake *Bar) SetOutputArgsForCall(i int) io.Writer
- func (fake *Bar) SetOutputCallCount() int
- func (fake *Bar) SetOutputCalls(stub func(io.Writer))
- func (fake *Bar) SetTotal(arg1 int64)
- func (fake *Bar) SetTotalArgsForCall(i int) int64
- func (fake *Bar) SetTotalCallCount() int
- func (fake *Bar) SetTotalCalls(stub func(int64))
- type DownloadLinkFetcher
- type HTTPClient
- func (fake *HTTPClient) Do(arg1 *http.Request) (*http.Response, error)
- func (fake *HTTPClient) DoArgsForCall(i int) *http.Request
- func (fake *HTTPClient) DoCallCount() int
- func (fake *HTTPClient) DoCalls(stub func(*http.Request) (*http.Response, error))
- func (fake *HTTPClient) DoReturns(result1 *http.Response, result2 error)
- func (fake *HTTPClient) DoReturnsOnCall(i int, result1 *http.Response, result2 error)
- func (fake *HTTPClient) Invocations() map[string][][]interface{}
- type Ranger
- func (fake *Ranger) BuildRange(arg1 int64) ([]download.Range, error)
- func (fake *Ranger) BuildRangeArgsForCall(i int) int64
- func (fake *Ranger) BuildRangeCallCount() int
- func (fake *Ranger) BuildRangeCalls(stub func(int64) ([]download.Range, error))
- func (fake *Ranger) BuildRangeReturns(result1 []download.Range, result2 error)
- func (fake *Ranger) BuildRangeReturnsOnCall(i int, result1 []download.Range, result2 error)
- func (fake *Ranger) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bar ¶
type Bar struct { AddStub func(int) int FinishStub func() KickoffStub func() NewProxyReaderStub func(io.Reader) io.Reader SetOutputStub func(io.Writer) SetTotalStub func(int64) // contains filtered or unexported fields }
func (*Bar) AddArgsForCall ¶
func (*Bar) AddCallCount ¶
func (*Bar) AddReturns ¶
func (*Bar) AddReturnsOnCall ¶
func (*Bar) FinishCallCount ¶
func (*Bar) FinishCalls ¶
func (fake *Bar) FinishCalls(stub func())
func (*Bar) Invocations ¶
func (*Bar) KickoffCallCount ¶
func (*Bar) KickoffCalls ¶
func (fake *Bar) KickoffCalls(stub func())
func (*Bar) NewProxyReaderCallCount ¶
func (*Bar) NewProxyReaderCalls ¶
func (*Bar) NewProxyReaderReturns ¶
func (*Bar) NewProxyReaderReturnsOnCall ¶
func (*Bar) SetOutputCallCount ¶
func (*Bar) SetOutputCalls ¶
func (*Bar) SetTotalArgsForCall ¶
func (*Bar) SetTotalCallCount ¶
func (*Bar) SetTotalCalls ¶
type DownloadLinkFetcher ¶
type DownloadLinkFetcher struct { NewDownloadLinkStub func() (string, error) // contains filtered or unexported fields }
func (*DownloadLinkFetcher) Invocations ¶
func (fake *DownloadLinkFetcher) Invocations() map[string][][]interface{}
func (*DownloadLinkFetcher) NewDownloadLink ¶
func (fake *DownloadLinkFetcher) NewDownloadLink() (string, error)
func (*DownloadLinkFetcher) NewDownloadLinkCallCount ¶
func (fake *DownloadLinkFetcher) NewDownloadLinkCallCount() int
func (*DownloadLinkFetcher) NewDownloadLinkReturns ¶
func (fake *DownloadLinkFetcher) NewDownloadLinkReturns(result1 string, result2 error)
type HTTPClient ¶
type HTTPClient struct { DoStub func(*http.Request) (*http.Response, error) // contains filtered or unexported fields }
func (*HTTPClient) DoArgsForCall ¶
func (fake *HTTPClient) DoArgsForCall(i int) *http.Request
func (*HTTPClient) DoCallCount ¶
func (fake *HTTPClient) DoCallCount() int
func (*HTTPClient) DoReturns ¶
func (fake *HTTPClient) DoReturns(result1 *http.Response, result2 error)
func (*HTTPClient) DoReturnsOnCall ¶
func (fake *HTTPClient) DoReturnsOnCall(i int, result1 *http.Response, result2 error)
func (*HTTPClient) Invocations ¶
func (fake *HTTPClient) Invocations() map[string][][]interface{}
type Ranger ¶
type Ranger struct { BuildRangeStub func(int64) ([]download.Range, error) // contains filtered or unexported fields }
func (*Ranger) BuildRangeArgsForCall ¶
func (*Ranger) BuildRangeCallCount ¶
func (*Ranger) BuildRangeCalls ¶
func (*Ranger) BuildRangeReturns ¶
func (*Ranger) BuildRangeReturnsOnCall ¶
func (*Ranger) Invocations ¶
Click to show internal directories.
Click to hide internal directories.