registryfakes

package
v0.42.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 6 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 FakeImagesReader

type FakeImagesReader struct {
	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)

	IndexStub func(name.Reference) (v1.ImageIndex, error)
	// contains filtered or unexported fields
}

func (*FakeImagesReader) Digest

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

func (*FakeImagesReader) DigestArgsForCall

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

func (*FakeImagesReader) DigestCallCount

func (fake *FakeImagesReader) DigestCallCount() int

func (*FakeImagesReader) DigestCalls

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

func (*FakeImagesReader) DigestReturns

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

func (*FakeImagesReader) DigestReturnsOnCall

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

func (*FakeImagesReader) FirstImageExists

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

func (*FakeImagesReader) FirstImageExistsArgsForCall

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

func (*FakeImagesReader) FirstImageExistsCallCount

func (fake *FakeImagesReader) FirstImageExistsCallCount() int

func (*FakeImagesReader) FirstImageExistsCalls

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

func (*FakeImagesReader) FirstImageExistsReturns

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

func (*FakeImagesReader) FirstImageExistsReturnsOnCall

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

func (*FakeImagesReader) Get

func (fake *FakeImagesReader) Get(arg1 name.Reference) (*remote.Descriptor, error)

func (*FakeImagesReader) GetArgsForCall

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

func (*FakeImagesReader) GetCallCount

func (fake *FakeImagesReader) GetCallCount() int

func (*FakeImagesReader) GetCalls

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

func (*FakeImagesReader) GetReturns

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

func (*FakeImagesReader) GetReturnsOnCall

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

func (*FakeImagesReader) Image

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

func (*FakeImagesReader) ImageArgsForCall

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

func (*FakeImagesReader) ImageCallCount

func (fake *FakeImagesReader) ImageCallCount() int

func (*FakeImagesReader) ImageCalls

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

func (*FakeImagesReader) ImageReturns

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

func (*FakeImagesReader) ImageReturnsOnCall

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

func (*FakeImagesReader) Index

func (fake *FakeImagesReader) Index(arg1 name.Reference) (v1.ImageIndex, error)

func (*FakeImagesReader) IndexArgsForCall

func (fake *FakeImagesReader) IndexArgsForCall(i int) name.Reference

func (*FakeImagesReader) IndexCallCount

func (fake *FakeImagesReader) IndexCallCount() int

func (*FakeImagesReader) IndexCalls

func (fake *FakeImagesReader) IndexCalls(stub func(name.Reference) (v1.ImageIndex, error))

func (*FakeImagesReader) IndexReturns

func (fake *FakeImagesReader) IndexReturns(result1 v1.ImageIndex, result2 error)

func (*FakeImagesReader) IndexReturnsOnCall

func (fake *FakeImagesReader) IndexReturnsOnCall(i int, result1 v1.ImageIndex, result2 error)

func (*FakeImagesReader) Invocations

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

type FakeImagesReaderWriter

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

	CloneWithSingleAuthStub func(name.Tag) (registry.Registry, error)

	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)

	IndexStub func(name.Reference) (v1.ImageIndex, error)

	MultiWriteStub func(map[name.Reference]remote.Taggable, int, chan v1.Update) error

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

	WriteIndexStub func(name.Reference, v1.ImageIndex) error

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

func (*FakeImagesReaderWriter) CloneWithLogger

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

func (*FakeImagesReaderWriter) CloneWithLoggerArgsForCall

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

func (*FakeImagesReaderWriter) CloneWithLoggerCallCount

func (fake *FakeImagesReaderWriter) CloneWithLoggerCallCount() int

func (*FakeImagesReaderWriter) CloneWithLoggerCalls

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

func (*FakeImagesReaderWriter) CloneWithLoggerReturns

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

func (*FakeImagesReaderWriter) CloneWithLoggerReturnsOnCall

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

func (*FakeImagesReaderWriter) CloneWithSingleAuth

func (fake *FakeImagesReaderWriter) CloneWithSingleAuth(arg1 name.Tag) (registry.Registry, error)

func (*FakeImagesReaderWriter) CloneWithSingleAuthArgsForCall

func (fake *FakeImagesReaderWriter) CloneWithSingleAuthArgsForCall(i int) name.Tag

func (*FakeImagesReaderWriter) CloneWithSingleAuthCallCount

func (fake *FakeImagesReaderWriter) CloneWithSingleAuthCallCount() int

func (*FakeImagesReaderWriter) CloneWithSingleAuthCalls

func (fake *FakeImagesReaderWriter) CloneWithSingleAuthCalls(stub func(name.Tag) (registry.Registry, error))

func (*FakeImagesReaderWriter) CloneWithSingleAuthReturns

func (fake *FakeImagesReaderWriter) CloneWithSingleAuthReturns(result1 registry.Registry, result2 error)

func (*FakeImagesReaderWriter) CloneWithSingleAuthReturnsOnCall

func (fake *FakeImagesReaderWriter) CloneWithSingleAuthReturnsOnCall(i int, result1 registry.Registry, result2 error)

func (*FakeImagesReaderWriter) Digest

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

func (*FakeImagesReaderWriter) DigestArgsForCall

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

func (*FakeImagesReaderWriter) DigestCallCount

func (fake *FakeImagesReaderWriter) DigestCallCount() int

func (*FakeImagesReaderWriter) DigestCalls

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

func (*FakeImagesReaderWriter) DigestReturns

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

func (*FakeImagesReaderWriter) DigestReturnsOnCall

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

func (*FakeImagesReaderWriter) FirstImageExists

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

func (*FakeImagesReaderWriter) FirstImageExistsArgsForCall

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

func (*FakeImagesReaderWriter) FirstImageExistsCallCount

