bundlefakes

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 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.

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 {
	DigestStub func(name.Reference) (v1.Hash, error)

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

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

	HeadStub func(name.Reference) (*v1.Descriptor, error)

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

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

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

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

func (*FakeImagesMetadataWriter) HeadArgsForCall

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

func (*FakeImagesMetadataWriter) HeadCallCount

func (fake *FakeImagesMetadataWriter) HeadCallCount() int

func (*FakeImagesMetadataWriter) HeadCalls

func (fake *FakeImagesMetadataWriter) HeadCalls(stub func(name.Reference) (*v1.Descriptor, error))

func (*FakeImagesMetadataWriter) HeadReturns

func (fake *FakeImagesMetadataWriter) HeadReturns(result1 *v1.Descriptor, result2 error)

func (*FakeImagesMetadataWriter) HeadReturnsOnCall

func (fake *FakeImagesMetadataWriter) HeadReturnsOnCall(i int, result1 *v1.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) Index

func (*FakeImagesMetadataWriter) IndexArgsForCall

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

func (*FakeImagesMetadataWriter) IndexCallCount

func (fake *FakeImagesMetadataWriter) IndexCallCount() int

func (*FakeImagesMetadataWriter) IndexCalls

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

func (*FakeImagesMetadataWriter) IndexReturns

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

func (*FakeImagesMetadataWriter) IndexReturnsOnCall

func (fake *FakeImagesMetadataWriter) IndexReturnsOnCall(i int, result1 v1.ImageIndex, 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) error

func (*FakeImagesMetadataWriter) WriteImageArgsForCall

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

func (*FakeImagesMetadataWriter) WriteImageCallCount

func (fake *FakeImagesMetadataWriter) WriteImageCallCount() int

func (*FakeImagesMetadataWriter) WriteImageCalls

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

func (*FakeImagesMetadataWriter) WriteImageReturns

func (fake *FakeImagesMetadataWriter) WriteImageReturns(result1 error)

func (*FakeImagesMetadataWriter) WriteImageReturnsOnCall

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

type FakeUI

type FakeUI struct {
	AskForChoiceStub func(string, []string) (int, error)

	AskForConfirmationStub func() error

	AskForPasswordStub func(string) (string, error)

	AskForTextStub func(string) (string, error)

	BeginLinefStub func(string, ...interface{})

	EndLinefStub func(string, ...interface{})

	ErrorLinefStub func(string, ...interface{})

	FlushStub func()

	IsInteractiveStub func() bool

	PrintBlockStub func([]byte)

	PrintErrorBlockStub func(string)

	PrintLinefStub func(string, ...interface{})

	PrintTableStub func(table.Table)
	// contains filtered or unexported fields
}

func (*FakeUI) AskForChoice

func (fake *FakeUI) AskForChoice(arg1 string, arg2 []string) (int, error)

func (*FakeUI) AskForChoiceArgsForCall

func (fake *FakeUI) AskForChoiceArgsForCall(i int) (string, []string)

func (*FakeUI) AskForChoiceCallCount

func (fake *FakeUI) AskForChoiceCallCount() int

func (*FakeUI) AskForChoiceCalls

func (fake *FakeUI) AskForChoiceCalls(stub func(string, []string) (int, error))

func (*FakeUI) AskForChoiceReturns

func (fake *FakeUI) AskForChoiceReturns(result1 int, result2 error)

func (*FakeUI) AskForChoiceReturnsOnCall

func (fake *FakeUI) AskForChoiceReturnsOnCall(i int, result1 int, result2 error)

func (*FakeUI) AskForConfirmation

func (fake *FakeUI) AskForConfirmation() error

func (*FakeUI) AskForConfirmationCallCount

func (fake *FakeUI) AskForConfirmationCallCount() int

func (*FakeUI) AskForConfirmationCalls

func (fake *FakeUI) AskForConfirmationCalls(stub func() error)

func (*FakeUI) AskForConfirmationReturns

func (fake *FakeUI) AskForConfirmationReturns(result1 error)

func (*FakeUI) AskForConfirmationReturnsOnCall

func (fake *FakeUI) AskForConfirmationReturnsOnCall(i int, result1 error)

func (*FakeUI) AskForPassword

func (fake *FakeUI) AskForPassword(arg1 string) (string, error)

func (*FakeUI) AskForPasswordArgsForCall

func (fake *FakeUI) AskForPasswordArgsForCall(i int) string

func (*FakeUI) AskForPasswordCallCount

func (fake *FakeUI) AskForPasswordCallCount() int

func (*FakeUI) AskForPasswordCalls

func (fake *FakeUI) AskForPasswordCalls(stub func(string) (string, error))

func (*FakeUI) AskForPasswordReturns

func (fake *FakeUI) AskForPasswordReturns(result1 string, result2 error)

func (*FakeUI) AskForPasswordReturnsOnCall

func (fake *FakeUI) AskForPasswordReturnsOnCall(i int, result1 string, result2 error)

func (*FakeUI) AskForText

func (fake *FakeUI) AskForText(arg1 string) (string, error)

func (*FakeUI) AskForTextArgsForCall

func (fake *FakeUI) AskForTextArgsForCall(i int) string

func (*FakeUI) AskForTextCallCount

func (fake *FakeUI) AskForTextCallCount() int

func (*FakeUI) AskForTextCalls

func (fake *FakeUI) AskForTextCalls(stub func(string) (string, error))

func (*FakeUI) AskForTextReturns

func (fake *FakeUI) AskForTextReturns(result1 string, result2 error)

func (*FakeUI) AskForTextReturnsOnCall

func (fake *FakeUI) AskForTextReturnsOnCall(i int, result1 string, result2 error)

func (*FakeUI) BeginLinef

func (fake *FakeUI) BeginLinef(arg1 string, arg2 ...interface{})

func (*FakeUI) BeginLinefArgsForCall

func (fake *FakeUI) BeginLinefArgsForCall(i int) (string, []interface{})

func (*FakeUI) BeginLinefCallCount

func (fake *FakeUI) BeginLinefCallCount() int

func (*FakeUI) BeginLinefCalls

func (fake *FakeUI) BeginLinefCalls(stub func(string, ...interface{}))

func (*FakeUI) EndLinef

func (fake *FakeUI) EndLinef(arg1 string, arg2 ...interface{})

func (*FakeUI) EndLinefArgsForCall

func (fake *FakeUI) EndLinefArgsForCall(i int) (string, []interface{})

func (*FakeUI) EndLinefCallCount

func (fake *FakeUI) EndLinefCallCount() int

func (*FakeUI) EndLinefCalls

func (fake *FakeUI) EndLinefCalls(stub func(string, ...interface{}))

func (*FakeUI) ErrorLinef

func (fake *FakeUI) ErrorLinef(arg1 string, arg2 ...interface{})

func (*FakeUI) ErrorLinefArgsForCall

func (fake *FakeUI) ErrorLinefArgsForCall(i int) (string, []interface{})

func (*FakeUI) ErrorLinefCallCount

func (fake *FakeUI) ErrorLinefCallCount() int

func (*FakeUI) ErrorLinefCalls

func (fake *FakeUI) ErrorLinefCalls(stub func(string, ...interface{}))

func (*FakeUI) Flush

func (fake *FakeUI) Flush()

func (*FakeUI) FlushCallCount

func (fake *FakeUI) FlushCallCount() int

func (*FakeUI) FlushCalls

func (fake *FakeUI) FlushCalls(stub func())

func (*FakeUI) Invocations

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

func (*FakeUI) IsInteractive

func (fake *FakeUI) IsInteractive() bool

func (*FakeUI) IsInteractiveCallCount

func (fake *FakeUI) IsInteractiveCallCount() int

func (*FakeUI) IsInteractiveCalls

func (fake *FakeUI) IsInteractiveCalls(stub func() bool)

func (*FakeUI) IsInteractiveReturns

func (fake *FakeUI) IsInteractiveReturns(result1 bool)

func (*FakeUI) IsInteractiveReturnsOnCall

func (fake *FakeUI) IsInteractiveReturnsOnCall(i int, result1 bool)

func (*FakeUI) PrintBlock

func (fake *FakeUI) PrintBlock(arg1 []byte)

func (*FakeUI) PrintBlockArgsForCall

func (fake *FakeUI) PrintBlockArgsForCall(i int) []byte

func (*FakeUI) PrintBlockCallCount

func (fake *FakeUI) PrintBlockCallCount() int

func (*FakeUI) PrintBlockCalls

func (fake *FakeUI) PrintBlockCalls(stub func([]byte))

func (*FakeUI) PrintErrorBlock

func (fake *FakeUI) PrintErrorBlock(arg1 string)

func (*FakeUI) PrintErrorBlockArgsForCall

func (fake *FakeUI) PrintErrorBlockArgsForCall(i int) string

func (*FakeUI) PrintErrorBlockCallCount

func (fake *FakeUI) PrintErrorBlockCallCount() int

func (*FakeUI) PrintErrorBlockCalls

func (fake *FakeUI) PrintErrorBlockCalls(stub func(string))

func (*FakeUI) PrintLinef

func (fake *FakeUI) PrintLinef(arg1 string, arg2 ...interface{})

func (*FakeUI) PrintLinefArgsForCall

func (fake *FakeUI) PrintLinefArgsForCall(i int) (string, []interface{})

func (*FakeUI) PrintLinefCallCount

func (fake *FakeUI) PrintLinefCallCount() int

func (*FakeUI) PrintLinefCalls

func (fake *FakeUI) PrintLinefCalls(stub func(string, ...interface{}))

func (*FakeUI) PrintTable

func (fake *FakeUI) PrintTable(arg1 table.Table)

func (*FakeUI) PrintTableArgsForCall

func (fake *FakeUI) PrintTableArgsForCall(i int) table.Table

func (*FakeUI) PrintTableCallCount

func (fake *FakeUI) PrintTableCallCount() int

func (*FakeUI) PrintTableCalls

func (fake *FakeUI) PrintTableCalls(stub func(table.Table))

Jump to

Keyboard shortcuts

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