layerfetcherfakes

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: 8 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 FakeManifest

type FakeManifest struct {
	ConfigBlobStub func(context.Context) ([]byte, error)

	ConfigInfoStub func() types.BlobInfo

	EmbeddedDockerReferenceConflictsStub func(reference.Named) bool

	InspectStub func(context.Context) (*types.ImageInspectInfo, error)

	LayerInfosStub func() []types.BlobInfo

	LayerInfosForCopyStub func(context.Context) ([]types.BlobInfo, error)

	ManifestStub func(context.Context) ([]byte, string, error)

	OCIConfigStub func(context.Context) (*v1.Image, error)

	ReferenceStub func() types.ImageReference

	SignaturesStub func(context.Context) ([][]byte, error)

	SizeStub func() (int64, error)

	SupportsEncryptionStub func(context.Context) bool

	UpdatedImageStub func(context.Context, types.ManifestUpdateOptions) (types.Image, error)

	UpdatedImageNeedsLayerDiffIDsStub func(types.ManifestUpdateOptions) bool
	// contains filtered or unexported fields
}

func (*FakeManifest) ConfigBlob

func (fake *FakeManifest) ConfigBlob(arg1 context.Context) ([]byte, error)

func (*FakeManifest) ConfigBlobArgsForCall

func (fake *FakeManifest) ConfigBlobArgsForCall(i int) context.Context

func (*FakeManifest) ConfigBlobCallCount

func (fake *FakeManifest) ConfigBlobCallCount() int

func (*FakeManifest) ConfigBlobCalls

func (fake *FakeManifest) ConfigBlobCalls(stub func(context.Context) ([]byte, error))

func (*FakeManifest) ConfigBlobReturns

func (fake *FakeManifest) ConfigBlobReturns(result1 []byte, result2 error)

func (*FakeManifest) ConfigBlobReturnsOnCall

func (fake *FakeManifest) ConfigBlobReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeManifest) ConfigInfo

func (fake *FakeManifest) ConfigInfo() types.BlobInfo

func (*FakeManifest) ConfigInfoCallCount

func (fake *FakeManifest) ConfigInfoCallCount() int

func (*FakeManifest) ConfigInfoCalls

func (fake *FakeManifest) ConfigInfoCalls(stub func() types.BlobInfo)

func (*FakeManifest) ConfigInfoReturns

func (fake *FakeManifest) ConfigInfoReturns(result1 types.BlobInfo)

func (*FakeManifest) ConfigInfoReturnsOnCall

func (fake *FakeManifest) ConfigInfoReturnsOnCall(i int, result1 types.BlobInfo)

func (*FakeManifest) EmbeddedDockerReferenceConflicts

func (fake *FakeManifest) EmbeddedDockerReferenceConflicts(arg1 reference.Named) bool

func (*FakeManifest) EmbeddedDockerReferenceConflictsArgsForCall

func (fake *FakeManifest) EmbeddedDockerReferenceConflictsArgsForCall(i int) reference.Named

func (*FakeManifest) EmbeddedDockerReferenceConflictsCallCount

func (fake *FakeManifest) EmbeddedDockerReferenceConflictsCallCount() int

func (*FakeManifest) EmbeddedDockerReferenceConflictsCalls

func (fake *FakeManifest) EmbeddedDockerReferenceConflictsCalls(stub func(reference.Named) bool)

func (*FakeManifest) EmbeddedDockerReferenceConflictsReturns

func (fake *FakeManifest) EmbeddedDockerReferenceConflictsReturns(result1 bool)

func (*FakeManifest) EmbeddedDockerReferenceConflictsReturnsOnCall

func (fake *FakeManifest) EmbeddedDockerReferenceConflictsReturnsOnCall(i int, result1 bool)

func (*FakeManifest) Inspect

func (fake *FakeManifest) Inspect(arg1 context.Context) (*types.ImageInspectInfo, error)

