image_clonerfakes

package
v0.0.0-...-ea9d892 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2019 License: Apache-2.0 Imports: 4 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 FakeImageDriver

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

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

func (*FakeImageDriver) CreateImageArgsForCall

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

func (*FakeImageDriver) CreateImageCallCount

func (fake *FakeImageDriver) CreateImageCallCount() int

func (*FakeImageDriver) CreateImageReturns

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

func (*FakeImageDriver) CreateImageReturnsOnCall

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

func (*FakeImageDriver) DestroyImage

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

func (*FakeImageDriver) DestroyImageArgsForCall

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

func (*FakeImageDriver) DestroyImageCallCount

func (fake *FakeImageDriver) DestroyImageCallCount() int

func (*FakeImageDriver) DestroyImageReturns

func (fake *FakeImageDriver) DestroyImageReturns(result1 error)

func (*FakeImageDriver) DestroyImageReturnsOnCall

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

func (*FakeImageDriver) FetchStats

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

func (*FakeImageDriver) FetchStatsArgsForCall

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

func (*FakeImageDriver) FetchStatsCallCount

func (fake *FakeImageDriver) FetchStatsCallCount() int

func (*FakeImageDriver) FetchStatsReturns

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

func (*FakeImageDriver) FetchStatsReturnsOnCall

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

func (*FakeImageDriver) Invocations

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