cacheddownloaderfakes

package
v0.0.0-...-5593d09 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 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 FakeCachedDownloader

type FakeCachedDownloader struct {
	CloseDirectoryStub func(lager.Logger, string, string) error

	FetchStub func(lager.Logger, *url.URL, string, cacheddownloader.ChecksumInfoType, <-chan struct{}) (io.ReadCloser, int64, error)

	FetchAsDirectoryStub func(lager.Logger, *url.URL, string, cacheddownloader.ChecksumInfoType, <-chan struct{}) (string, int64, error)

	RecoverStateStub func(lager.Logger) error

	SaveStateStub func(lager.Logger) error
	// contains filtered or unexported fields
}

func (*FakeCachedDownloader) CloseDirectory

func (fake *FakeCachedDownloader) CloseDirectory(arg1 lager.Logger, arg2 string, arg3 string) error

func (*FakeCachedDownloader) CloseDirectoryArgsForCall

func (fake *FakeCachedDownloader) CloseDirectoryArgsForCall(i int) (lager.Logger, string, string)

func (*FakeCachedDownloader) CloseDirectoryCallCount

func (fake *FakeCachedDownloader) CloseDirectoryCallCount() int

func (*FakeCachedDownloader) CloseDirectoryCalls

func (fake *FakeCachedDownloader) CloseDirectoryCalls(stub func(lager.Logger, string, string) error)

func (*FakeCachedDownloader) CloseDirectoryReturns

func (fake *FakeCachedDownloader) CloseDirectoryReturns(result1 error)

func (*FakeCachedDownloader) CloseDirectoryReturnsOnCall

func (fake *FakeCachedDownloader) CloseDirectoryReturnsOnCall(i int, result1 error)

func (*FakeCachedDownloader) Fetch

func (fake *FakeCachedDownloader) Fetch(arg1 lager.Logger, arg2 *url.URL, arg3 string, arg4 cacheddownloader.ChecksumInfoType, arg5 <-chan struct{}) (io.ReadCloser, int64, error)

func (*FakeCachedDownloader) FetchArgsForCall

func (fake *FakeCachedDownloader) FetchArgsForCall(i int) (lager.Logger, *url.URL, string, cacheddownloader.ChecksumInfoType, <-chan struct{})

func (*FakeCachedDownloader) FetchAsDirectory

func (fake *FakeCachedDownloader) FetchAsDirectory(arg1 lager.Logger, arg2 *url.URL, arg3 string, arg4 cacheddownloader.ChecksumInfoType, arg5 <-chan struct{}) (string, int64, error)

func (*FakeCachedDownloader) FetchAsDirectoryArgsForCall

func (fake *FakeCachedDownloader) FetchAsDirectoryArgsForCall(i int) (lager.Logger, *url.URL, string, cacheddownloader.ChecksumInfoType, <-chan struct{})

func (*FakeCachedDownloader) FetchAsDirectoryCallCount

func (fake *FakeCachedDownloader) FetchAsDirectoryCallCount() int

func (*FakeCachedDownloader) FetchAsDirectoryCalls

func (fake *FakeCachedDownloader) FetchAsDirectoryCalls(stub func(lager.Logger, *url.URL, string, cacheddownloader.ChecksumInfoType, <-chan struct{}) (string, int64, error))

func (*FakeCachedDownloader) FetchAsDirectoryReturns

func (fake *FakeCachedDownloader) FetchAsDirectoryReturns(result1 string, result2 int64, result3 error)

func (*FakeCachedDownloader) FetchAsDirectoryReturnsOnCall

func (fake *FakeCachedDownloader) FetchAsDirectoryReturnsOnCall(i int, result1 string, result2 int64, result3 error)

func (*FakeCachedDownloader) FetchCallCount

func (fake *FakeCachedDownloader) FetchCallCount() int

func (*FakeCachedDownloader) FetchCalls

func (fake *FakeCachedDownloader) FetchCalls(stub func(lager.Logger, *url.URL, string, cacheddownloader.ChecksumInfoType, <-chan struct{}) (io.ReadCloser, int64, error))

func (*FakeCachedDownloader) FetchReturns

func (fake *FakeCachedDownloader) FetchReturns(result1 io.ReadCloser, result2 int64, result3 error)

func (*FakeCachedDownloader) FetchReturnsOnCall

func (fake *FakeCachedDownloader) FetchReturnsOnCall(i int, result1 io.ReadCloser, result2 int64, result3 error)

func (*FakeCachedDownloader) Invocations

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

func (*FakeCachedDownloader) RecoverState

func (fake *FakeCachedDownloader) RecoverState(arg1 lager.Logger) error

func (*FakeCachedDownloader) RecoverStateArgsForCall

func (fake *FakeCachedDownloader) RecoverStateArgsForCall(i int) lager.Logger

func (*FakeCachedDownloader) RecoverStateCallCount

func (fake *FakeCachedDownloader) RecoverStateCallCount() int

func (*FakeCachedDownloader) RecoverStateCalls

func (fake *FakeCachedDownloader) RecoverStateCalls(stub func(lager.Logger) error)

func (*FakeCachedDownloader) RecoverStateReturns

func (fake *FakeCachedDownloader) RecoverStateReturns(result1 error)

func (*FakeCachedDownloader) RecoverStateReturnsOnCall

func (fake *FakeCachedDownloader) RecoverStateReturnsOnCall(i int, result1 error)

func (*FakeCachedDownloader) SaveState

func (fake *FakeCachedDownloader) SaveState(arg1 lager.Logger) error

func (*FakeCachedDownloader) SaveStateArgsForCall

func (fake *FakeCachedDownloader) SaveStateArgsForCall(i int) lager.Logger

func (*FakeCachedDownloader) SaveStateCallCount

func (fake *FakeCachedDownloader) SaveStateCallCount() int

func (*FakeCachedDownloader) SaveStateCalls

func (fake *FakeCachedDownloader) SaveStateCalls(stub func(lager.Logger) error)

func (*FakeCachedDownloader) SaveStateReturns

func (fake *FakeCachedDownloader) SaveStateReturns(result1 error)

func (*FakeCachedDownloader) SaveStateReturnsOnCall

func (fake *FakeCachedDownloader) SaveStateReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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