bundlefakes

package
v0.38.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 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.

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 FakeImagesLockLocationConfig

type FakeImagesLockLocationConfig struct {
	FetchStub func() (bundle.ImageLocationsConfig, error)
	// contains filtered or unexported fields
}

func (*FakeImagesLockLocationConfig) Config

func (*FakeImagesLockLocationConfig) FetchCallCount

func (fake *FakeImagesLockLocationConfig) FetchCallCount() int

func (*FakeImagesLockLocationConfig) FetchCalls

func (fake *FakeImagesLockLocationConfig) FetchCalls(stub func() (bundle.ImageLocationsConfig, error))

func (*FakeImagesLockLocationConfig) FetchReturns

func (fake *FakeImagesLockLocationConfig) FetchReturns(result1 bundle.ImageLocationsConfig, result2 error)

func (*FakeImagesLockLocationConfig) FetchReturnsOnCall

func (fake *FakeImagesLockLocationConfig) FetchReturnsOnCall(i int, result1 bundle.ImageLocationsConfig, result2 error)

func (*FakeImagesLockLocationConfig) Invocations

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

type FakeImagesLockReader

type FakeImagesLockReader struct {
	ReadStub func(v1.Image) (lockconfig.ImagesLock, error)
	// contains filtered or unexported fields
}

func (*FakeImagesLockReader) Invocations

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

func (*FakeImagesLockReader) Read

func (*FakeImagesLockReader) ReadArgsForCall

func (fake *FakeImagesLockReader) ReadArgsForCall(i int) v1.Image

func (*FakeImagesLockReader) ReadCallCount

func (fake *FakeImagesLockReader) ReadCallCount() int

func (*FakeImagesLockReader) ReadCalls

func (fake *FakeImagesLockReader) ReadCalls(stub func(v1.Image) (lockconfig.ImagesLock, error))

func (*FakeImagesLockReader) ReadReturns

func (fake *FakeImagesLockReader) ReadReturns(result1 lockconfig.ImagesLock, result2 error)

func (*FakeImagesLockReader) ReadReturnsOnCall

func (fake *FakeImagesLockReader) ReadReturnsOnCall(i int, result1 lockconfig.ImagesLock, result2 error)

type FakeImagesMetadataWriter

type FakeImagesMetadataWriter struct {
	CloneWithLoggerStub func(util.ProgressLogger) registry.Registry

	DigestStub func(name.Reference) (v1.Hash, error)

	FirstImageExistsStub func([]string) (string, error)

	GetStub func(name.Reference) (*remote.Descriptor, error)

	ImageStub func(name.Reference) (v1.Image, error)

	WriteImageStub func(name.Reference, v1.Image, chan v1.Update) error

	WriteTagStub func(name.Tag, remote.Taggable) error
	// contains filtered or unexported fields
}

func (*FakeImagesMetadataWriter) CloneWithLogger added in v0.31.0

func (fake *FakeImagesMetadataWriter) CloneWithLogger(arg1 util.ProgressLogger) registry.Registry

func (*FakeImagesMetadataWriter) CloneWithLoggerArgsForCall added in v0.31.0

func (fake *FakeImagesMetadataWriter) CloneWithLoggerArgsForCall(i int) util.ProgressLogger

func (*FakeImagesMetadataWriter) CloneWithLoggerCallCount added in v0.31.0

func (fake *FakeImagesMetadataWriter) CloneWithLoggerCallCount() int

func (*FakeImagesMetadataWriter) CloneWithLoggerCalls added in v0.31.0

func (fake *FakeImagesMetadataWriter) CloneWithLoggerCalls(stub func(util.ProgressLogger) registry.Registry)

func (*FakeImagesMetadataWriter) CloneWithLoggerReturns added in v0.31.0

func (fake *FakeImagesMetadataWriter) CloneWithLoggerReturns(result1 registry.Registry)

func (*FakeImagesMetadataWriter) CloneWithLoggerReturnsOnCall added in v0.31.0

func (fake *FakeImagesMetadataWriter) CloneWithLoggerReturnsOnCall(i int, result1 registry.Registry)

func (*FakeImagesMetadataWriter) Digest

func (fake *FakeImagesMetadataWriter) Digest(arg1 name.Reference) (v1.Hash, error)

func (*FakeImagesMetadataWriter) DigestArgsForCall

func (fake *FakeImagesMetadataWriter) DigestArgsForCall(i int) name.Reference

func (*FakeImagesMetadataWriter) DigestCallCount

func (fake *FakeImagesMetadataWriter) DigestCallCount() int

func (*FakeImagesMetadataWriter) DigestCalls

func (fake *FakeImagesMetadataWriter) DigestCalls(stub func(name.Reference) (v1.Hash, error))

func (*FakeImagesMetadataWriter) DigestReturns

func (fake *FakeImagesMetadataWriter) DigestReturns(result1 v1.Hash, result2 error)

func (*FakeImagesMetadataWriter) DigestReturnsOnCall

func (fake *FakeImagesMetadataWriter) DigestReturnsOnCall(i int, result1 v1.Hash, result2 error)

func (*FakeImagesMetadataWriter) FirstImageExists

