downloadfakes

package
v6.38.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL