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) FetchMetrics(logger lager.Logger, path string) (groot.VolumeMetrics, error)
- func (fake *FakeSnapshotDriver) FetchMetricsArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeSnapshotDriver) FetchMetricsCallCount() int
- func (fake *FakeSnapshotDriver) FetchMetricsReturns(result1 groot.VolumeMetrics, 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 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 (*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) 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) 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.