func (*FakeManifest) InspectArgsForCall

func (fake *FakeManifest) InspectArgsForCall(i int) context.Context

func (*FakeManifest) InspectCallCount

func (fake *FakeManifest) InspectCallCount() int

func (*FakeManifest) InspectCalls

func (fake *FakeManifest) InspectCalls(stub func(context.Context) (*types.ImageInspectInfo, error))

func (*FakeManifest) InspectReturns

func (fake *FakeManifest) InspectReturns(result1 *types.ImageInspectInfo, result2 error)

func (*FakeManifest) InspectReturnsOnCall

func (fake *FakeManifest) InspectReturnsOnCall(i int, result1 *types.ImageInspectInfo, result2 error)

func (*FakeManifest) Invocations

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

func (*FakeManifest) LayerInfos

func (fake *FakeManifest) LayerInfos() []types.BlobInfo

func (*FakeManifest) LayerInfosCallCount

func (fake *FakeManifest) LayerInfosCallCount() int

func (*FakeManifest) LayerInfosCalls

func (fake *FakeManifest) LayerInfosCalls(stub func() []types.BlobInfo)

func (*FakeManifest) LayerInfosForCopy

func (fake *FakeManifest) LayerInfosForCopy(arg1 context.Context) ([]types.BlobInfo, error)

func (*FakeManifest) LayerInfosForCopyArgsForCall

func (fake *FakeManifest) LayerInfosForCopyArgsForCall(i int) context.Context

func (*FakeManifest) LayerInfosForCopyCallCount

func (fake *FakeManifest) LayerInfosForCopyCallCount() int

func (*FakeManifest) LayerInfosForCopyCalls

func (fake *FakeManifest) LayerInfosForCopyCalls(stub func(context.Context) ([]types.BlobInfo, error))

func (*FakeManifest) LayerInfosForCopyReturns

func (fake *FakeManifest) LayerInfosForCopyReturns(result1 []types.BlobInfo, result2 error)

func (*FakeManifest) LayerInfosForCopyReturnsOnCall

func (fake *FakeManifest) LayerInfosForCopyReturnsOnCall(i int, result1 []types.BlobInfo, result2 error)

func (*FakeManifest) LayerInfosReturns

func (fake *FakeManifest) LayerInfosReturns(result1 []types.BlobInfo)

func (*FakeManifest) LayerInfosReturnsOnCall

func (fake *FakeManifest) LayerInfosReturnsOnCall(i int, result1 []types.BlobInfo)

func (*FakeManifest) Manifest

func (fake *FakeManifest) Manifest(arg1 context.Context) ([]byte, string, error)

func (*FakeManifest) ManifestArgsForCall

func (fake *FakeManifest) ManifestArgsForCall(i int) context.Context

func (*FakeManifest) ManifestCallCount

func (fake *FakeManifest) ManifestCallCount() int

func (*FakeManifest) ManifestCalls

func (fake *FakeManifest) ManifestCalls(stub func(context.Context) ([]byte, string, error))

func (*FakeManifest) ManifestReturns

func (fake *FakeManifest) ManifestReturns(result1 []byte, result2 string, result3 error)

func (*FakeManifest) ManifestReturnsOnCall

func (fake *FakeManifest) ManifestReturnsOnCall(i int, result1 []byte, result2 string, result3 error)

func (*FakeManifest) OCIConfig

func (fake *FakeManifest) OCIConfig(arg1 context.Context) (*v1.Image, error)

func (*FakeManifest) OCIConfigArgsForCall

func (fake *FakeManifest) OCIConfigArgsForCall(i int) context.Context

func (*FakeManifest) OCIConfigCallCount

func (fake *FakeManifest) OCIConfigCallCount() int

func (*FakeManifest) OCIConfigCalls

func (fake *FakeManifest) OCIConfigCalls(stub func(context.Context) (*v1.Image, error))

