image_clonerfakes

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeImageDriver added in v0.11.0

type FakeImageDriver struct {
	CreateImageStub func(logger lager.Logger, spec image_cloner.ImageDriverSpec) (groot.MountInfo, error)

	DestroyImageStub func(logger lager.Logger, path string) error

	FetchStatsStub func(logger lager.Logger, path string) (groot.VolumeStats, error)
	// contains filtered or unexported fields
}

func (*FakeImageDriver) CreateImage added in v0.11.0

func (fake *FakeImageDriver) CreateImage(logger lager.Logger, spec image_cloner.ImageDriverSpec) (groot.MountInfo, error)

func (*FakeImageDriver) CreateImageArgsForCall added in v0.11.0

func (fake *FakeImageDriver) CreateImageArgsForCall(i int) (lager.Logger, image_cloner.ImageDriverSpec)

func (*FakeImageDriver) CreateImageCallCount added in v0.11.0

func (fake *FakeImageDriver) CreateImageCallCount() int

func (*FakeImageDriver) CreateImageReturns added in v0.11.0

func (fake *FakeImageDriver) CreateImageReturns(result1 groot.MountInfo, result2 error)

func (*FakeImageDriver) CreateImageReturnsOnCall added in v0.16.0

func (fake *FakeImageDriver) CreateImageReturnsOnCall(i int, result1 groot.MountInfo, result2 error)

func (*FakeImageDriver) DestroyImage added in v0.11.0

func (fake *FakeImageDriver) DestroyImage(logger lager.Logger, path string) error

func (*FakeImageDriver) DestroyImageArgsForCall added in v0.11.0

func (fake *FakeImageDriver) DestroyImageArgsForCall(i int) (lager.Logger, string)

func (*FakeImageDriver) DestroyImageCallCount added in v0.11.0

func (fake *FakeImageDriver) DestroyImageCallCount() int

func (*FakeImageDriver) DestroyImageReturns added in v0.11.0

func (fake *FakeImageDriver) DestroyImageReturns(result1 error)

func (*FakeImageDriver) DestroyImageReturnsOnCall added in v0.16.0

func (fake *FakeImageDriver) DestroyImageReturnsOnCall(i int, result1 error)

func (*FakeImageDriver) FetchStats added in v0.11.0

func (fake *FakeImageDriver) FetchStats(logger lager.Logger, path string) (groot.VolumeStats, error)

func (*FakeImageDriver) FetchStatsArgsForCall added in v0.11.0

func (fake *FakeImageDriver) FetchStatsArgsForCall(i int) (lager.Logger, string)

func (*FakeImageDriver) FetchStatsCallCount added in v0.11.0

func (fake *FakeImageDriver) FetchStatsCallCount() int

func (*FakeImageDriver) FetchStatsReturns added in v0.11.0

func (fake *FakeImageDriver) FetchStatsReturns(result1 groot.VolumeStats, result2 error)

func (*FakeImageDriver) FetchStatsReturnsOnCall added in v0.16.0

func (fake *FakeImageDriver) FetchStatsReturnsOnCall(i int, result1 groot.VolumeStats, result2 error)

func (*FakeImageDriver) Invocations added in v0.11.0

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

Jump to

Keyboard shortcuts

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