httpclientfakes

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 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 {
	DownloadStub func(string, io.ReadWriteSeeker, *pb.ProgressBar) error

	GetListStub func() (api.ListResponse, error)

	GetMetadataStub func() (api.MetadataResponse, 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) DownloadCalls added in v0.19.0

func (fake *FakeClient) DownloadCalls(stub func(string, io.ReadWriteSeeker, *pb.ProgressBar) error)

func (*FakeClient) DownloadReturns

func (fake *FakeClient) DownloadReturns(result1 error)

func (*FakeClient) DownloadReturnsOnCall

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) GetListCalls added in v0.19.0

func (fake *FakeClient) GetListCalls(stub func() (api.ListResponse, error))

func (*FakeClient) GetListReturns

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

func (*FakeClient) GetListReturnsOnCall

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

func (*FakeClient) GetMetadata

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

func (*FakeClient) GetMetadataCallCount

func (fake *FakeClient) GetMetadataCallCount() int

func (*FakeClient) GetMetadataCalls added in v0.19.0

func (fake *FakeClient) GetMetadataCalls(stub func() (api.MetadataResponse, error))

func (*FakeClient) GetMetadataReturns

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

func (*FakeClient) GetMetadataReturnsOnCall

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