base_image_pullerfakes

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

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 FakeDependencyRegisterer

type FakeDependencyRegisterer struct {
	RegisterStub func(id string, chainIDs []string) error
	// contains filtered or unexported fields
}

func (*FakeDependencyRegisterer) Invocations

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

func (*FakeDependencyRegisterer) Register

func (fake *FakeDependencyRegisterer) Register(id string, chainIDs []string) error

func (*FakeDependencyRegisterer) RegisterArgsForCall

func (fake *FakeDependencyRegisterer) RegisterArgsForCall(i int) (string, []string)

func (*FakeDependencyRegisterer) RegisterCallCount

func (fake *FakeDependencyRegisterer) RegisterCallCount() int

func (*FakeDependencyRegisterer) RegisterReturns

func (fake *FakeDependencyRegisterer) RegisterReturns(result1 error)

type FakeFetcher

type FakeFetcher struct {
	BaseImageInfoStub func(logger lager.Logger, baseImageURL *url.URL) (base_image_puller.BaseImageInfo, error)

	StreamBlobStub func(logger lager.Logger, baseImageURL *url.URL, source string) (io.ReadCloser, int64, error)
	// contains filtered or unexported fields
}

func (*FakeFetcher) BaseImageInfo

func (fake *FakeFetcher) BaseImageInfo(logger lager.Logger, baseImageURL *url.URL) (base_image_puller.BaseImageInfo, error)

func (*FakeFetcher) BaseImageInfoArgsForCall

func (fake *FakeFetcher) BaseImageInfoArgsForCall(i int) (lager.Logger, *url.URL)

func (*FakeFetcher) BaseImageInfoCallCount

func (fake *FakeFetcher) BaseImageInfoCallCount() int

func (*FakeFetcher) BaseImageInfoReturns

func (fake *FakeFetcher) BaseImageInfoReturns(result1 base_image_puller.BaseImageInfo, result2 error)

func (*FakeFetcher) Invocations

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

func (*FakeFetcher) StreamBlob

func (fake *FakeFetcher) StreamBlob(logger lager.Logger, baseImageURL *url.URL, source string) (io.ReadCloser, int64, error)

func (*FakeFetcher) StreamBlobArgsForCall

func (fake *FakeFetcher) StreamBlobArgsForCall(i int) (lager.Logger, *url.URL, string)

func (*FakeFetcher) StreamBlobCallCount

func (fake *FakeFetcher) StreamBlobCallCount() int

func (*FakeFetcher) StreamBlobReturns

func (fake *FakeFetcher) StreamBlobReturns(result1 io.ReadCloser, result2 int64, result3 error)

type FakeUnpacker

type FakeUnpacker struct {
	UnpackStub func(logger lager.Logger, spec base_image_puller.UnpackSpec) error
	// contains filtered or unexported fields
}

func (*FakeUnpacker) Invocations

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

func (*FakeUnpacker) Unpack

func (fake *FakeUnpacker) Unpack(logger lager.Logger, spec base_image_puller.UnpackSpec) error

func (*FakeUnpacker) UnpackArgsForCall

func (fake *FakeUnpacker) UnpackArgsForCall(i int) (lager.Logger, base_image_puller.UnpackSpec)

func (*FakeUnpacker) UnpackCallCount

func (fake *FakeUnpacker) UnpackCallCount() int

func (*FakeUnpacker) UnpackReturns

func (fake *FakeUnpacker) UnpackReturns(result1 error)

type FakeVolumeDriver

type FakeVolumeDriver struct {
	PathStub func(logger lager.Logger, id string) (string, error)

	CreateStub func(logger lager.Logger, parentID, id string) (string, error)

	DestroyVolumeStub func(logger lager.Logger, id string) error
	// contains filtered or unexported fields
}

func (*FakeVolumeDriver) Create

func (fake *FakeVolumeDriver) Create(logger lager.Logger, parentID string, id string) (string, error)

func (*FakeVolumeDriver) CreateArgsForCall

func (fake *FakeVolumeDriver) CreateArgsForCall(i int) (lager.Logger, string, string)

func (*FakeVolumeDriver) CreateCallCount

func (fake *FakeVolumeDriver) CreateCallCount() int

func (*FakeVolumeDriver) CreateReturns

func (fake *FakeVolumeDriver) CreateReturns(result1 string, result2 error)

func (*FakeVolumeDriver) DestroyVolume

func (fake *FakeVolumeDriver) DestroyVolume(logger lager.Logger, id string) error

func (*FakeVolumeDriver) DestroyVolumeArgsForCall

func (fake *FakeVolumeDriver) DestroyVolumeArgsForCall(i int) (lager.Logger, string)

func (*FakeVolumeDriver) DestroyVolumeCallCount

func (fake *FakeVolumeDriver) DestroyVolumeCallCount() int

func (*FakeVolumeDriver) DestroyVolumeReturns

func (fake *FakeVolumeDriver) DestroyVolumeReturns(result1 error)

func (*FakeVolumeDriver) Invocations

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

func (*FakeVolumeDriver) Path

func (fake *FakeVolumeDriver) Path(logger lager.Logger, id string) (string, error)

func (*FakeVolumeDriver) PathArgsForCall

func (fake *FakeVolumeDriver) PathArgsForCall(i int) (lager.Logger, string)

func (*FakeVolumeDriver) PathCallCount

func (fake *FakeVolumeDriver) PathCallCount() int

func (*FakeVolumeDriver) PathReturns

func (fake *FakeVolumeDriver) PathReturns(result1 string, result2 error)

Jump to

Keyboard shortcuts

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