Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeHTTPClient
- func (fake *FakeHTTPClient) Get(url string) (resp *http.Response, err error)
- func (fake *FakeHTTPClient) GetArgsForCall(i int) string
- func (fake *FakeHTTPClient) GetCallCount() int
- func (fake *FakeHTTPClient) GetReturns(result1 *http.Response, result2 error)
- func (fake *FakeHTTPClient) GetReturnsOnCall(i int, result1 *http.Response, result2 error)
- func (fake *FakeHTTPClient) Invocations() map[string][][]interface{}
- type FakeProgressBar
- func (fake *FakeProgressBar) Finish()
- func (fake *FakeProgressBar) FinishCallCount() int
- func (fake *FakeProgressBar) Invocations() map[string][][]interface{}
- func (fake *FakeProgressBar) NewProxyReader(r io.Reader) *pb.Reader
- func (fake *FakeProgressBar) NewProxyReaderArgsForCall(i int) io.Reader
- func (fake *FakeProgressBar) NewProxyReaderCallCount() int
- func (fake *FakeProgressBar) NewProxyReaderReturns(result1 *pb.Reader)
- func (fake *FakeProgressBar) NewProxyReaderReturnsOnCall(i int, result1 *pb.Reader)
- func (fake *FakeProgressBar) SetTotal(total int) *pb.ProgressBar
- func (fake *FakeProgressBar) SetTotalArgsForCall(i int) int
- func (fake *FakeProgressBar) SetTotalCallCount() int
- func (fake *FakeProgressBar) SetTotalReturns(result1 *pb.ProgressBar)
- func (fake *FakeProgressBar) SetTotalReturnsOnCall(i int, result1 *pb.ProgressBar)
- func (fake *FakeProgressBar) Start() *pb.ProgressBar
- func (fake *FakeProgressBar) StartCallCount() int
- func (fake *FakeProgressBar) StartReturns(result1 *pb.ProgressBar)
- func (fake *FakeProgressBar) StartReturnsOnCall(i int, result1 *pb.ProgressBar)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeHTTPClient ¶
type FakeHTTPClient struct { GetStub func(url string) (resp *http.Response, err error) // contains filtered or unexported fields }
func (*FakeHTTPClient) Get ¶
func (fake *FakeHTTPClient) Get(url string) (resp *http.Response, err error)
func (*FakeHTTPClient) GetArgsForCall ¶
func (fake *FakeHTTPClient) GetArgsForCall(i int) string
func (*FakeHTTPClient) GetCallCount ¶
func (fake *FakeHTTPClient) GetCallCount() int
func (*FakeHTTPClient) GetReturns ¶
func (fake *FakeHTTPClient) GetReturns(result1 *http.Response, result2 error)
func (*FakeHTTPClient) GetReturnsOnCall ¶
func (fake *FakeHTTPClient) GetReturnsOnCall(i int, result1 *http.Response, result2 error)
func (*FakeHTTPClient) Invocations ¶
func (fake *FakeHTTPClient) Invocations() map[string][][]interface{}
type FakeProgressBar ¶
type FakeProgressBar struct { FinishStub func() NewProxyReaderStub func(r io.Reader) *pb.Reader SetTotalStub func(total int) *pb.ProgressBar StartStub func() *pb.ProgressBar // contains filtered or unexported fields }
func (*FakeProgressBar) Finish ¶
func (fake *FakeProgressBar) Finish()
func (*FakeProgressBar) FinishCallCount ¶
func (fake *FakeProgressBar) FinishCallCount() int
func (*FakeProgressBar) Invocations ¶
func (fake *FakeProgressBar) Invocations() map[string][][]interface{}
func (*FakeProgressBar) NewProxyReader ¶
func (fake *FakeProgressBar) NewProxyReader(r io.Reader) *pb.Reader
func (*FakeProgressBar) NewProxyReaderArgsForCall ¶
func (fake *FakeProgressBar) NewProxyReaderArgsForCall(i int) io.Reader
func (*FakeProgressBar) NewProxyReaderCallCount ¶
func (fake *FakeProgressBar) NewProxyReaderCallCount() int
func (*FakeProgressBar) NewProxyReaderReturns ¶
func (fake *FakeProgressBar) NewProxyReaderReturns(result1 *pb.Reader)
func (*FakeProgressBar) NewProxyReaderReturnsOnCall ¶
func (fake *FakeProgressBar) NewProxyReaderReturnsOnCall(i int, result1 *pb.Reader)
func (*FakeProgressBar) SetTotal ¶
func (fake *FakeProgressBar) SetTotal(total int) *pb.ProgressBar
func (*FakeProgressBar) SetTotalArgsForCall ¶
func (fake *FakeProgressBar) SetTotalArgsForCall(i int) int
func (*FakeProgressBar) SetTotalCallCount ¶
func (fake *FakeProgressBar) SetTotalCallCount() int
func (*FakeProgressBar) SetTotalReturns ¶
func (fake *FakeProgressBar) SetTotalReturns(result1 *pb.ProgressBar)
func (*FakeProgressBar) SetTotalReturnsOnCall ¶
func (fake *FakeProgressBar) SetTotalReturnsOnCall(i int, result1 *pb.ProgressBar)
func (*FakeProgressBar) Start ¶
func (fake *FakeProgressBar) Start() *pb.ProgressBar
func (*FakeProgressBar) StartCallCount ¶
func (fake *FakeProgressBar) StartCallCount() int
func (*FakeProgressBar) StartReturns ¶
func (fake *FakeProgressBar) StartReturns(result1 *pb.ProgressBar)
func (*FakeProgressBar) StartReturnsOnCall ¶
func (fake *FakeProgressBar) StartReturnsOnCall(i int, result1 *pb.ProgressBar)
Click to show internal directories.
Click to hide internal directories.