Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeManifest
- func (fake *FakeManifest) Close() error
- func (fake *FakeManifest) CloseCallCount() int
- func (fake *FakeManifest) CloseReturns(result1 error)
- func (fake *FakeManifest) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeManifest) ConfigBlob() ([]byte, error)
- func (fake *FakeManifest) ConfigBlobCallCount() int
- func (fake *FakeManifest) ConfigBlobReturns(result1 []byte, result2 error)
- func (fake *FakeManifest) ConfigBlobReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeManifest) ConfigInfo() types.BlobInfo
- func (fake *FakeManifest) ConfigInfoCallCount() int
- func (fake *FakeManifest) ConfigInfoReturns(result1 types.BlobInfo)
- func (fake *FakeManifest) ConfigInfoReturnsOnCall(i int, result1 types.BlobInfo)
- func (fake *FakeManifest) EmbeddedDockerReferenceConflicts(ref reference.Named) bool
- func (fake *FakeManifest) EmbeddedDockerReferenceConflictsArgsForCall(i int) reference.Named
- func (fake *FakeManifest) EmbeddedDockerReferenceConflictsCallCount() int
- func (fake *FakeManifest) EmbeddedDockerReferenceConflictsReturns(result1 bool)
- func (fake *FakeManifest) EmbeddedDockerReferenceConflictsReturnsOnCall(i int, result1 bool)
- func (fake *FakeManifest) Inspect() (*types.ImageInspectInfo, error)
- func (fake *FakeManifest) InspectCallCount() int
- func (fake *FakeManifest) InspectReturns(result1 *types.ImageInspectInfo, result2 error)
- func (fake *FakeManifest) InspectReturnsOnCall(i int, result1 *types.ImageInspectInfo, result2 error)
- func (fake *FakeManifest) Invocations() map[string][][]interface{}
- func (fake *FakeManifest) IsMultiImage() bool
- func (fake *FakeManifest) IsMultiImageCallCount() int
- func (fake *FakeManifest) IsMultiImageReturns(result1 bool)
- func (fake *FakeManifest) IsMultiImageReturnsOnCall(i int, result1 bool)
- func (fake *FakeManifest) LayerInfos() []types.BlobInfo
- func (fake *FakeManifest) LayerInfosCallCount() int
- func (fake *FakeManifest) LayerInfosReturns(result1 []types.BlobInfo)
- func (fake *FakeManifest) LayerInfosReturnsOnCall(i int, result1 []types.BlobInfo)
- func (fake *FakeManifest) Manifest() ([]byte, string, error)
- func (fake *FakeManifest) ManifestCallCount() int
- func (fake *FakeManifest) ManifestReturns(result1 []byte, result2 string, result3 error)
- func (fake *FakeManifest) ManifestReturnsOnCall(i int, result1 []byte, result2 string, result3 error)
- func (fake *FakeManifest) OCIConfig() (*v1.Image, error)
- func (fake *FakeManifest) OCIConfigCallCount() int
- func (fake *FakeManifest) OCIConfigReturns(result1 *v1.Image, result2 error)
- func (fake *FakeManifest) OCIConfigReturnsOnCall(i int, result1 *v1.Image, result2 error)
- func (fake *FakeManifest) Reference() types.ImageReference
- func (fake *FakeManifest) ReferenceCallCount() int
- func (fake *FakeManifest) ReferenceReturns(result1 types.ImageReference)
- func (fake *FakeManifest) ReferenceReturnsOnCall(i int, result1 types.ImageReference)
- func (fake *FakeManifest) Signatures(ctx context.Context) ([][]byte, error)
- func (fake *FakeManifest) SignaturesArgsForCall(i int) context.Context
- func (fake *FakeManifest) SignaturesCallCount() int
- func (fake *FakeManifest) SignaturesReturns(result1 [][]byte, result2 error)
- func (fake *FakeManifest) SignaturesReturnsOnCall(i int, result1 [][]byte, result2 error)
- func (fake *FakeManifest) Size() (int64, error)
- func (fake *FakeManifest) SizeCallCount() int
- func (fake *FakeManifest) SizeReturns(result1 int64, result2 error)
- func (fake *FakeManifest) SizeReturnsOnCall(i int, result1 int64, result2 error)
- func (fake *FakeManifest) UpdatedImage(options types.ManifestUpdateOptions) (types.Image, error)
- func (fake *FakeManifest) UpdatedImageArgsForCall(i int) types.ManifestUpdateOptions
- func (fake *FakeManifest) UpdatedImageCallCount() int
- func (fake *FakeManifest) UpdatedImageNeedsLayerDiffIDs(options types.ManifestUpdateOptions) bool
- func (fake *FakeManifest) UpdatedImageNeedsLayerDiffIDsArgsForCall(i int) types.ManifestUpdateOptions
- func (fake *FakeManifest) UpdatedImageNeedsLayerDiffIDsCallCount() int
- func (fake *FakeManifest) UpdatedImageNeedsLayerDiffIDsReturns(result1 bool)
- func (fake *FakeManifest) UpdatedImageNeedsLayerDiffIDsReturnsOnCall(i int, result1 bool)
- func (fake *FakeManifest) UpdatedImageReturns(result1 types.Image, result2 error)
- func (fake *FakeManifest) UpdatedImageReturnsOnCall(i int, result1 types.Image, result2 error)
- type FakeSource
- func (fake *FakeSource) Blob(logger lager.Logger, baseImageURL *url.URL, digest string) (string, int64, error)
- func (fake *FakeSource) BlobArgsForCall(i int) (lager.Logger, *url.URL, string)
- func (fake *FakeSource) BlobCallCount() int
- func (fake *FakeSource) BlobReturns(result1 string, result2 int64, result3 error)
- func (fake *FakeSource) BlobReturnsOnCall(i int, result1 string, result2 int64, result3 error)
- func (fake *FakeSource) Invocations() map[string][][]interface{}
- func (fake *FakeSource) Manifest(logger lager.Logger, baseImageURL *url.URL) (types.Image, error)
- func (fake *FakeSource) ManifestArgsForCall(i int) (lager.Logger, *url.URL)
- func (fake *FakeSource) ManifestCallCount() int
- func (fake *FakeSource) ManifestReturns(result1 types.Image, result2 error)
- func (fake *FakeSource) ManifestReturnsOnCall(i int, result1 types.Image, result2 error)
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) 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) 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, digest string) (string, int64, error) // contains filtered or unexported fields }
func (*FakeSource) BlobArgsForCall ¶
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) ManifestArgsForCall ¶
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)
Click to show internal directories.
Click to hide internal directories.