fake

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: Apache-2.0 Imports: 3 Imported by: 2

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 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)

type FakeImageIndex

type FakeImageIndex struct {
	DigestStub func() (v1.Hash, error)

	ImageStub func(v1.Hash) (v1.Image, error)

	ImageIndexStub func(v1.Hash) (v1.ImageIndex, error)

	IndexManifestStub func() (*v1.IndexManifest, error)

	MediaTypeStub func() (types.MediaType, error)

	RawManifestStub func() ([]byte, error)

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

func (*FakeImageIndex) Digest

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

func (*FakeImageIndex) DigestCallCount

func (fake *FakeImageIndex) DigestCallCount() int

func (*FakeImageIndex) DigestCalls

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

func (*FakeImageIndex) DigestReturns

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

func (*FakeImageIndex) DigestReturnsOnCall

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

func (*FakeImageIndex) Image

func (fake *FakeImageIndex) Image(arg1 v1.Hash) (v1.Image, error)

func (*FakeImageIndex) ImageArgsForCall

func (fake *FakeImageIndex) ImageArgsForCall(i int) v1.Hash

func (*FakeImageIndex) ImageCallCount

func (fake *FakeImageIndex) ImageCallCount() int

func (*FakeImageIndex) ImageCalls

func (fake *FakeImageIndex) ImageCalls(stub func(v1.Hash) (v1.Image, error))

func (*FakeImageIndex) ImageIndex

func (fake *FakeImageIndex) ImageIndex(arg1 v1.Hash) (v1.ImageIndex, error)

func (*FakeImageIndex) ImageIndexArgsForCall

func (fake *FakeImageIndex) ImageIndexArgsForCall(i int) v1.Hash

func (*FakeImageIndex) ImageIndexCallCount

func (fake *FakeImageIndex) ImageIndexCallCount() int

func (*FakeImageIndex) ImageIndexCalls

func (fake *FakeImageIndex) ImageIndexCalls(stub func(v1.Hash) (v1.ImageIndex, error))

func (*FakeImageIndex) ImageIndexReturns

func (fake *FakeImageIndex) ImageIndexReturns(result1 v1.ImageIndex, result2 error)

func (*FakeImageIndex) ImageIndexReturnsOnCall

func (fake *FakeImageIndex) ImageIndexReturnsOnCall(i int, result1 v1.ImageIndex, result2 error)

func (*FakeImageIndex) ImageReturns

func (fake *FakeImageIndex) ImageReturns(result1 v1.Image, result2 error)

func (*FakeImageIndex) ImageReturnsOnCall

func (fake *FakeImageIndex) ImageReturnsOnCall(i int, result1 v1.Image, result2 error)

func (*FakeImageIndex) IndexManifest

func (fake *FakeImageIndex) IndexManifest() (*v1.IndexManifest, error)

func (*FakeImageIndex) IndexManifestCallCount

func (fake *FakeImageIndex) IndexManifestCallCount() int

func (*FakeImageIndex) IndexManifestCalls

func (fake *FakeImageIndex) IndexManifestCalls(stub func() (*v1.IndexManifest, error))

func (*FakeImageIndex) IndexManifestReturns

func (fake *FakeImageIndex) IndexManifestReturns(result1 *v1.IndexManifest, result2 error)

func (*FakeImageIndex) IndexManifestReturnsOnCall

func (fake *FakeImageIndex) IndexManifestReturnsOnCall(i int, result1 *v1.IndexManifest, result2 error)

func (*FakeImageIndex) Invocations

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

func (*FakeImageIndex) MediaType

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

func (*FakeImageIndex) MediaTypeCallCount

func (fake *FakeImageIndex) MediaTypeCallCount() int

func (*FakeImageIndex) MediaTypeCalls

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

func (*FakeImageIndex) MediaTypeReturns

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

func (*FakeImageIndex) MediaTypeReturnsOnCall

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

func (*FakeImageIndex) RawManifest

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

func (*FakeImageIndex) RawManifestCallCount

func (fake *FakeImageIndex) RawManifestCallCount() int

func (*FakeImageIndex) RawManifestCalls

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

func (*FakeImageIndex) RawManifestReturns

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

func (*FakeImageIndex) RawManifestReturnsOnCall

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

func (*FakeImageIndex) Size

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

func (*FakeImageIndex) SizeCallCount

func (fake *FakeImageIndex) SizeCallCount() int

func (*FakeImageIndex) SizeCalls

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

func (*FakeImageIndex) SizeReturns

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

func (*FakeImageIndex) SizeReturnsOnCall

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

Jump to

Keyboard shortcuts

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