Documentation
¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeBundle
- func (fake *FakeBundle) Invocations() map[string][][]interface{}
- func (fake *FakeBundle) Path() string
- func (fake *FakeBundle) PathCallCount() int
- func (fake *FakeBundle) PathReturns(result1 string)
- func (fake *FakeBundle) RootFSPath() string
- func (fake *FakeBundle) RootFSPathCallCount() int
- func (fake *FakeBundle) RootFSPathReturns(result1 string)
- type FakeBundler
- func (fake *FakeBundler) Create(logger lager.Logger, id string, spec groot.BundleSpec) (groot.Bundle, error)
- func (fake *FakeBundler) CreateArgsForCall(i int) (lager.Logger, string, groot.BundleSpec)
- func (fake *FakeBundler) CreateCallCount() int
- func (fake *FakeBundler) CreateReturns(result1 groot.Bundle, result2 error)
- func (fake *FakeBundler) Destroy(logger lager.Logger, id string) error
- func (fake *FakeBundler) DestroyArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeBundler) DestroyCallCount() int
- func (fake *FakeBundler) DestroyReturns(result1 error)
- func (fake *FakeBundler) Exists(id string) (bool, error)
- func (fake *FakeBundler) ExistsArgsForCall(i int) string
- func (fake *FakeBundler) ExistsCallCount() int
- func (fake *FakeBundler) ExistsReturns(result1 bool, result2 error)
- func (fake *FakeBundler) Invocations() map[string][][]interface{}
- func (fake *FakeBundler) Metrics(logger lager.Logger, id string) (groot.VolumeMetrics, error)
- func (fake *FakeBundler) MetricsArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeBundler) MetricsCallCount() int
- func (fake *FakeBundler) MetricsReturns(result1 groot.VolumeMetrics, result2 error)
- type FakeImagePuller
- func (fake *FakeImagePuller) Invocations() map[string][][]interface{}
- func (fake *FakeImagePuller) Pull(logger lager.Logger, spec groot.ImageSpec) (groot.BundleSpec, error)
- func (fake *FakeImagePuller) PullArgsForCall(i int) (lager.Logger, groot.ImageSpec)
- func (fake *FakeImagePuller) PullCallCount() int
- func (fake *FakeImagePuller) PullReturns(result1 groot.BundleSpec, result2 error)
- type FakeLocksmith
- func (fake *FakeLocksmith) Invocations() map[string][][]interface{}
- func (fake *FakeLocksmith) Lock(key string) (*os.File, error)
- func (fake *FakeLocksmith) LockArgsForCall(i int) string
- func (fake *FakeLocksmith) LockCallCount() int
- func (fake *FakeLocksmith) LockReturns(result1 *os.File, result2 error)
- func (fake *FakeLocksmith) Unlock(lockFile *os.File) error
- func (fake *FakeLocksmith) UnlockArgsForCall(i int) *os.File
- func (fake *FakeLocksmith) UnlockCallCount() int
- func (fake *FakeLocksmith) UnlockReturns(result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBundle ¶
type FakeBundle struct {
PathStub func() string
RootFSPathStub func() string
// contains filtered or unexported fields
}
func (*FakeBundle) Invocations ¶
func (fake *FakeBundle) Invocations() map[string][][]interface{}
func (*FakeBundle) Path ¶
func (fake *FakeBundle) Path() string
func (*FakeBundle) PathCallCount ¶
func (fake *FakeBundle) PathCallCount() int
func (*FakeBundle) PathReturns ¶
func (fake *FakeBundle) PathReturns(result1 string)
func (*FakeBundle) RootFSPath ¶
func (fake *FakeBundle) RootFSPath() string
func (*FakeBundle) RootFSPathCallCount ¶
func (fake *FakeBundle) RootFSPathCallCount() int
func (*FakeBundle) RootFSPathReturns ¶
func (fake *FakeBundle) RootFSPathReturns(result1 string)
type FakeBundler ¶
type FakeBundler struct {
ExistsStub func(id string) (bool, error)
CreateStub func(logger lager.Logger, id string, spec groot.BundleSpec) (groot.Bundle, error)
DestroyStub func(logger lager.Logger, id string) error
MetricsStub func(logger lager.Logger, id string) (groot.VolumeMetrics, error)
// contains filtered or unexported fields
}
func (*FakeBundler) Create ¶
func (fake *FakeBundler) Create(logger lager.Logger, id string, spec groot.BundleSpec) (groot.Bundle, error)
func (*FakeBundler) CreateArgsForCall ¶
func (fake *FakeBundler) CreateArgsForCall(i int) (lager.Logger, string, groot.BundleSpec)
func (*FakeBundler) CreateCallCount ¶
func (fake *FakeBundler) CreateCallCount() int
func (*FakeBundler) CreateReturns ¶
func (fake *FakeBundler) CreateReturns(result1 groot.Bundle, result2 error)
func (*FakeBundler) Destroy ¶
func (fake *FakeBundler) Destroy(logger lager.Logger, id string) error
func (*FakeBundler) DestroyArgsForCall ¶
func (fake *FakeBundler) DestroyArgsForCall(i int) (lager.Logger, string)
func (*FakeBundler) DestroyCallCount ¶
func (fake *FakeBundler) DestroyCallCount() int
func (*FakeBundler) DestroyReturns ¶
func (fake *FakeBundler) DestroyReturns(result1 error)
func (*FakeBundler) ExistsArgsForCall ¶
func (fake *FakeBundler) ExistsArgsForCall(i int) string
func (*FakeBundler) ExistsCallCount ¶
func (fake *FakeBundler) ExistsCallCount() int
func (*FakeBundler) ExistsReturns ¶
func (fake *FakeBundler) ExistsReturns(result1 bool, result2 error)
func (*FakeBundler) Invocations ¶
func (fake *FakeBundler) Invocations() map[string][][]interface{}
func (*FakeBundler) Metrics ¶
func (fake *FakeBundler) Metrics(logger lager.Logger, id string) (groot.VolumeMetrics, error)
func (*FakeBundler) MetricsArgsForCall ¶
func (fake *FakeBundler) MetricsArgsForCall(i int) (lager.Logger, string)
func (*FakeBundler) MetricsCallCount ¶
func (fake *FakeBundler) MetricsCallCount() int
func (*FakeBundler) MetricsReturns ¶
func (fake *FakeBundler) MetricsReturns(result1 groot.VolumeMetrics, result2 error)
type FakeImagePuller ¶
type FakeImagePuller struct {
PullStub func(logger lager.Logger, spec groot.ImageSpec) (groot.BundleSpec, error)
// contains filtered or unexported fields
}
func (*FakeImagePuller) Invocations ¶
func (fake *FakeImagePuller) Invocations() map[string][][]interface{}
func (*FakeImagePuller) Pull ¶
func (fake *FakeImagePuller) Pull(logger lager.Logger, spec groot.ImageSpec) (groot.BundleSpec, error)
func (*FakeImagePuller) PullArgsForCall ¶
func (*FakeImagePuller) PullCallCount ¶
func (fake *FakeImagePuller) PullCallCount() int
func (*FakeImagePuller) PullReturns ¶
func (fake *FakeImagePuller) PullReturns(result1 groot.BundleSpec, result2 error)
type FakeLocksmith ¶
type FakeLocksmith struct {
LockStub func(key string) (*os.File, error)
UnlockStub func(lockFile *os.File) error
// contains filtered or unexported fields
}
func (*FakeLocksmith) Invocations ¶
func (fake *FakeLocksmith) Invocations() map[string][][]interface{}
func (*FakeLocksmith) LockArgsForCall ¶
func (fake *FakeLocksmith) LockArgsForCall(i int) string
func (*FakeLocksmith) LockCallCount ¶
func (fake *FakeLocksmith) LockCallCount() int
func (*FakeLocksmith) LockReturns ¶
func (fake *FakeLocksmith) LockReturns(result1 *os.File, result2 error)
func (*FakeLocksmith) UnlockArgsForCall ¶
func (fake *FakeLocksmith) UnlockArgsForCall(i int) *os.File
func (*FakeLocksmith) UnlockCallCount ¶
func (fake *FakeLocksmith) UnlockCallCount() int
func (*FakeLocksmith) UnlockReturns ¶
func (fake *FakeLocksmith) UnlockReturns(result1 error)
Click to show internal directories.
Click to hide internal directories.