storefakes

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2016 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

	FetchMetricsStub func(logger lager.Logger, path string) (groot.VolumeMetrics, 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) FetchMetrics

func (fake *FakeSnapshotDriver) FetchMetrics(logger lager.Logger, path string) (groot.VolumeMetrics, error)

func (*FakeSnapshotDriver) FetchMetricsArgsForCall

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

func (*FakeSnapshotDriver) FetchMetricsCallCount

func (fake *FakeSnapshotDriver) FetchMetricsCallCount() int

func (*FakeSnapshotDriver) FetchMetricsReturns

func (fake *FakeSnapshotDriver) FetchMetricsReturns(result1 groot.VolumeMetrics, 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