downloaderfakes

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeClient added in v0.27.0

type FakeClient struct {
	DownloadProductFileStub func(writer *download.FileInfo, productSlug string, releaseID int, productFileID int, progressWriter io.Writer) error
	// contains filtered or unexported fields
}

func (*FakeClient) DownloadProductFile added in v0.27.0

func (fake *FakeClient) DownloadProductFile(writer *download.FileInfo, productSlug string, releaseID int, productFileID int, progressWriter io.Writer) error

func (*FakeClient) DownloadProductFileArgsForCall added in v0.27.0

func (fake *FakeClient) DownloadProductFileArgsForCall(i int) (*download.FileInfo, string, int, int, io.Writer)

func (*FakeClient) DownloadProductFileCallCount added in v0.27.0

func (fake *FakeClient) DownloadProductFileCallCount() int

func (*FakeClient) DownloadProductFileReturns added in v0.27.0

func (fake *FakeClient) DownloadProductFileReturns(result1 error)

func (*FakeClient) Invocations added in v0.27.0

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

type FakeExtendedClient added in v0.20.0

type FakeExtendedClient struct {
	DownloadFileStub func(writer io.Writer, downloadLink string) error
	// contains filtered or unexported fields
}

func (*FakeExtendedClient) DownloadFile added in v0.20.0

func (fake *FakeExtendedClient) DownloadFile(writer io.Writer, downloadLink string) error

func (*FakeExtendedClient) DownloadFileArgsForCall added in v0.20.0

func (fake *FakeExtendedClient) DownloadFileArgsForCall(i int) (io.Writer, string)

func (*FakeExtendedClient) DownloadFileCallCount added in v0.20.0

func (fake *FakeExtendedClient) DownloadFileCallCount() int

func (*FakeExtendedClient) DownloadFileReturns added in v0.20.0

func (fake *FakeExtendedClient) DownloadFileReturns(result1 error)

func (*FakeExtendedClient) Invocations added in v0.20.0

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

Jump to

Keyboard shortcuts

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