Versions in this module Expand all Collapse all v0 v0.9.0 Aug 17, 2022 Changes in this version + 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) + 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 struct + DigestStub func() (v1.Hash, error) + ImageIndexStub func(v1.Hash) (v1.ImageIndex, error) + ImageStub func(v1.Hash) (v1.Image, error) + IndexManifestStub func() (*v1.IndexManifest, error) + MediaTypeStub func() (types.MediaType, error) + RawManifestStub func() ([]byte, error) + SizeStub func() (int64, error) + 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)