func (*FakeManifest) OCIConfigReturns

func (fake *FakeManifest) OCIConfigReturns(result1 *v1.Image, result2 error)

func (*FakeManifest) OCIConfigReturnsOnCall

func (fake *FakeManifest) OCIConfigReturnsOnCall(i int, result1 *v1.Image, result2 error)

func (*FakeManifest) Reference

func (fake *FakeManifest) Reference() types.ImageReference

func (*FakeManifest) ReferenceCallCount

func (fake *FakeManifest) ReferenceCallCount() int

func (*FakeManifest) ReferenceCalls

func (fake *FakeManifest) ReferenceCalls(stub func() types.ImageReference)

func (*FakeManifest) ReferenceReturns

func (fake *FakeManifest) ReferenceReturns(result1 types.ImageReference)

func (*FakeManifest) ReferenceReturnsOnCall

func (fake *FakeManifest) ReferenceReturnsOnCall(i int, result1 types.ImageReference)

func (*FakeManifest) Signatures

func (fake *FakeManifest) Signatures(arg1 context.Context) ([][]byte, error)

func (*FakeManifest) SignaturesArgsForCall

func (fake *FakeManifest) SignaturesArgsForCall(i int) context.Context

func (*FakeManifest) SignaturesCallCount

func (fake *FakeManifest) SignaturesCallCount() int

func (*FakeManifest) SignaturesCalls

func (fake *FakeManifest) SignaturesCalls(stub func(context.Context) ([][]byte, error))

func (*FakeManifest) SignaturesReturns

func (fake *FakeManifest) SignaturesReturns(result1 [][]byte, result2 error)

func (*FakeManifest) SignaturesReturnsOnCall

func (fake *FakeManifest) SignaturesReturnsOnCall(i int, result1 [][]byte, result2 error)

func (*FakeManifest) Size

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

func (*FakeManifest) SizeCallCount

func (fake *FakeManifest) SizeCallCount() int

func (*FakeManifest) SizeCalls

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

func (*FakeManifest) SizeReturns

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

func (*FakeManifest) SizeReturnsOnCall

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

func (*FakeManifest) SupportsEncryption

func (fake *FakeManifest) SupportsEncryption(arg1 context.Context) bool

func (*FakeManifest) SupportsEncryptionArgsForCall

func (fake *FakeManifest) SupportsEncryptionArgsForCall(i int) context.Context

func (*FakeManifest) SupportsEncryptionCallCount

func (fake *FakeManifest) SupportsEncryptionCallCount() int

func (*FakeManifest) SupportsEncryptionCalls

func (fake *FakeManifest) SupportsEncryptionCalls(stub func(context.Context) bool)

func (*FakeManifest) SupportsEncryptionReturns

func (fake *FakeManifest) SupportsEncryptionReturns(result1 bool)

func (*FakeManifest) SupportsEncryptionReturnsOnCall

func (fake *FakeManifest) SupportsEncryptionReturnsOnCall(i int, result1 bool)

func (*FakeManifest) UpdatedImage

func (fake *FakeManifest) UpdatedImage(arg1 context.Context, arg2 types.ManifestUpdateOptions) (types.Image, error)

func (*FakeManifest) UpdatedImageArgsForCall

func (fake *FakeManifest) UpdatedImageArgsForCall(i int) (context.Context, types.ManifestUpdateOptions)

func (*FakeManifest) UpdatedImageCallCount

func (fake *FakeManifest) UpdatedImageCallCount() int

func (*FakeManifest) UpdatedImageCalls

func (fake *FakeManifest) UpdatedImageCalls(stub func(context.Context, types.ManifestUpdateOptions) (types.Image, error))

func (*FakeManifest) UpdatedImageNeedsLayerDiffIDs

func (fake *FakeManifest) UpdatedImageNeedsLayerDiffIDs(arg1 types.ManifestUpdateOptions) bool

