httpclientfakes

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

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 FakeClient

type FakeClient struct {
	GetMetadataStub func() (api.MetadataResponse, error)

	GetListStub func() (api.ListResponse, error)

	DownloadStub func(string, io.ReadWriteSeeker, *pb.ProgressBar) error
	// contains filtered or unexported fields
}

func (*FakeClient) Download

func (fake *FakeClient) Download(arg1 string, arg2 io.ReadWriteSeeker, arg3 *pb.ProgressBar) error

func (*FakeClient) DownloadArgsForCall

func (fake *FakeClient) DownloadArgsForCall(i int) (string, io.ReadWriteSeeker, *pb.ProgressBar)

func (*FakeClient) DownloadCallCount

func (fake *FakeClient) DownloadCallCount() int

func (*FakeClient) DownloadReturns

func (fake *FakeClient) DownloadReturns(result1 error)

func (*FakeClient) DownloadReturnsOnCall added in v0.12.0

func (fake *FakeClient) DownloadReturnsOnCall(i int, result1 error)

func (*FakeClient) GetList

func (fake *FakeClient) GetList() (api.ListResponse, error)

func (*FakeClient) GetListCallCount

func (fake *FakeClient) GetListCallCount() int

func (*FakeClient) GetListReturns

func (fake *FakeClient) GetListReturns(result1 api.ListResponse, result2 error)

func (*FakeClient) GetListReturnsOnCall added in v0.12.0

func (fake *FakeClient) GetListReturnsOnCall(i int, result1 api.ListResponse, result2 error)

func (*FakeClient) GetMetadata added in v0.7.0

func (fake *FakeClient) GetMetadata() (api.MetadataResponse, error)

func (*FakeClient) GetMetadataCallCount added in v0.7.0

func (fake *FakeClient) GetMetadataCallCount() int

func (*FakeClient) GetMetadataReturns added in v0.7.0

func (fake *FakeClient) GetMetadataReturns(result1 api.MetadataResponse, result2 error)

func (*FakeClient) GetMetadataReturnsOnCall added in v0.12.0

func (fake *FakeClient) GetMetadataReturnsOnCall(i int, result1 api.MetadataResponse, result2 error)

func (*FakeClient) Invocations

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

Jump to

Keyboard shortcuts

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