layer_fetcherfakes

package
v0.0.0-...-ea9d892 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2019 License: Apache-2.0 Imports: 9 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 {
	ReferenceStub func() types.ImageReference

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

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

	ConfigInfoStub func() types.BlobInfo

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

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

	LayerInfosStub func() []types.BlobInfo

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

	EmbeddedDockerReferenceConflictsStub func(ref reference.Named) bool

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

	UpdatedImageNeedsLayerDiffIDsStub func(options types.ManifestUpdateOptions) bool

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

	SizeStub func() (int64, error)
	// 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) 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) 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(ref reference.Named) bool

func (*FakeManifest) EmbeddedDockerReferenceConflictsArgsForCall

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

func (*FakeManifest) EmbeddedDockerReferenceConflictsCallCount

func (fake *FakeManifest) EmbeddedDockerReferenceConflictsCallCount() int

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) 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) 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) 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(ctx 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) 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) 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) 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(ctx 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) 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) SizeReturns

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

func (*FakeManifest) SizeReturnsOnCall

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

func (*FakeManifest) UpdatedImage

func (fake *FakeManifest) UpdatedImage(ctx context.Context, options 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) UpdatedImageNeedsLayerDiffIDs

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

func (*FakeManifest) UpdatedImageNeedsLayerDiffIDsArgsForCall

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

func (*FakeManifest) UpdatedImageNeedsLayerDiffIDsCallCount

func (fake *FakeManifest) UpdatedImageNeedsLayerDiffIDsCallCount() int

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 {
	ManifestStub func(logger lager.Logger, baseImageURL *url.URL) (types.Image, error)

	BlobStub func(logger lager.Logger, baseImageURL *url.URL, layerInfo groot.LayerInfo) (string, int64, error)
	// contains filtered or unexported fields
}

func (*FakeSource) Blob

func (fake *FakeSource) Blob(logger lager.Logger, baseImageURL *url.URL, layerInfo groot.LayerInfo) (string, int64, error)

func (*FakeSource) BlobArgsForCall

func (fake *FakeSource) BlobArgsForCall(i int) (lager.Logger, *url.URL, groot.LayerInfo)

func (*FakeSource) BlobCallCount

func (fake *FakeSource) BlobCallCount() int

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

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

func (*FakeSource) Manifest

func (fake *FakeSource) Manifest(logger lager.Logger, baseImageURL *url.URL) (types.Image, error)

func (*FakeSource) ManifestArgsForCall

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

func (*FakeSource) ManifestCallCount

func (fake *FakeSource) ManifestCallCount() int

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