layer_fetcherfakes

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2017 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

	CloseStub func() error

	ManifestStub func() ([]byte, string, error)

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

	ConfigInfoStub func() types.BlobInfo

	ConfigBlobStub func() ([]byte, error)

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

	LayerInfosStub func() []types.BlobInfo

	EmbeddedDockerReferenceConflictsStub func(ref reference.Named) bool

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

	UpdatedImageNeedsLayerDiffIDsStub func(options types.ManifestUpdateOptions) bool

	UpdatedImageStub func(options types.ManifestUpdateOptions) (types.Image, error)

	IsMultiImageStub func() bool

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

func (*FakeManifest) Close

func (fake *FakeManifest) Close() error

func (*FakeManifest) CloseCallCount

func (fake *FakeManifest) CloseCallCount() int

func (*FakeManifest) CloseReturns

func (fake *FakeManifest) CloseReturns(result1 error)

func (*FakeManifest) CloseReturnsOnCall

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

func (*FakeManifest) ConfigBlob

func (fake *FakeManifest) ConfigBlob() ([]byte, error)

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() (*types.ImageInspectInfo, error)

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

func (fake *FakeManifest) IsMultiImage() bool

func (*FakeManifest) IsMultiImageCallCount

func (fake *FakeManifest) IsMultiImageCallCount() int

func (*FakeManifest) IsMultiImageReturns

func (fake *FakeManifest) IsMultiImageReturns(result1 bool)

func (*FakeManifest) IsMultiImageReturnsOnCall

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

func (*FakeManifest) LayerInfos

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

func (*FakeManifest) LayerInfosCallCount

func (fake *FakeManifest) LayerInfosCallCount() int

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() ([]byte, string, error)

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() (*v1.Image, error)

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(options types.ManifestUpdateOptions) (types.Image, error)

func (*FakeManifest) UpdatedImageArgsForCall

func (fake *FakeManifest) UpdatedImageArgsForCall(i int) 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 base_image_puller.LayerInfo) (string, int64, error)
	// contains filtered or unexported fields
}

func (*FakeSource) Blob

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

func (*FakeSource) BlobArgsForCall

func (fake *FakeSource) BlobArgsForCall(i int) (lager.Logger, *url.URL, base_image_puller.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