Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type Bar
- func (fake *Bar) Add(totalWritten int) int
- func (fake *Bar) AddArgsForCall(i int) int
- func (fake *Bar) AddCallCount() int
- func (fake *Bar) AddReturns(result1 int)
- func (fake *Bar) Finish()
- func (fake *Bar) FinishCallCount() int
- func (fake *Bar) Invocations() map[string][][]interface{}
- func (fake *Bar) Kickoff()
- func (fake *Bar) KickoffCallCount() int
- func (fake *Bar) NewProxyReader(reader io.Reader) io.Reader
- func (fake *Bar) NewProxyReaderArgsForCall(i int) io.Reader
- func (fake *Bar) NewProxyReaderCallCount() int
- func (fake *Bar) NewProxyReaderReturns(result1 io.Reader)
- func (fake *Bar) SetOutput(output io.Writer)
- func (fake *Bar) SetOutputArgsForCall(i int) io.Writer
- func (fake *Bar) SetOutputCallCount() int
- func (fake *Bar) SetTotal(contentLength int64)
- func (fake *Bar) SetTotalArgsForCall(i int) int64
- func (fake *Bar) SetTotalCallCount() int
- 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) DoReturns(result1 *http.Response, result2 error)
- func (fake *HTTPClient) Invocations() map[string][][]interface{}
- type Ranger
- func (fake *Ranger) BuildRange(contentLength int64) ([]download.Range, error)
- func (fake *Ranger) BuildRangeArgsForCall(i int) int64
- func (fake *Ranger) BuildRangeCallCount() int
- func (fake *Ranger) BuildRangeReturns(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 { SetTotalStub func(contentLength int64) SetOutputStub func(output io.Writer) AddStub func(totalWritten int) int KickoffStub func() FinishStub func() NewProxyReaderStub func(reader io.Reader) io.Reader // contains filtered or unexported fields }
func (*Bar) AddArgsForCall ¶
func (*Bar) AddCallCount ¶
func (*Bar) AddReturns ¶
func (*Bar) FinishCallCount ¶
func (*Bar) Invocations ¶ added in v0.0.37
func (*Bar) KickoffCallCount ¶
func (*Bar) NewProxyReader ¶ added in v0.0.39
func (*Bar) NewProxyReaderArgsForCall ¶ added in v0.0.39
func (*Bar) NewProxyReaderCallCount ¶ added in v0.0.39
func (*Bar) NewProxyReaderReturns ¶ added in v0.0.39
func (*Bar) SetOutputArgsForCall ¶ added in v0.0.37
func (*Bar) SetOutputCallCount ¶ added in v0.0.37
func (*Bar) SetTotalArgsForCall ¶
func (*Bar) SetTotalCallCount ¶
type DownloadLinkFetcher ¶ added in v0.0.39
type DownloadLinkFetcher struct { NewDownloadLinkStub func() (string, error) // contains filtered or unexported fields }
func (*DownloadLinkFetcher) Invocations ¶ added in v0.0.39
func (fake *DownloadLinkFetcher) Invocations() map[string][][]interface{}
func (*DownloadLinkFetcher) NewDownloadLink ¶ added in v0.0.39
func (fake *DownloadLinkFetcher) NewDownloadLink() (string, error)
func (*DownloadLinkFetcher) NewDownloadLinkCallCount ¶ added in v0.0.39
func (fake *DownloadLinkFetcher) NewDownloadLinkCallCount() int
func (*DownloadLinkFetcher) NewDownloadLinkReturns ¶ added in v0.0.39
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) Invocations ¶ added in v0.0.37
func (fake *HTTPClient) Invocations() map[string][][]interface{}
type Ranger ¶
type Ranger struct { BuildRangeStub func(contentLength int64) ([]download.Range, error) // contains filtered or unexported fields }
func (*Ranger) BuildRange ¶
func (*Ranger) BuildRangeArgsForCall ¶
func (*Ranger) BuildRangeCallCount ¶
func (*Ranger) BuildRangeReturns ¶
func (*Ranger) Invocations ¶ added in v0.0.37
Click to show internal directories.
Click to hide internal directories.