Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeImage
- func (fake *FakeImage) ConfigFile() (*v1.ConfigFile, error)
- func (fake *FakeImage) ConfigFileCallCount() int
- func (fake *FakeImage) ConfigFileCalls(stub func() (*v1.ConfigFile, error))
- func (fake *FakeImage) ConfigFileReturns(result1 *v1.ConfigFile, result2 error)
- func (fake *FakeImage) ConfigFileReturnsOnCall(i int, result1 *v1.ConfigFile, result2 error)
- func (fake *FakeImage) ConfigName() (v1.Hash, error)
- func (fake *FakeImage) ConfigNameCallCount() int
- func (fake *FakeImage) ConfigNameCalls(stub func() (v1.Hash, error))
- func (fake *FakeImage) ConfigNameReturns(result1 v1.Hash, result2 error)
- func (fake *FakeImage) ConfigNameReturnsOnCall(i int, result1 v1.Hash, result2 error)
- func (fake *FakeImage) Digest() (v1.Hash, error)
- func (fake *FakeImage) DigestCallCount() int
- func (fake *FakeImage) DigestCalls(stub func() (v1.Hash, error))
- func (fake *FakeImage) DigestReturns(result1 v1.Hash, result2 error)
- func (fake *FakeImage) DigestReturnsOnCall(i int, result1 v1.Hash, result2 error)
- func (fake *FakeImage) Invocations() map[string][][]interface{}
- func (fake *FakeImage) LayerByDiffID(arg1 v1.Hash) (v1.Layer, error)
- func (fake *FakeImage) LayerByDiffIDArgsForCall(i int) v1.Hash
- func (fake *FakeImage) LayerByDiffIDCallCount() int
- func (fake *FakeImage) LayerByDiffIDCalls(stub func(v1.Hash) (v1.Layer, error))
- func (fake *FakeImage) LayerByDiffIDReturns(result1 v1.Layer, result2 error)
- func (fake *FakeImage) LayerByDiffIDReturnsOnCall(i int, result1 v1.Layer, result2 error)
- func (fake *FakeImage) LayerByDigest(arg1 v1.Hash) (v1.Layer, error)
- func (fake *FakeImage) LayerByDigestArgsForCall(i int) v1.Hash
- func (fake *FakeImage) LayerByDigestCallCount() int
- func (fake *FakeImage) LayerByDigestCalls(stub func(v1.Hash) (v1.Layer, error))
- func (fake *FakeImage) LayerByDigestReturns(result1 v1.Layer, result2 error)
- func (fake *FakeImage) LayerByDigestReturnsOnCall(i int, result1 v1.Layer, result2 error)
- func (fake *FakeImage) Layers() ([]v1.Layer, error)
- func (fake *FakeImage) LayersCallCount() int
- func (fake *FakeImage) LayersCalls(stub func() ([]v1.Layer, error))
- func (fake *FakeImage) LayersReturns(result1 []v1.Layer, result2 error)
- func (fake *FakeImage) LayersReturnsOnCall(i int, result1 []v1.Layer, result2 error)
- func (fake *FakeImage) Manifest() (*v1.Manifest, error)
- func (fake *FakeImage) ManifestCallCount() int
- func (fake *FakeImage) ManifestCalls(stub func() (*v1.Manifest, error))
- func (fake *FakeImage) ManifestReturns(result1 *v1.Manifest, result2 error)
- func (fake *FakeImage) ManifestReturnsOnCall(i int, result1 *v1.Manifest, result2 error)
- func (fake *FakeImage) MediaType() (types.MediaType, error)
- func (fake *FakeImage) MediaTypeCallCount() int
- func (fake *FakeImage) MediaTypeCalls(stub func() (types.MediaType, error))
- func (fake *FakeImage) MediaTypeReturns(result1 types.MediaType, result2 error)
- func (fake *FakeImage) MediaTypeReturnsOnCall(i int, result1 types.MediaType, result2 error)
- func (fake *FakeImage) RawConfigFile() ([]byte, error)
- func (fake *FakeImage) RawConfigFileCallCount() int
- func (fake *FakeImage) RawConfigFileCalls(stub func() ([]byte, error))
- func (fake *FakeImage) RawConfigFileReturns(result1 []byte, result2 error)
- func (fake *FakeImage) RawConfigFileReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeImage) RawManifest() ([]byte, error)
- func (fake *FakeImage) RawManifestCallCount() int
- func (fake *FakeImage) RawManifestCalls(stub func() ([]byte, error))
- func (fake *FakeImage) RawManifestReturns(result1 []byte, result2 error)
- func (fake *FakeImage) RawManifestReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeImage) Size() (int64, error)
- func (fake *FakeImage) SizeCallCount() int
- func (fake *FakeImage) SizeCalls(stub func() (int64, error))
- func (fake *FakeImage) SizeReturns(result1 int64, result2 error)
- func (fake *FakeImage) SizeReturnsOnCall(i int, result1 int64, result2 error)
- type FakeImageIndex
- func (fake *FakeImageIndex) Digest() (v1.Hash, error)
- func (fake *FakeImageIndex) DigestCallCount() int
- func (fake *FakeImageIndex) DigestCalls(stub func() (v1.Hash, error))
- func (fake *FakeImageIndex) DigestReturns(result1 v1.Hash, result2 error)
- func (fake *FakeImageIndex) DigestReturnsOnCall(i int, result1 v1.Hash, result2 error)
- func (fake *FakeImageIndex) Image(arg1 v1.Hash) (v1.Image, error)
- func (fake *FakeImageIndex) ImageArgsForCall(i int) v1.Hash
- func (fake *FakeImageIndex) ImageCallCount() int
- func (fake *FakeImageIndex) ImageCalls(stub func(v1.Hash) (v1.Image, error))
- func (fake *FakeImageIndex) ImageIndex(arg1 v1.Hash) (v1.ImageIndex, error)
- func (fake *FakeImageIndex) ImageIndexArgsForCall(i int) v1.Hash
- func (fake *FakeImageIndex) ImageIndexCallCount() int
- func (fake *FakeImageIndex) ImageIndexCalls(stub func(v1.Hash) (v1.ImageIndex, error))
- func (fake *FakeImageIndex) ImageIndexReturns(result1 v1.ImageIndex, result2 error)
- func (fake *FakeImageIndex) ImageIndexReturnsOnCall(i int, result1 v1.ImageIndex, result2 error)
- func (fake *FakeImageIndex) ImageReturns(result1 v1.Image, result2 error)
- func (fake *FakeImageIndex) ImageReturnsOnCall(i int, result1 v1.Image, result2 error)
- func (fake *FakeImageIndex) IndexManifest() (*v1.IndexManifest, error)
- func (fake *FakeImageIndex) IndexManifestCallCount() int
- func (fake *FakeImageIndex) IndexManifestCalls(stub func() (*v1.IndexManifest, error))
- func (fake *FakeImageIndex) IndexManifestReturns(result1 *v1.IndexManifest, result2 error)
- func (fake *FakeImageIndex) IndexManifestReturnsOnCall(i int, result1 *v1.IndexManifest, result2 error)
- func (fake *FakeImageIndex) Invocations() map[string][][]interface{}
- func (fake *FakeImageIndex) MediaType() (types.MediaType, error)
- func (fake *FakeImageIndex) MediaTypeCallCount() int
- func (fake *FakeImageIndex) MediaTypeCalls(stub func() (types.MediaType, error))
- func (fake *FakeImageIndex) MediaTypeReturns(result1 types.MediaType, result2 error)
- func (fake *FakeImageIndex) MediaTypeReturnsOnCall(i int, result1 types.MediaType, result2 error)
- func (fake *FakeImageIndex) RawManifest() ([]byte, error)
- func (fake *FakeImageIndex) RawManifestCallCount() int
- func (fake *FakeImageIndex) RawManifestCalls(stub func() ([]byte, error))
- func (fake *FakeImageIndex) RawManifestReturns(result1 []byte, result2 error)
- func (fake *FakeImageIndex) RawManifestReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeImageIndex) Size() (int64, error)
- func (fake *FakeImageIndex) SizeCallCount() int
- func (fake *FakeImageIndex) SizeCalls(stub func() (int64, error))
- func (fake *FakeImageIndex) SizeReturns(result1 int64, result2 error)
- func (fake *FakeImageIndex) SizeReturnsOnCall(i int, result1 int64, result2 error)
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 (*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) ConfigNameCallCount ¶
func (*FakeImage) ConfigNameCalls ¶
func (*FakeImage) ConfigNameReturns ¶
func (*FakeImage) ConfigNameReturnsOnCall ¶
func (*FakeImage) DigestCallCount ¶
func (*FakeImage) DigestReturns ¶
func (*FakeImage) DigestReturnsOnCall ¶
func (*FakeImage) Invocations ¶
func (*FakeImage) LayerByDiffID ¶
func (*FakeImage) LayerByDiffIDArgsForCall ¶
func (*FakeImage) LayerByDiffIDCallCount ¶
func (*FakeImage) LayerByDiffIDCalls ¶
func (*FakeImage) LayerByDiffIDReturns ¶
func (*FakeImage) LayerByDiffIDReturnsOnCall ¶
func (*FakeImage) LayerByDigest ¶
func (*FakeImage) LayerByDigestArgsForCall ¶
func (*FakeImage) LayerByDigestCallCount ¶
func (*FakeImage) LayerByDigestCalls ¶
func (*FakeImage) LayerByDigestReturns ¶
func (*FakeImage) LayerByDigestReturnsOnCall ¶
func (*FakeImage) LayersCallCount ¶
func (*FakeImage) LayersReturns ¶
func (*FakeImage) LayersReturnsOnCall ¶
func (*FakeImage) ManifestCallCount ¶
func (*FakeImage) ManifestCalls ¶
func (*FakeImage) ManifestReturns ¶
func (*FakeImage) ManifestReturnsOnCall ¶
func (*FakeImage) MediaTypeCallCount ¶
func (*FakeImage) MediaTypeCalls ¶
func (*FakeImage) MediaTypeReturns ¶
func (*FakeImage) MediaTypeReturnsOnCall ¶
func (*FakeImage) RawConfigFile ¶
func (*FakeImage) RawConfigFileCallCount ¶
func (*FakeImage) RawConfigFileCalls ¶
func (*FakeImage) RawConfigFileReturns ¶
func (*FakeImage) RawConfigFileReturnsOnCall ¶
func (*FakeImage) RawManifest ¶
func (*FakeImage) RawManifestCallCount ¶
func (*FakeImage) RawManifestCalls ¶
func (*FakeImage) RawManifestReturns ¶
func (*FakeImage) RawManifestReturnsOnCall ¶
func (*FakeImage) SizeCallCount ¶
func (*FakeImage) SizeReturns ¶
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) 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) ImageArgsForCall ¶
func (fake *FakeImageIndex) ImageArgsForCall(i int) v1.Hash
func (*FakeImageIndex) ImageCallCount ¶
func (fake *FakeImageIndex) ImageCallCount() int
func (*FakeImageIndex) ImageCalls ¶
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) 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)
Click to show internal directories.
Click to hide internal directories.