Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeManifest
- func (fake *FakeManifest) ConfigBlob(arg1 context.Context) ([]byte, error)
- func (fake *FakeManifest) ConfigBlobArgsForCall(i int) context.Context
- 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(arg1 context.Context) (*types.ImageInspectInfo, error)
- func (fake *FakeManifest) InspectArgsForCall(i int) context.Context
- 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) LayerInfos() []types.BlobInfo
- func (fake *FakeManifest) LayerInfosCallCount() int
- func (fake *FakeManifest) LayerInfosForCopy(arg1 context.Context) ([]types.BlobInfo, error)
- func (fake *FakeManifest) LayerInfosForCopyArgsForCall(i int) context.Context
- func (fake *FakeManifest) LayerInfosForCopyCallCount() int
- func (fake *FakeManifest) LayerInfosForCopyReturns(result1 []types.BlobInfo, result2 error)
- func (fake *FakeManifest) LayerInfosForCopyReturnsOnCall(i int, result1 []types.BlobInfo, result2 error)
- func (fake *FakeManifest) LayerInfosReturns(result1 []types.BlobInfo)
- func (fake *FakeManifest) LayerInfosReturnsOnCall(i int, result1 []types.BlobInfo)
- func (fake *FakeManifest) Manifest(ctx context.Context) ([]byte, string, error)
- func (fake *FakeManifest) ManifestArgsForCall(i int) context.Context
- 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(arg1 context.Context) (*v1.Image, error)
- func (fake *FakeManifest) OCIConfigArgsForCall(i int) context.Context
- 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(ctx context.Context, options types.ManifestUpdateOptions) (types.Image, error)
- func (fake *FakeManifest) UpdatedImageArgsForCall(i int) (context.Context, 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, layerInfo groot.LayerInfo) (string, int64, error)
- func (fake *FakeSource) BlobArgsForCall(i int) (lager.Logger, *url.URL, groot.LayerInfo)
- 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 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 (*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) 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) 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) 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.