func (fake *FakeImagesMetadataWriter) FirstImageExists(arg1 []string) (string, error)

func (*FakeImagesMetadataWriter) FirstImageExistsArgsForCall

func (fake *FakeImagesMetadataWriter) FirstImageExistsArgsForCall(i int) []string

func (*FakeImagesMetadataWriter) FirstImageExistsCallCount

func (fake *FakeImagesMetadataWriter) FirstImageExistsCallCount() int

func (*FakeImagesMetadataWriter) FirstImageExistsCalls

func (fake *FakeImagesMetadataWriter) FirstImageExistsCalls(stub func([]string) (string, error))

func (*FakeImagesMetadataWriter) FirstImageExistsReturns

func (fake *FakeImagesMetadataWriter) FirstImageExistsReturns(result1 string, result2 error)

func (*FakeImagesMetadataWriter) FirstImageExistsReturnsOnCall

func (fake *FakeImagesMetadataWriter) FirstImageExistsReturnsOnCall(i int, result1 string, result2 error)

func (*FakeImagesMetadataWriter) Get

func (*FakeImagesMetadataWriter) GetArgsForCall

func (fake *FakeImagesMetadataWriter) GetArgsForCall(i int) name.Reference

func (*FakeImagesMetadataWriter) GetCallCount

func (fake *FakeImagesMetadataWriter) GetCallCount() int

func (*FakeImagesMetadataWriter) GetCalls

func (fake *FakeImagesMetadataWriter) GetCalls(stub func(name.Reference) (*remote.Descriptor, error))

func (*FakeImagesMetadataWriter) GetReturns

func (fake *FakeImagesMetadataWriter) GetReturns(result1 *remote.Descriptor, result2 error)

func (*FakeImagesMetadataWriter) GetReturnsOnCall

func (fake *FakeImagesMetadataWriter) GetReturnsOnCall(i int, result1 *remote.Descriptor, result2 error)

func (*FakeImagesMetadataWriter) Image

func (fake *FakeImagesMetadataWriter) Image(arg1 name.Reference) (v1.Image, error)

func (*FakeImagesMetadataWriter) ImageArgsForCall

func (fake *FakeImagesMetadataWriter) ImageArgsForCall(i int) name.Reference

func (*FakeImagesMetadataWriter) ImageCallCount

func (fake *FakeImagesMetadataWriter) ImageCallCount() int

func (*FakeImagesMetadataWriter) ImageCalls

func (fake *FakeImagesMetadataWriter) ImageCalls(stub func(name.Reference) (v1.Image, error))

func (*FakeImagesMetadataWriter) ImageReturns

func (fake *FakeImagesMetadataWriter) ImageReturns(result1 v1.Image, result2 error)

func (*FakeImagesMetadataWriter) ImageReturnsOnCall

func (fake *FakeImagesMetadataWriter) ImageReturnsOnCall(i int, result1 v1.Image, result2 error)

func (*FakeImagesMetadataWriter) Invocations

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

func (*FakeImagesMetadataWriter) WriteImage

func (fake *FakeImagesMetadataWriter) WriteImage(arg1 name.Reference, arg2 v1.Image, arg3 chan v1.Update) error

func (*FakeImagesMetadataWriter) WriteImageArgsForCall

func (fake *FakeImagesMetadataWriter) WriteImageArgsForCall(i int) (name.Reference, v1.Image, chan v1.Update)

func (*FakeImagesMetadataWriter) WriteImageCallCount

func (fake *FakeImagesMetadataWriter) WriteImageCallCount() int

func (*FakeImagesMetadataWriter) WriteImageCalls

func (fake *FakeImagesMetadataWriter) WriteImageCalls(stub func(name.Reference, v1.Image, chan v1.Update) error)

func (*FakeImagesMetadataWriter) WriteImageReturns

func (fake *FakeImagesMetadataWriter) WriteImageReturns(result1 error)

func (*FakeImagesMetadataWriter) WriteImageReturnsOnCall

func (fake *FakeImagesMetadataWriter) WriteImageReturnsOnCall(i int, result1 error)

func (*FakeImagesMetadataWriter) WriteTag added in v0.24.0

func (fake *FakeImagesMetadataWriter) WriteTag(arg1 name.Tag, arg2 remote.Taggable) error

func (*FakeImagesMetadataWriter) WriteTagArgsForCall added in v0.24.0

func (fake *FakeImagesMetadataWriter) WriteTagArgsForCall(i int) (name.Tag, remote.Taggable)

func (*FakeImagesMetadataWriter) WriteTagCallCount added in v0.24.0

func (fake *FakeImagesMetadataWriter) WriteTagCallCount() int

func (*FakeImagesMetadataWriter) WriteTagCalls added in v0.24.0

func (fake *FakeImagesMetadataWriter) WriteTagCalls(stub func(name.Tag, remote.Taggable) error)

func (*FakeImagesMetadataWriter) WriteTagReturns added in v0.24.0

func (fake *FakeImagesMetadataWriter) WriteTagReturns(result1 error)

func (*FakeImagesMetadataWriter) WriteTagReturnsOnCall added in v0.24.0

func (fake *FakeImagesMetadataWriter) WriteTagReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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