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 ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
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 FakeBaseImagePuller
- func (fake *FakeBaseImagePuller) Invocations() map[string][][]interface{}
- func (fake *FakeBaseImagePuller) Pull(logger lager.Logger, spec groot.BaseImageSpec) (groot.BaseImage, error)
- func (fake *FakeBaseImagePuller) PullArgsForCall(i int) (lager.Logger, groot.BaseImageSpec)
- func (fake *FakeBaseImagePuller) PullCallCount() int
- func (fake *FakeBaseImagePuller) PullReturns(result1 groot.BaseImage, result2 error)
- type FakeCleaner
- func (fake *FakeCleaner) Clean(logger lager.Logger, threshold int64, keepImages []string, acquireLock bool) (bool, error)
- func (fake *FakeCleaner) CleanArgsForCall(i int) (lager.Logger, int64, []string, bool)
- func (fake *FakeCleaner) CleanCallCount() int
- func (fake *FakeCleaner) CleanReturns(result1 bool, result2 error)
- func (fake *FakeCleaner) Invocations() map[string][][]interface{}
- type FakeDependencyManager
- func (fake *FakeDependencyManager) Deregister(id string) error
- func (fake *FakeDependencyManager) DeregisterArgsForCall(i int) string
- func (fake *FakeDependencyManager) DeregisterCallCount() int
- func (fake *FakeDependencyManager) DeregisterReturns(result1 error)
- func (fake *FakeDependencyManager) Invocations() map[string][][]interface{}
- func (fake *FakeDependencyManager) Register(id string, chainIDs []string) error
- func (fake *FakeDependencyManager) RegisterArgsForCall(i int) (string, []string)
- func (fake *FakeDependencyManager) RegisterCallCount() int
- func (fake *FakeDependencyManager) RegisterReturns(result1 error)
- type FakeGarbageCollector
- func (fake *FakeGarbageCollector) Collect(logger lager.Logger, keepBaseImages []string) error
- func (fake *FakeGarbageCollector) CollectArgsForCall(i int) (lager.Logger, []string)
- func (fake *FakeGarbageCollector) CollectCallCount() int
- func (fake *FakeGarbageCollector) CollectReturns(result1 error)
- func (fake *FakeGarbageCollector) Invocations() map[string][][]interface{}
- type FakeImageCloner
- func (fake *FakeImageCloner) Create(logger lager.Logger, spec groot.ImageSpec) (groot.Image, error)
- func (fake *FakeImageCloner) CreateArgsForCall(i int) (lager.Logger, groot.ImageSpec)
- func (fake *FakeImageCloner) CreateCallCount() int
- func (fake *FakeImageCloner) CreateReturns(result1 groot.Image, result2 error)
- func (fake *FakeImageCloner) Destroy(logger lager.Logger, id string) error
- func (fake *FakeImageCloner) DestroyArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeImageCloner) DestroyCallCount() int
- func (fake *FakeImageCloner) DestroyReturns(result1 error)
- func (fake *FakeImageCloner) Exists(id string) (bool, error)
- func (fake *FakeImageCloner) ExistsArgsForCall(i int) string
- func (fake *FakeImageCloner) ExistsCallCount() int
- func (fake *FakeImageCloner) ExistsReturns(result1 bool, result2 error)
- func (fake *FakeImageCloner) Invocations() map[string][][]interface{}
- func (fake *FakeImageCloner) Stats(logger lager.Logger, id string) (groot.VolumeStats, error)
- func (fake *FakeImageCloner) StatsArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeImageCloner) StatsCallCount() int
- func (fake *FakeImageCloner) StatsReturns(result1 groot.VolumeStats, 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)
- type FakeMetricsEmitter
- func (fake *FakeMetricsEmitter) Invocations() map[string][][]interface{}
- func (fake *FakeMetricsEmitter) TryEmitDuration(logger lager.Logger, name string, duration time.Duration)
- func (fake *FakeMetricsEmitter) TryEmitDurationArgsForCall(i int) (lager.Logger, string, time.Duration)
- func (fake *FakeMetricsEmitter) TryEmitDurationCallCount() int
- type FakeNamespaceChecker
- func (fake *FakeNamespaceChecker) Check(uidMappings []groot.IDMappingSpec, gidMappings []groot.IDMappingSpec) (bool, error)
- func (fake *FakeNamespaceChecker) CheckArgsForCall(i int) ([]groot.IDMappingSpec, []groot.IDMappingSpec)
- func (fake *FakeNamespaceChecker) CheckCallCount() int
- func (fake *FakeNamespaceChecker) CheckReturns(result1 bool, result2 error)
- func (fake *FakeNamespaceChecker) Invocations() map[string][][]interface{}
- type FakeRootFSConfigurer
- func (fake *FakeRootFSConfigurer) Configure(rootFSPath string, baseImage specsv1.Image) error
- func (fake *FakeRootFSConfigurer) ConfigureArgsForCall(i int) (string, specsv1.Image)
- func (fake *FakeRootFSConfigurer) ConfigureCallCount() int
- func (fake *FakeRootFSConfigurer) ConfigureReturns(result1 error)
- func (fake *FakeRootFSConfigurer) Invocations() map[string][][]interface{}
- type FakeStoreMeasurer
- func (fake *FakeStoreMeasurer) Invocations() map[string][][]interface{}
- func (fake *FakeStoreMeasurer) MeasureStore(logger lager.Logger) (int64, error)
- func (fake *FakeStoreMeasurer) MeasureStoreArgsForCall(i int) lager.Logger
- func (fake *FakeStoreMeasurer) MeasureStoreCallCount() int
- func (fake *FakeStoreMeasurer) MeasureStoreReturns(result1 int64, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBaseImagePuller ¶ added in v0.4.0
type FakeBaseImagePuller struct { PullStub func(logger lager.Logger, spec groot.BaseImageSpec) (groot.BaseImage, error) // contains filtered or unexported fields }
func (*FakeBaseImagePuller) Invocations ¶ added in v0.4.0
func (fake *FakeBaseImagePuller) Invocations() map[string][][]interface{}
func (*FakeBaseImagePuller) Pull ¶ added in v0.4.0
func (fake *FakeBaseImagePuller) Pull(logger lager.Logger, spec groot.BaseImageSpec) (groot.BaseImage, error)
func (*FakeBaseImagePuller) PullArgsForCall ¶ added in v0.4.0
func (fake *FakeBaseImagePuller) PullArgsForCall(i int) (lager.Logger, groot.BaseImageSpec)
func (*FakeBaseImagePuller) PullCallCount ¶ added in v0.4.0
func (fake *FakeBaseImagePuller) PullCallCount() int
func (*FakeBaseImagePuller) PullReturns ¶ added in v0.4.0
func (fake *FakeBaseImagePuller) PullReturns(result1 groot.BaseImage, result2 error)
type FakeCleaner ¶ added in v0.7.0
type FakeCleaner struct { CleanStub func(logger lager.Logger, threshold int64, keepImages []string, acquireLock bool) (bool, error) // contains filtered or unexported fields }
func (*FakeCleaner) CleanArgsForCall ¶ added in v0.7.0
func (*FakeCleaner) CleanCallCount ¶ added in v0.7.0
func (fake *FakeCleaner) CleanCallCount() int
func (*FakeCleaner) CleanReturns ¶ added in v0.7.0
func (fake *FakeCleaner) CleanReturns(result1 bool, result2 error)
func (*FakeCleaner) Invocations ¶ added in v0.7.0
func (fake *FakeCleaner) Invocations() map[string][][]interface{}
type FakeDependencyManager ¶ added in v0.2.0
type FakeDependencyManager struct { RegisterStub func(id string, chainIDs []string) error DeregisterStub func(id string) error // contains filtered or unexported fields }
func (*FakeDependencyManager) Deregister ¶ added in v0.2.0
func (fake *FakeDependencyManager) Deregister(id string) error
func (*FakeDependencyManager) DeregisterArgsForCall ¶ added in v0.2.0
func (fake *FakeDependencyManager) DeregisterArgsForCall(i int) string
func (*FakeDependencyManager) DeregisterCallCount ¶ added in v0.2.0
func (fake *FakeDependencyManager) DeregisterCallCount() int
func (*FakeDependencyManager) DeregisterReturns ¶ added in v0.2.0
func (fake *FakeDependencyManager) DeregisterReturns(result1 error)
func (*FakeDependencyManager) Invocations ¶ added in v0.2.0
func (fake *FakeDependencyManager) Invocations() map[string][][]interface{}
func (*FakeDependencyManager) Register ¶ added in v0.2.0
func (fake *FakeDependencyManager) Register(id string, chainIDs []string) error
func (*FakeDependencyManager) RegisterArgsForCall ¶ added in v0.2.0
func (fake *FakeDependencyManager) RegisterArgsForCall(i int) (string, []string)
func (*FakeDependencyManager) RegisterCallCount ¶ added in v0.2.0
func (fake *FakeDependencyManager) RegisterCallCount() int
func (*FakeDependencyManager) RegisterReturns ¶ added in v0.2.0
func (fake *FakeDependencyManager) RegisterReturns(result1 error)
type FakeGarbageCollector ¶ added in v0.2.0
type FakeGarbageCollector struct { CollectStub func(logger lager.Logger, keepBaseImages []string) error // contains filtered or unexported fields }
func (*FakeGarbageCollector) Collect ¶ added in v0.2.0
func (fake *FakeGarbageCollector) Collect(logger lager.Logger, keepBaseImages []string) error
func (*FakeGarbageCollector) CollectArgsForCall ¶ added in v0.2.0
func (fake *FakeGarbageCollector) CollectArgsForCall(i int) (lager.Logger, []string)
func (*FakeGarbageCollector) CollectCallCount ¶ added in v0.2.0
func (fake *FakeGarbageCollector) CollectCallCount() int
func (*FakeGarbageCollector) CollectReturns ¶ added in v0.2.0
func (fake *FakeGarbageCollector) CollectReturns(result1 error)
func (*FakeGarbageCollector) Invocations ¶ added in v0.2.0
func (fake *FakeGarbageCollector) Invocations() map[string][][]interface{}
type FakeImageCloner ¶ added in v0.4.0
type FakeImageCloner struct { ExistsStub func(id string) (bool, error) CreateStub func(logger lager.Logger, spec groot.ImageSpec) (groot.Image, error) DestroyStub func(logger lager.Logger, id string) error StatsStub func(logger lager.Logger, id string) (groot.VolumeStats, error) // contains filtered or unexported fields }
func (*FakeImageCloner) CreateArgsForCall ¶ added in v0.4.0
func (*FakeImageCloner) CreateCallCount ¶ added in v0.4.0
func (fake *FakeImageCloner) CreateCallCount() int
func (*FakeImageCloner) CreateReturns ¶ added in v0.4.0
func (fake *FakeImageCloner) CreateReturns(result1 groot.Image, result2 error)
func (*FakeImageCloner) Destroy ¶ added in v0.4.0
func (fake *FakeImageCloner) Destroy(logger lager.Logger, id string) error
func (*FakeImageCloner) DestroyArgsForCall ¶ added in v0.4.0
func (fake *FakeImageCloner) DestroyArgsForCall(i int) (lager.Logger, string)
func (*FakeImageCloner) DestroyCallCount ¶ added in v0.4.0
func (fake *FakeImageCloner) DestroyCallCount() int
func (*FakeImageCloner) DestroyReturns ¶ added in v0.4.0
func (fake *FakeImageCloner) DestroyReturns(result1 error)
func (*FakeImageCloner) Exists ¶ added in v0.4.0
func (fake *FakeImageCloner) Exists(id string) (bool, error)
func (*FakeImageCloner) ExistsArgsForCall ¶ added in v0.4.0
func (fake *FakeImageCloner) ExistsArgsForCall(i int) string
func (*FakeImageCloner) ExistsCallCount ¶ added in v0.4.0
func (fake *FakeImageCloner) ExistsCallCount() int
func (*FakeImageCloner) ExistsReturns ¶ added in v0.4.0
func (fake *FakeImageCloner) ExistsReturns(result1 bool, result2 error)
func (*FakeImageCloner) Invocations ¶ added in v0.4.0
func (fake *FakeImageCloner) Invocations() map[string][][]interface{}
func (*FakeImageCloner) Stats ¶ added in v0.5.0
func (fake *FakeImageCloner) Stats(logger lager.Logger, id string) (groot.VolumeStats, error)
func (*FakeImageCloner) StatsArgsForCall ¶ added in v0.5.0
func (fake *FakeImageCloner) StatsArgsForCall(i int) (lager.Logger, string)
func (*FakeImageCloner) StatsCallCount ¶ added in v0.5.0
func (fake *FakeImageCloner) StatsCallCount() int
func (*FakeImageCloner) StatsReturns ¶ added in v0.5.0
func (fake *FakeImageCloner) StatsReturns(result1 groot.VolumeStats, 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)
type FakeMetricsEmitter ¶ added in v0.5.0
type FakeMetricsEmitter struct { TryEmitDurationStub func(logger lager.Logger, name string, duration time.Duration) // contains filtered or unexported fields }
func (*FakeMetricsEmitter) Invocations ¶ added in v0.5.0
func (fake *FakeMetricsEmitter) Invocations() map[string][][]interface{}
func (*FakeMetricsEmitter) TryEmitDuration ¶ added in v0.5.0
func (*FakeMetricsEmitter) TryEmitDurationArgsForCall ¶ added in v0.5.0
func (*FakeMetricsEmitter) TryEmitDurationCallCount ¶ added in v0.5.0
func (fake *FakeMetricsEmitter) TryEmitDurationCallCount() int
type FakeNamespaceChecker ¶ added in v0.7.0
type FakeNamespaceChecker struct { CheckStub func(uidMappings, gidMappings []groot.IDMappingSpec) (bool, error) // contains filtered or unexported fields }
func (*FakeNamespaceChecker) Check ¶ added in v0.7.0
func (fake *FakeNamespaceChecker) Check(uidMappings []groot.IDMappingSpec, gidMappings []groot.IDMappingSpec) (bool, error)
func (*FakeNamespaceChecker) CheckArgsForCall ¶ added in v0.7.0
func (fake *FakeNamespaceChecker) CheckArgsForCall(i int) ([]groot.IDMappingSpec, []groot.IDMappingSpec)
func (*FakeNamespaceChecker) CheckCallCount ¶ added in v0.7.0
func (fake *FakeNamespaceChecker) CheckCallCount() int
func (*FakeNamespaceChecker) CheckReturns ¶ added in v0.7.0
func (fake *FakeNamespaceChecker) CheckReturns(result1 bool, result2 error)
func (*FakeNamespaceChecker) Invocations ¶ added in v0.7.0
func (fake *FakeNamespaceChecker) Invocations() map[string][][]interface{}
type FakeRootFSConfigurer ¶ added in v0.4.0
type FakeRootFSConfigurer struct { ConfigureStub func(rootFSPath string, baseImage specsv1.Image) error // contains filtered or unexported fields }
func (*FakeRootFSConfigurer) Configure ¶ added in v0.4.0
func (fake *FakeRootFSConfigurer) Configure(rootFSPath string, baseImage specsv1.Image) error
func (*FakeRootFSConfigurer) ConfigureArgsForCall ¶ added in v0.4.0
func (fake *FakeRootFSConfigurer) ConfigureArgsForCall(i int) (string, specsv1.Image)
func (*FakeRootFSConfigurer) ConfigureCallCount ¶ added in v0.4.0
func (fake *FakeRootFSConfigurer) ConfigureCallCount() int
func (*FakeRootFSConfigurer) ConfigureReturns ¶ added in v0.4.0
func (fake *FakeRootFSConfigurer) ConfigureReturns(result1 error)
func (*FakeRootFSConfigurer) Invocations ¶ added in v0.4.0
func (fake *FakeRootFSConfigurer) Invocations() map[string][][]interface{}
type FakeStoreMeasurer ¶ added in v0.2.0
type FakeStoreMeasurer struct { MeasureStoreStub func(logger lager.Logger) (int64, error) // contains filtered or unexported fields }
func (*FakeStoreMeasurer) Invocations ¶ added in v0.2.0
func (fake *FakeStoreMeasurer) Invocations() map[string][][]interface{}
func (*FakeStoreMeasurer) MeasureStore ¶ added in v0.2.0
func (fake *FakeStoreMeasurer) MeasureStore(logger lager.Logger) (int64, error)
func (*FakeStoreMeasurer) MeasureStoreArgsForCall ¶ added in v0.2.0
func (fake *FakeStoreMeasurer) MeasureStoreArgsForCall(i int) lager.Logger
func (*FakeStoreMeasurer) MeasureStoreCallCount ¶ added in v0.2.0
func (fake *FakeStoreMeasurer) MeasureStoreCallCount() int
func (*FakeStoreMeasurer) MeasureStoreReturns ¶ added in v0.2.0
func (fake *FakeStoreMeasurer) MeasureStoreReturns(result1 int64, result2 error)
Click to show internal directories.
Click to hide internal directories.