base_image_pullerfakes

package
v0.30.0 Latest Latest
Warning

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

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

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

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 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)

func (*FakeDependencyRegisterer) RegisterReturnsOnCall added in v0.16.0

func (fake *FakeDependencyRegisterer) RegisterReturnsOnCall(i int, 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, layerInfo base_image_puller.LayerInfo) (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) BaseImageInfoReturnsOnCall added in v0.16.0

func (fake *FakeFetcher) BaseImageInfoReturnsOnCall(i int, 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, layerInfo base_image_puller.LayerInfo) (io.ReadCloser, int64, error)

func (*FakeFetcher) StreamBlobArgsForCall

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

func (*FakeFetcher) StreamBlobCallCount

func (fake *FakeFetcher) StreamBlobCallCount() int

func (*FakeFetcher) StreamBlobReturns

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

func (*FakeFetcher) StreamBlobReturnsOnCall added in v0.16.0

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

type FakeUnpacker

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

func (*FakeUnpacker) Invocations

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

func (*FakeUnpacker) Unpack

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 base_image_puller.UnpackOutput, result2 error)

func (*FakeUnpacker) UnpackReturnsOnCall added in v0.16.0

func (fake *FakeUnpacker) UnpackReturnsOnCall(i int, result1 base_image_puller.UnpackOutput, result2 error)

type FakeVolumeDriver

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

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

	DestroyVolumeStub func(logger lager.Logger, id string) error

	VolumesStub func(logger lager.Logger) ([]string, error)

	MoveVolumeStub func(logger lager.Logger, from, to string) error

	WriteVolumeMetaStub func(logger lager.Logger, id string, data base_image_puller.VolumeMeta) error

	HandleOpaqueWhiteoutsStub func(logger lager.Logger, id string, opaqueWhiteouts []string) error
	// contains filtered or unexported fields
}

func (*FakeVolumeDriver) CreateVolume added in v0.11.0

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

func (*FakeVolumeDriver) CreateVolumeArgsForCall added in v0.11.0

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

func (*FakeVolumeDriver) CreateVolumeCallCount added in v0.11.0

func (fake *FakeVolumeDriver) CreateVolumeCallCount() int

func (*FakeVolumeDriver) CreateVolumeReturns added in v0.11.0

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

func (*FakeVolumeDriver) CreateVolumeReturnsOnCall added in v0.16.0

func (fake *FakeVolumeDriver) CreateVolumeReturnsOnCall(i int, 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) DestroyVolumeReturnsOnCall added in v0.16.0

func (fake *FakeVolumeDriver) DestroyVolumeReturnsOnCall(i int, result1 error)

func (*FakeVolumeDriver) HandleOpaqueWhiteouts added in v0.26.0

func (fake *FakeVolumeDriver) HandleOpaqueWhiteouts(logger lager.Logger, id string, opaqueWhiteouts []string) error

func (*FakeVolumeDriver) HandleOpaqueWhiteoutsArgsForCall added in v0.26.0

func (fake *FakeVolumeDriver) HandleOpaqueWhiteoutsArgsForCall(i int) (lager.Logger, string, []string)

func (*FakeVolumeDriver) HandleOpaqueWhiteoutsCallCount added in v0.26.0

func (fake *FakeVolumeDriver) HandleOpaqueWhiteoutsCallCount() int

func (*FakeVolumeDriver) HandleOpaqueWhiteoutsReturns added in v0.26.0

func (fake *FakeVolumeDriver) HandleOpaqueWhiteoutsReturns(result1 error)

func (*FakeVolumeDriver) HandleOpaqueWhiteoutsReturnsOnCall added in v0.26.0

func (fake *FakeVolumeDriver) HandleOpaqueWhiteoutsReturnsOnCall(i int, result1 error)

func (*FakeVolumeDriver) Invocations

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

func (*FakeVolumeDriver) MoveVolume added in v0.16.0

func (fake *FakeVolumeDriver) MoveVolume(logger lager.Logger, from string, to string) error

func (*FakeVolumeDriver) MoveVolumeArgsForCall added in v0.16.0

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

func (*FakeVolumeDriver) MoveVolumeCallCount added in v0.16.0

func (fake *FakeVolumeDriver) MoveVolumeCallCount() int

func (*FakeVolumeDriver) MoveVolumeReturns added in v0.16.0

func (fake *FakeVolumeDriver) MoveVolumeReturns(result1 error)

func (*FakeVolumeDriver) MoveVolumeReturnsOnCall added in v0.16.0

func (fake *FakeVolumeDriver) MoveVolumeReturnsOnCall(i int, result1 error)

func (*FakeVolumeDriver) VolumePath added in v0.11.0

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

func (*FakeVolumeDriver) VolumePathArgsForCall added in v0.11.0

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

func (*FakeVolumeDriver) VolumePathCallCount added in v0.11.0

func (fake *FakeVolumeDriver) VolumePathCallCount() int

func (*FakeVolumeDriver) VolumePathReturns added in v0.11.0

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

func (*FakeVolumeDriver) VolumePathReturnsOnCall added in v0.16.0

func (fake *FakeVolumeDriver) VolumePathReturnsOnCall(i int, result1 string, result2 error)

func (*FakeVolumeDriver) Volumes added in v0.11.0

func (fake *FakeVolumeDriver) Volumes(logger lager.Logger) ([]string, error)

func (*FakeVolumeDriver) VolumesArgsForCall added in v0.11.0

func (fake *FakeVolumeDriver) VolumesArgsForCall(i int) lager.Logger

func (*FakeVolumeDriver) VolumesCallCount added in v0.11.0

func (fake *FakeVolumeDriver) VolumesCallCount() int

func (*FakeVolumeDriver) VolumesReturns added in v0.11.0

func (fake *FakeVolumeDriver) VolumesReturns(result1 []string, result2 error)

func (*FakeVolumeDriver) VolumesReturnsOnCall added in v0.16.0

func (fake *FakeVolumeDriver) VolumesReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeVolumeDriver) WriteVolumeMeta added in v0.26.0

func (fake *FakeVolumeDriver) WriteVolumeMeta(logger lager.Logger, id string, data base_image_puller.VolumeMeta) error

func (*FakeVolumeDriver) WriteVolumeMetaArgsForCall added in v0.26.0

func (fake *FakeVolumeDriver) WriteVolumeMetaArgsForCall(i int) (lager.Logger, string, base_image_puller.VolumeMeta)

func (*FakeVolumeDriver) WriteVolumeMetaCallCount added in v0.26.0

func (fake *FakeVolumeDriver) WriteVolumeMetaCallCount() int

func (*FakeVolumeDriver) WriteVolumeMetaReturns added in v0.26.0

func (fake *FakeVolumeDriver) WriteVolumeMetaReturns(result1 error)

func (*FakeVolumeDriver) WriteVolumeMetaReturnsOnCall added in v0.26.0

func (fake *FakeVolumeDriver) WriteVolumeMetaReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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