image_clonerfakes

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 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 FakeSnapshotDriver

type FakeSnapshotDriver struct {
	SnapshotStub func(logger lager.Logger, fromPath, toPath string) error

	ApplyDiskLimitStub func(logger lager.Logger, path string, diskLimit int64, exclusive bool) error

	FetchStatsStub func(logger lager.Logger, path string) (groot.VolumeStats, error)

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

func (*FakeSnapshotDriver) ApplyDiskLimit

func (fake *FakeSnapshotDriver) ApplyDiskLimit(logger lager.Logger, path string, diskLimit int64, exclusive bool) error

func (*FakeSnapshotDriver) ApplyDiskLimitArgsForCall

func (fake *FakeSnapshotDriver) ApplyDiskLimitArgsForCall(i int) (lager.Logger, string, int64, bool)

func (*FakeSnapshotDriver) ApplyDiskLimitCallCount

func (fake *FakeSnapshotDriver) ApplyDiskLimitCallCount() int

func (*FakeSnapshotDriver) ApplyDiskLimitReturns

func (fake *FakeSnapshotDriver) ApplyDiskLimitReturns(result1 error)

func (*FakeSnapshotDriver) Destroy

func (fake *FakeSnapshotDriver) Destroy(logger lager.Logger, path string) error

func (*FakeSnapshotDriver) DestroyArgsForCall

func (fake *FakeSnapshotDriver) DestroyArgsForCall(i int) (lager.Logger, string)

func (*FakeSnapshotDriver) DestroyCallCount

func (fake *FakeSnapshotDriver) DestroyCallCount() int

func (*FakeSnapshotDriver) DestroyReturns

func (fake *FakeSnapshotDriver) DestroyReturns(result1 error)

func (*FakeSnapshotDriver) FetchStats added in v0.5.0

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

func (*FakeSnapshotDriver) FetchStatsArgsForCall added in v0.5.0

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

func (*FakeSnapshotDriver) FetchStatsCallCount added in v0.5.0

func (fake *FakeSnapshotDriver) FetchStatsCallCount() int

func (*FakeSnapshotDriver) FetchStatsReturns added in v0.5.0

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

func (*FakeSnapshotDriver) Invocations

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

func (*FakeSnapshotDriver) Snapshot

func (fake *FakeSnapshotDriver) Snapshot(logger lager.Logger, fromPath string, toPath string) error

func (*FakeSnapshotDriver) SnapshotArgsForCall

func (fake *FakeSnapshotDriver) SnapshotArgsForCall(i int) (lager.Logger, string, string)

func (*FakeSnapshotDriver) SnapshotCallCount

func (fake *FakeSnapshotDriver) SnapshotCallCount() int

func (*FakeSnapshotDriver) SnapshotReturns

func (fake *FakeSnapshotDriver) SnapshotReturns(result1 error)

Jump to

Keyboard shortcuts

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