grootfakes

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeDriver

type FakeDriver struct {
	BundleStub func(lager.Logger, string, []string, int64) (specs.Spec, error)

	DeleteStub func(lager.Logger, string) error

	StatsStub func(lager.Logger, string) (groot.VolumeStats, error)

	UnpackStub func(lager.Logger, string, []string, io.Reader) (int64, error)

	WriteMetadataStub func(lager.Logger, string, groot.ImageMetadata) error
	// contains filtered or unexported fields
}

func (*FakeDriver) Bundle

func (fake *FakeDriver) Bundle(arg1 lager.Logger, arg2 string, arg3 []string, arg4 int64) (specs.Spec, error)

func (*FakeDriver) BundleArgsForCall

func (fake *FakeDriver) BundleArgsForCall(i int) (lager.Logger, string, []string, int64)

func (*FakeDriver) BundleCallCount

func (fake *FakeDriver) BundleCallCount() int

func (*FakeDriver) BundleCalls

func (fake *FakeDriver) BundleCalls(stub func(lager.Logger, string, []string, int64) (specs.Spec, error))

func (*FakeDriver) BundleReturns

func (fake *FakeDriver) BundleReturns(result1 specs.Spec, result2 error)

func (*FakeDriver) BundleReturnsOnCall

func (fake *FakeDriver) BundleReturnsOnCall(i int, result1 specs.Spec, result2 error)

func (*FakeDriver) Delete

func (fake *FakeDriver) Delete(arg1 lager.Logger, arg2 string) error

func (*FakeDriver) DeleteArgsForCall

func (fake *FakeDriver) DeleteArgsForCall(i int) (lager.Logger, string)

func (*FakeDriver) DeleteCallCount

func (fake *FakeDriver) DeleteCallCount() int

func (*FakeDriver) DeleteCalls

func (fake *FakeDriver) DeleteCalls(stub func(lager.Logger, string) error)

func (*FakeDriver) DeleteReturns

func (fake *FakeDriver) DeleteReturns(result1 error)

func (*FakeDriver) DeleteReturnsOnCall

func (fake *FakeDriver) DeleteReturnsOnCall(i int, result1 error)

func (*FakeDriver) Invocations

func (fake *FakeDriver) Invocations() map[string][][]interface{}

func (*FakeDriver) Stats

func (fake *FakeDriver) Stats(arg1 lager.Logger, arg2 string) (groot.VolumeStats, error)

func (*FakeDriver) StatsArgsForCall

func (fake *FakeDriver) StatsArgsForCall(i int) (lager.Logger, string)

func (*FakeDriver) StatsCallCount

func (fake *FakeDriver) StatsCallCount() int

func (*FakeDriver) StatsCalls

func (fake *FakeDriver) StatsCalls(stub func(lager.Logger, string) (groot.VolumeStats, error))

func (*FakeDriver) StatsReturns

func (fake *FakeDriver) StatsReturns(result1 groot.VolumeStats, result2 error)

func (*FakeDriver) StatsReturnsOnCall

func (fake *FakeDriver) StatsReturnsOnCall(i int, result1 groot.VolumeStats, result2 error)

func (*FakeDriver) Unpack

func (fake *FakeDriver) Unpack(arg1 lager.Logger, arg2 string, arg3 []string, arg4 io.Reader) (int64, error)

func (*FakeDriver) UnpackArgsForCall

func (fake *FakeDriver) UnpackArgsForCall(i int) (lager.Logger, string, []string, io.Reader)

func (*FakeDriver) UnpackCallCount

func (fake *FakeDriver) UnpackCallCount() int

func (*FakeDriver) UnpackCalls

func (fake *FakeDriver) UnpackCalls(stub func(lager.Logger, string, []string, io.Reader) (int64, error))

func (*FakeDriver) UnpackReturns

func (fake *FakeDriver) UnpackReturns(result1 int64, result2 error)

func (*FakeDriver) UnpackReturnsOnCall

func (fake *FakeDriver) UnpackReturnsOnCall(i int, result1 int64, result2 error)

func (*FakeDriver) WriteMetadata

func (fake *FakeDriver) WriteMetadata(arg1 lager.Logger, arg2 string, arg3 groot.ImageMetadata) error

func (*FakeDriver) WriteMetadataArgsForCall

func (fake *FakeDriver) WriteMetadataArgsForCall(i int) (lager.Logger, string, groot.ImageMetadata)

func (*FakeDriver) WriteMetadataCallCount

func (fake *FakeDriver) WriteMetadataCallCount() int

func (*FakeDriver) WriteMetadataCalls

func (fake *FakeDriver) WriteMetadataCalls(stub func(lager.Logger, string, groot.ImageMetadata) error)

func (*FakeDriver) WriteMetadataReturns

func (fake *FakeDriver) WriteMetadataReturns(result1 error)

func (*FakeDriver) WriteMetadataReturnsOnCall

func (fake *FakeDriver) WriteMetadataReturnsOnCall(i int, result1 error)

type FakeImagePuller

type FakeImagePuller struct {
	PullStub func(lager.Logger, imagepuller.ImageSpec) (imagepuller.Image, error)
	// contains filtered or unexported fields
}

func (*FakeImagePuller) Invocations

func (fake *FakeImagePuller) Invocations() map[string][][]interface{}

func (*FakeImagePuller) Pull

func (fake *FakeImagePuller) Pull(arg1 lager.Logger, arg2 imagepuller.ImageSpec) (imagepuller.Image, error)

func (*FakeImagePuller) PullArgsForCall

func (fake *FakeImagePuller) PullArgsForCall(i int) (lager.Logger, imagepuller.ImageSpec)

func (*FakeImagePuller) PullCallCount

func (fake *FakeImagePuller) PullCallCount() int

func (*FakeImagePuller) PullCalls

func (fake *FakeImagePuller) PullCalls(stub func(lager.Logger, imagepuller.ImageSpec) (imagepuller.Image, error))

func (*FakeImagePuller) PullReturns

func (fake *FakeImagePuller) PullReturns(result1 imagepuller.Image, result2 error)

func (*FakeImagePuller) PullReturnsOnCall

func (fake *FakeImagePuller) PullReturnsOnCall(i int, result1 imagepuller.Image, result2 error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL