Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeSnapshotDriver
- func (fake *FakeSnapshotDriver) ApplyDiskLimit(logger lager.Logger, path string, diskLimit int64, exclusive bool) error
- func (fake *FakeSnapshotDriver) ApplyDiskLimitArgsForCall(i int) (lager.Logger, string, int64, bool)
- func (fake *FakeSnapshotDriver) ApplyDiskLimitCallCount() int
- func (fake *FakeSnapshotDriver) ApplyDiskLimitReturns(result1 error)
- func (fake *FakeSnapshotDriver) Destroy(logger lager.Logger, path string) error
- func (fake *FakeSnapshotDriver) DestroyArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeSnapshotDriver) DestroyCallCount() int
- func (fake *FakeSnapshotDriver) DestroyReturns(result1 error)
- func (fake *FakeSnapshotDriver) FetchStats(logger lager.Logger, path string) (groot.VolumeStats, error)
- func (fake *FakeSnapshotDriver) FetchStatsArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeSnapshotDriver) FetchStatsCallCount() int
- func (fake *FakeSnapshotDriver) FetchStatsReturns(result1 groot.VolumeStats, result2 error)
- func (fake *FakeSnapshotDriver) Invocations() map[string][][]interface{}
- func (fake *FakeSnapshotDriver) Snapshot(logger lager.Logger, fromPath string, toPath string) error
- func (fake *FakeSnapshotDriver) SnapshotArgsForCall(i int) (lager.Logger, string, string)
- func (fake *FakeSnapshotDriver) SnapshotCallCount() int
- func (fake *FakeSnapshotDriver) SnapshotReturns(result1 error)
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 (*FakeSnapshotDriver) ApplyDiskLimitArgsForCall ¶
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) SnapshotArgsForCall ¶
func (*FakeSnapshotDriver) SnapshotCallCount ¶
func (fake *FakeSnapshotDriver) SnapshotCallCount() int
func (*FakeSnapshotDriver) SnapshotReturns ¶
func (fake *FakeSnapshotDriver) SnapshotReturns(result1 error)
Click to show internal directories.
Click to hide internal directories.