func (fake *FakeImagesReaderWriter) FirstImageExistsCallCount() int

func (*FakeImagesReaderWriter) FirstImageExistsCalls

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

func (*FakeImagesReaderWriter) FirstImageExistsReturns

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

func (*FakeImagesReaderWriter) FirstImageExistsReturnsOnCall

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

func (*FakeImagesReaderWriter) Get

func (*FakeImagesReaderWriter) GetArgsForCall

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

func (*FakeImagesReaderWriter) GetCallCount

func (fake *FakeImagesReaderWriter) GetCallCount() int

func (*FakeImagesReaderWriter) GetCalls

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

func (*FakeImagesReaderWriter) GetReturns

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

func (*FakeImagesReaderWriter) GetReturnsOnCall

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

func (*FakeImagesReaderWriter) Image

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

func (*FakeImagesReaderWriter) ImageArgsForCall

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

func (*FakeImagesReaderWriter) ImageCallCount

func (fake *FakeImagesReaderWriter) ImageCallCount() int

func (*FakeImagesReaderWriter) ImageCalls

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

func (*FakeImagesReaderWriter) ImageReturns

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

func (*FakeImagesReaderWriter) ImageReturnsOnCall

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

func (*FakeImagesReaderWriter) Index

func (fake *FakeImagesReaderWriter) Index(arg1 name.Reference) (v1.ImageIndex, error)

func (*FakeImagesReaderWriter) IndexArgsForCall

func (fake *FakeImagesReaderWriter) IndexArgsForCall(i int) name.Reference

func (*FakeImagesReaderWriter) IndexCallCount

func (fake *FakeImagesReaderWriter) IndexCallCount() int

func (*FakeImagesReaderWriter) IndexCalls

func (fake *FakeImagesReaderWriter) IndexCalls(stub func(name.Reference) (v1.ImageIndex, error))

func (*FakeImagesReaderWriter) IndexReturns

func (fake *FakeImagesReaderWriter) IndexReturns(result1 v1.ImageIndex, result2 error)

func (*FakeImagesReaderWriter) IndexReturnsOnCall

func (fake *FakeImagesReaderWriter) IndexReturnsOnCall(i int, result1 v1.ImageIndex, result2 error)

func (*FakeImagesReaderWriter) Invocations

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

func (*FakeImagesReaderWriter) MultiWrite

func (fake *FakeImagesReaderWriter) MultiWrite(arg1 map[name.Reference]remote.Taggable, arg2 int, arg3 chan v1.Update) error

func (*FakeImagesReaderWriter) MultiWriteArgsForCall

func (fake *FakeImagesReaderWriter) MultiWriteArgsForCall(i int) (map[name.Reference]remote.Taggable, int, chan v1.Update)

func (*FakeImagesReaderWriter) MultiWriteCallCount

func (fake *FakeImagesReaderWriter) MultiWriteCallCount() int

func (*FakeImagesReaderWriter) MultiWriteCalls

func (fake *FakeImagesReaderWriter) MultiWriteCalls(stub func(map[name.Reference]remote.Taggable, int, chan v1.Update) error)

func (*FakeImagesReaderWriter) MultiWriteReturns

func (fake *FakeImagesReaderWriter) MultiWriteReturns(result1 error)

func (*FakeImagesReaderWriter) MultiWriteReturnsOnCall

func (fake *FakeImagesReaderWriter) MultiWriteReturnsOnCall(i int, result1 error)

func (*FakeImagesReaderWriter) WriteImage

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

func (*FakeImagesReaderWriter) WriteImageArgsForCall

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

func (*FakeImagesReaderWriter) WriteImageCallCount

func (fake *FakeImagesReaderWriter) WriteImageCallCount() int

func (*FakeImagesReaderWriter) WriteImageCalls

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

func (*FakeImagesReaderWriter) WriteImageReturns

func (fake *FakeImagesReaderWriter) WriteImageReturns(result1 error)

func (*FakeImagesReaderWriter) WriteImageReturnsOnCall

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

func (*FakeImagesReaderWriter) WriteIndex

func (fake *FakeImagesReaderWriter) WriteIndex(arg1 name.Reference, arg2 v1.ImageIndex) error

func (*FakeImagesReaderWriter) WriteIndexArgsForCall

func (fake *FakeImagesReaderWriter) WriteIndexArgsForCall(i int) (name.Reference, v1.ImageIndex)

func (*FakeImagesReaderWriter) WriteIndexCallCount

func (fake *FakeImagesReaderWriter) WriteIndexCallCount() int

func (*FakeImagesReaderWriter) WriteIndexCalls

func (fake *FakeImagesReaderWriter) WriteIndexCalls(stub func(name.Reference, v1.ImageIndex) error)

func (*FakeImagesReaderWriter) WriteIndexReturns

func (fake *FakeImagesReaderWriter) WriteIndexReturns(result1 error)

func (*FakeImagesReaderWriter) WriteIndexReturnsOnCall

func (fake *FakeImagesReaderWriter) WriteIndexReturnsOnCall(i int, result1 error)

func (*FakeImagesReaderWriter) WriteTag

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

func (*FakeImagesReaderWriter) WriteTagArgsForCall

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

func (*FakeImagesReaderWriter) WriteTagCallCount

func (fake *FakeImagesReaderWriter) WriteTagCallCount() int

func (*FakeImagesReaderWriter) WriteTagCalls

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

func (*FakeImagesReaderWriter) WriteTagReturns

func (fake *FakeImagesReaderWriter) WriteTagReturns(result1 error)

func (*FakeImagesReaderWriter) WriteTagReturnsOnCall

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

Jump to

Keyboard shortcuts

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