func (*FakeManifest) UpdatedImageNeedsLayerDiffIDsArgsForCall

func (fake *FakeManifest) UpdatedImageNeedsLayerDiffIDsArgsForCall(i int) types.ManifestUpdateOptions

func (*FakeManifest) UpdatedImageNeedsLayerDiffIDsCallCount

func (fake *FakeManifest) UpdatedImageNeedsLayerDiffIDsCallCount() int

func (*FakeManifest) UpdatedImageNeedsLayerDiffIDsCalls

func (fake *FakeManifest) UpdatedImageNeedsLayerDiffIDsCalls(stub func(types.ManifestUpdateOptions) bool)

func (*FakeManifest) UpdatedImageNeedsLayerDiffIDsReturns

func (fake *FakeManifest) UpdatedImageNeedsLayerDiffIDsReturns(result1 bool)

func (*FakeManifest) UpdatedImageNeedsLayerDiffIDsReturnsOnCall

func (fake *FakeManifest) UpdatedImageNeedsLayerDiffIDsReturnsOnCall(i int, result1 bool)

func (*FakeManifest) UpdatedImageReturns

func (fake *FakeManifest) UpdatedImageReturns(result1 types.Image, result2 error)

func (*FakeManifest) UpdatedImageReturnsOnCall

func (fake *FakeManifest) UpdatedImageReturnsOnCall(i int, result1 types.Image, result2 error)

type FakeSource

type FakeSource struct {
	BlobStub func(lager.Logger, imagepuller.LayerInfo) (string, int64, error)

	CloseStub func() error

	ManifestStub func(lager.Logger) (types.Image, error)
	// contains filtered or unexported fields
}

func (*FakeSource) Blob

func (fake *FakeSource) Blob(arg1 lager.Logger, arg2 imagepuller.LayerInfo) (string, int64, error)

func (*FakeSource) BlobArgsForCall

func (fake *FakeSource) BlobArgsForCall(i int) (lager.Logger, imagepuller.LayerInfo)

func (*FakeSource) BlobCallCount

func (fake *FakeSource) BlobCallCount() int

func (*FakeSource) BlobCalls

func (fake *FakeSource) BlobCalls(stub func(lager.Logger, imagepuller.LayerInfo) (string, int64, error))

func (*FakeSource) BlobReturns

func (fake *FakeSource) BlobReturns(result1 string, result2 int64, result3 error)

func (*FakeSource) BlobReturnsOnCall

func (fake *FakeSource) BlobReturnsOnCall(i int, result1 string, result2 int64, result3 error)

func (*FakeSource) Close

func (fake *FakeSource) Close() error

func (*FakeSource) CloseCallCount

func (fake *FakeSource) CloseCallCount() int

func (*FakeSource) CloseCalls

func (fake *FakeSource) CloseCalls(stub func() error)

func (*FakeSource) CloseReturns

func (fake *FakeSource) CloseReturns(result1 error)

func (*FakeSource) CloseReturnsOnCall

func (fake *FakeSource) CloseReturnsOnCall(i int, result1 error)

func (*FakeSource) Invocations

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

func (*FakeSource) Manifest

func (fake *FakeSource) Manifest(arg1 lager.Logger) (types.Image, error)

func (*FakeSource) ManifestArgsForCall

func (fake *FakeSource) ManifestArgsForCall(i int) lager.Logger

func (*FakeSource) ManifestCallCount

func (fake *FakeSource) ManifestCallCount() int

func (*FakeSource) ManifestCalls

func (fake *FakeSource) ManifestCalls(stub func(lager.Logger) (types.Image, error))

func (*FakeSource) ManifestReturns

func (fake *FakeSource) ManifestReturns(result1 types.Image, result2 error)

func (*FakeSource) ManifestReturnsOnCall

func (fake *FakeSource) ManifestReturnsOnCall(i int, result1 types.Image, result2 error)

Jump to

Keyboard shortcuts

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