imagefakes

package
v3.3.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2017 License: Apache-2.0 Imports: 9 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 FakeImageResourceFetcher

type FakeImageResourceFetcher struct {
	FetchStub func(logger lager.Logger, cancel <-chan os.Signal, container db.CreatingContainer, privileged bool) (worker.Volume, io.ReadCloser, atc.Version, error)
	// contains filtered or unexported fields
}

func (*FakeImageResourceFetcher) Fetch

func (fake *FakeImageResourceFetcher) Fetch(logger lager.Logger, cancel <-chan os.Signal, container db.CreatingContainer, privileged bool) (worker.Volume, io.ReadCloser, atc.Version, error)

func (*FakeImageResourceFetcher) FetchArgsForCall

func (fake *FakeImageResourceFetcher) FetchArgsForCall(i int) (lager.Logger, <-chan os.Signal, db.CreatingContainer, bool)

func (*FakeImageResourceFetcher) FetchCallCount

func (fake *FakeImageResourceFetcher) FetchCallCount() int

func (*FakeImageResourceFetcher) FetchReturns

func (fake *FakeImageResourceFetcher) FetchReturns(result1 worker.Volume, result2 io.ReadCloser, result3 atc.Version, result4 error)

func (*FakeImageResourceFetcher) FetchReturnsOnCall

func (fake *FakeImageResourceFetcher) FetchReturnsOnCall(i int, result1 worker.Volume, result2 io.ReadCloser, result3 atc.Version, result4 error)

func (*FakeImageResourceFetcher) Invocations

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

type FakeImageResourceFetcherFactory

type FakeImageResourceFetcherFactory struct {
	NewImageResourceFetcherStub func(worker.Worker, db.ResourceUser, worker.ImageResource, atc.Version, int, creds.VersionedResourceTypes, worker.ImageFetchingDelegate) image.ImageResourceFetcher
	// contains filtered or unexported fields
}

func (*FakeImageResourceFetcherFactory) Invocations

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

func (*FakeImageResourceFetcherFactory) NewImageResourceFetcher

func (*FakeImageResourceFetcherFactory) NewImageResourceFetcherCallCount

func (fake *FakeImageResourceFetcherFactory) NewImageResourceFetcherCallCount() int

func (*FakeImageResourceFetcherFactory) NewImageResourceFetcherReturns

func (fake *FakeImageResourceFetcherFactory) NewImageResourceFetcherReturns(result1 image.ImageResourceFetcher)

func (*FakeImageResourceFetcherFactory) NewImageResourceFetcherReturnsOnCall

func (fake *FakeImageResourceFetcherFactory) NewImageResourceFetcherReturnsOnCall(i int, result1 image.ImageResourceFetcher)

Jump to

Keyboard shortcuts

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