Version: v0.1.0 Latest Latest

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

Go to latest
Published: Aug 24, 2021 License: BSD-2-Clause Imports: 3 Imported by: 0



Code generated by counterfeiter. DO NOT EDIT.



This section is empty.


This section is empty.


This section is empty.


type FakeImage

type FakeImage struct {
	ConfigFileStub func() (*v1.ConfigFile, error)

	ConfigNameStub func() (v1.Hash, error)

	DigestStub func() (v1.Hash, error)

	LayerByDiffIDStub func(v1.Hash) (v1.Layer, error)

	LayerByDigestStub func(v1.Hash) (v1.Layer, error)

	LayersStub func() ([]v1.Layer, error)

	ManifestStub func() (*v1.Manifest, error)

	MediaTypeStub func() (types.MediaType, error)

	RawConfigFileStub func() ([]byte, error)

	RawManifestStub func() ([]byte, error)

	SizeStub func() (int64, error)
	// contains filtered or unexported fields

func (*FakeImage) ConfigFile

func (fake *FakeImage) ConfigFile() (*v1.ConfigFile, error)

func (*FakeImage) ConfigFileCallCount

func (fake *FakeImage) ConfigFileCallCount() int

func (*FakeImage) ConfigFileCalls

func (fake *FakeImage) ConfigFileCalls(stub func() (*v1.ConfigFile, error))

func (*FakeImage) ConfigFileReturns

func (fake *FakeImage) ConfigFileReturns(result1 *v1.ConfigFile, result2 error)

func (*FakeImage) ConfigFileReturnsOnCall

func (fake *FakeImage) ConfigFileReturnsOnCall(i int, result1 *v1.ConfigFile, result2 error)

func (*FakeImage) ConfigName

func (fake *FakeImage) ConfigName() (v1.Hash, error)

func (*FakeImage) ConfigNameCallCount

func (fake *FakeImage) ConfigNameCallCount() int

func (*FakeImage) ConfigNameCalls

func (fake *FakeImage) ConfigNameCalls(stub func() (v1.Hash, error))

func (*FakeImage) ConfigNameReturns

func (fake *FakeImage) ConfigNameReturns(result1 v1.Hash, result2 error)

func (*FakeImage) ConfigNameReturnsOnCall

func (fake *FakeImage) ConfigNameReturnsOnCall(i int, result1 v1.Hash, result2 error)

func (*FakeImage) Digest

func (fake *FakeImage) Digest() (v1.Hash, error)

func (*FakeImage) DigestCallCount

func (fake *FakeImage) DigestCallCount() int

func (*FakeImage) DigestCalls

func (fake *FakeImage) DigestCalls(stub func() (v1.Hash, error))

func (*FakeImage) DigestReturns

func (fake *FakeImage) DigestReturns(result1 v1.Hash, result2 error)

func (*FakeImage) DigestReturnsOnCall

func (fake *FakeImage) DigestReturnsOnCall(i int, result1 v1.Hash, result2 error)

func (*FakeImage) Invocations

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

func (*FakeImage) LayerByDiffID

func (fake *FakeImage) LayerByDiffID(arg1 v1.Hash) (v1.Layer, error)

func (*FakeImage) LayerByDiffIDArgsForCall

func (fake *FakeImage) LayerByDiffIDArgsForCall(i int) v1.Hash

func (*FakeImage) LayerByDiffIDCallCount

func (fake *FakeImage) LayerByDiffIDCallCount() int

func (*FakeImage) LayerByDiffIDCalls

func (fake *FakeImage) LayerByDiffIDCalls(stub func(v1.Hash) (v1.Layer, error))

func (*FakeImage) LayerByDiffIDReturns

func (fake *FakeImage) LayerByDiffIDReturns(result1 v1.Layer, result2 error)

func (*FakeImage) LayerByDiffIDReturnsOnCall

func (fake *FakeImage) LayerByDiffIDReturnsOnCall(i int, result1 v1.Layer, result2 error)

func (*FakeImage) LayerByDigest

func (fake *FakeImage) LayerByDigest(arg1 v1.Hash) (v1.Layer, error)

func (*FakeImage) LayerByDigestArgsForCall

func (fake *FakeImage) LayerByDigestArgsForCall(i int) v1.Hash

func (*FakeImage) LayerByDigestCallCount

func (fake *FakeImage) LayerByDigestCallCount() int

func (*FakeImage) LayerByDigestCalls

func (fake *FakeImage) LayerByDigestCalls(stub func(v1.Hash) (v1.Layer, error))

func (*FakeImage) LayerByDigestReturns

func (fake *FakeImage) LayerByDigestReturns(result1 v1.Layer, result2 error)

func (*FakeImage) LayerByDigestReturnsOnCall

func (fake *FakeImage) LayerByDigestReturnsOnCall(i int, result1 v1.Layer, result2 error)

func (*FakeImage) Layers

func (fake *FakeImage) Layers() ([]v1.Layer, error)

func (*FakeImage) LayersCallCount

func (fake *FakeImage) LayersCallCount() int

func (*FakeImage) LayersCalls

func (fake *FakeImage) LayersCalls(stub func() ([]v1.Layer, error))

func (*FakeImage) LayersReturns

func (fake *FakeImage) LayersReturns(result1 []v1.Layer, result2 error)

func (*FakeImage) LayersReturnsOnCall

func (fake *FakeImage) LayersReturnsOnCall(i int, result1 []v1.Layer, result2 error)

func (*FakeImage) Manifest

func (fake *FakeImage) Manifest() (*v1.Manifest, error)

func (*FakeImage) ManifestCallCount

func (fake *FakeImage) ManifestCallCount() int

func (*FakeImage) ManifestCalls

func (fake *FakeImage) ManifestCalls(stub func() (*v1.Manifest, error))

func (*FakeImage) ManifestReturns

func (fake *FakeImage) ManifestReturns(result1 *v1.Manifest, result2 error)

func (*FakeImage) ManifestReturnsOnCall

func (fake *FakeImage) ManifestReturnsOnCall(i int, result1 *v1.Manifest, result2 error)

func (*FakeImage) MediaType

func (fake *FakeImage) MediaType() (types.MediaType, error)

func (*FakeImage) MediaTypeCallCount

func (fake *FakeImage) MediaTypeCallCount() int

func (*FakeImage) MediaTypeCalls

func (fake *FakeImage) MediaTypeCalls(stub func() (types.MediaType, error))

func (*FakeImage) MediaTypeReturns

func (fake *FakeImage) MediaTypeReturns(result1 types.MediaType, result2 error)

func (*FakeImage) MediaTypeReturnsOnCall

func (fake *FakeImage) MediaTypeReturnsOnCall(i int, result1 types.MediaType, result2 error)

func (*FakeImage) RawConfigFile

func (fake *FakeImage) RawConfigFile() ([]byte, error)

func (*FakeImage) RawConfigFileCallCount

func (fake *FakeImage) RawConfigFileCallCount() int

func (*FakeImage) RawConfigFileCalls

func (fake *FakeImage) RawConfigFileCalls(stub func() ([]byte, error))

func (*FakeImage) RawConfigFileReturns

func (fake *FakeImage) RawConfigFileReturns(result1 []byte, result2 error)

func (*FakeImage) RawConfigFileReturnsOnCall

func (fake *FakeImage) RawConfigFileReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeImage) RawManifest

func (fake *FakeImage) RawManifest() ([]byte, error)

func (*FakeImage) RawManifestCallCount

func (fake *FakeImage) RawManifestCallCount() int

func (*FakeImage) RawManifestCalls

func (fake *FakeImage) RawManifestCalls(stub func() ([]byte, error))

func (*FakeImage) RawManifestReturns

func (fake *FakeImage) RawManifestReturns(result1 []byte, result2 error)

func (*FakeImage) RawManifestReturnsOnCall

func (fake *FakeImage) RawManifestReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeImage) Size

func (fake *FakeImage) Size() (int64, error)

func (*FakeImage) SizeCallCount

func (fake *FakeImage) SizeCallCount() int

func (*FakeImage) SizeCalls

func (fake *FakeImage) SizeCalls(stub func() (int64, error))

func (*FakeImage) SizeReturns

func (fake *FakeImage) SizeReturns(result1 int64, result2 error)

func (*FakeImage) SizeReturnsOnCall

func (fake *FakeImage) SizeReturnsOnCall(i int, result1 int64, result2 error)

Source Files

Jump to

Keyboard shortcuts

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