downloadfakes

package
v7.0.0-beta.30+incompa... Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2020 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(string) (*http.Response, error)
	// contains filtered or unexported fields
}

func (*FakeHTTPClient) Get

func (fake *FakeHTTPClient) Get(arg1 string) (*http.Response, error)

func (*FakeHTTPClient) GetArgsForCall

func (fake *FakeHTTPClient) GetArgsForCall(i int) string

func (*FakeHTTPClient) GetCallCount

func (fake *FakeHTTPClient) GetCallCount() int

func (*FakeHTTPClient) GetCalls

func (fake *FakeHTTPClient) GetCalls(stub func(string) (*http.Response, error))

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(io.Reader) *pb.Reader

	SetTotalStub func(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) FinishCalls

func (fake *FakeProgressBar) FinishCalls(stub func())

func (*FakeProgressBar) Invocations

func (fake *FakeProgressBar) Invocations() map[string][][]interface{}

func (*FakeProgressBar) NewProxyReader

func (fake *FakeProgressBar) NewProxyReader(arg1 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) NewProxyReaderCalls

func (fake *FakeProgressBar) NewProxyReaderCalls(stub func(io.Reader) *pb.Reader)

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(arg1 int) *pb.ProgressBar

func (*FakeProgressBar) SetTotalArgsForCall

func (fake *FakeProgressBar) SetTotalArgsForCall(i int) int

func (*FakeProgressBar) SetTotalCallCount

func (fake *FakeProgressBar) SetTotalCallCount() int

func (*FakeProgressBar) SetTotalCalls

func (fake *FakeProgressBar) SetTotalCalls(stub func(int) *pb.ProgressBar)

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) StartCalls

func (fake *FakeProgressBar) StartCalls(stub func() *pb.ProgressBar)

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