mocks

package
v1.0.5-1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 3 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 Image

type Image struct {
	SetDefaultsStub func(images.Instance) error

	UpdateRequiredStub func(images.Update) bool
	// contains filtered or unexported fields
}

func (*Image) Invocations

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

func (*Image) SetDefaults

func (fake *Image) SetDefaults(arg1 images.Instance) error

func (*Image) SetDefaultsArgsForCall

func (fake *Image) SetDefaultsArgsForCall(i int) images.Instance

func (*Image) SetDefaultsCallCount

func (fake *Image) SetDefaultsCallCount() int

func (*Image) SetDefaultsCalls

func (fake *Image) SetDefaultsCalls(stub func(images.Instance) error)

func (*Image) SetDefaultsReturns

func (fake *Image) SetDefaultsReturns(result1 error)

func (*Image) SetDefaultsReturnsOnCall

func (fake *Image) SetDefaultsReturnsOnCall(i int, result1 error)

func (*Image) UpdateRequired

func (fake *Image) UpdateRequired(arg1 images.Update) bool

func (*Image) UpdateRequiredArgsForCall

func (fake *Image) UpdateRequiredArgsForCall(i int) images.Update

func (*Image) UpdateRequiredCallCount

func (fake *Image) UpdateRequiredCallCount() int

func (*Image) UpdateRequiredCalls

func (fake *Image) UpdateRequiredCalls(stub func(images.Update) bool)

func (*Image) UpdateRequiredReturns

func (fake *Image) UpdateRequiredReturns(result1 bool)

func (*Image) UpdateRequiredReturnsOnCall

func (fake *Image) UpdateRequiredReturnsOnCall(i int, result1 bool)

type Instance

type Instance struct {
	GetArchStub func() []string

	GetFabricVersionStub func() string

	GetRegistryURLStub func() string

	ImagesSetStub func() bool

	SetFabricVersionStub func(string)
	// contains filtered or unexported fields
}

func (*Instance) GetArch

func (fake *Instance) GetArch() []string

func (*Instance) GetArchCallCount

func (fake *Instance) GetArchCallCount() int

func (*Instance) GetArchCalls

func (fake *Instance) GetArchCalls(stub func() []string)

func (*Instance) GetArchReturns

func (fake *Instance) GetArchReturns(result1 []string)

func (*Instance) GetArchReturnsOnCall

func (fake *Instance) GetArchReturnsOnCall(i int, result1 []string)

func (*Instance) GetFabricVersion

func (fake *Instance) GetFabricVersion() string

func (*Instance) GetFabricVersionCallCount

func (fake *Instance) GetFabricVersionCallCount() int

func (*Instance) GetFabricVersionCalls

func (fake *Instance) GetFabricVersionCalls(stub func() string)

func (*Instance) GetFabricVersionReturns

func (fake *Instance) GetFabricVersionReturns(result1 string)

func (*Instance) GetFabricVersionReturnsOnCall

func (fake *Instance) GetFabricVersionReturnsOnCall(i int, result1 string)

func (*Instance) GetRegistryURL

func (fake *Instance) GetRegistryURL() string

func (*Instance) GetRegistryURLCallCount

func (fake *Instance) GetRegistryURLCallCount() int

func (*Instance) GetRegistryURLCalls

func (fake *Instance) GetRegistryURLCalls(stub func() string)

func (*Instance) GetRegistryURLReturns

func (fake *Instance) GetRegistryURLReturns(result1 string)

func (*Instance) GetRegistryURLReturnsOnCall

func (fake *Instance) GetRegistryURLReturnsOnCall(i int, result1 string)

func (*Instance) ImagesSet

func (fake *Instance) ImagesSet() bool

func (*Instance) ImagesSetCallCount

func (fake *Instance) ImagesSetCallCount() int

func (*Instance) ImagesSetCalls

func (fake *Instance) ImagesSetCalls(stub func() bool)

func (*Instance) ImagesSetReturns

func (fake *Instance) ImagesSetReturns(result1 bool)

func (*Instance) ImagesSetReturnsOnCall

func (fake *Instance) ImagesSetReturnsOnCall(i int, result1 bool)

func (*Instance) Invocations

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

func (*Instance) SetFabricVersion

func (fake *Instance) SetFabricVersion(arg1 string)

func (*Instance) SetFabricVersionArgsForCall

func (fake *Instance) SetFabricVersionArgsForCall(i int) string

func (*Instance) SetFabricVersionCallCount

func (fake *Instance) SetFabricVersionCallCount() int

func (*Instance) SetFabricVersionCalls

func (fake *Instance) SetFabricVersionCalls(stub func(string))

type Update

type Update struct {
	FabricVersionUpdatedStub func() bool

	ImagesUpdatedStub func() bool
	// contains filtered or unexported fields
}

func (*Update) FabricVersionUpdated

func (fake *Update) FabricVersionUpdated() bool

func (*Update) FabricVersionUpdatedCallCount

func (fake *Update) FabricVersionUpdatedCallCount() int

func (*Update) FabricVersionUpdatedCalls

func (fake *Update) FabricVersionUpdatedCalls(stub func() bool)

func (*Update) FabricVersionUpdatedReturns

func (fake *Update) FabricVersionUpdatedReturns(result1 bool)

func (*Update) FabricVersionUpdatedReturnsOnCall

func (fake *Update) FabricVersionUpdatedReturnsOnCall(i int, result1 bool)

func (*Update) ImagesUpdated

func (fake *Update) ImagesUpdated() bool

func (*Update) ImagesUpdatedCallCount

func (fake *Update) ImagesUpdatedCallCount() int

func (*Update) ImagesUpdatedCalls

func (fake *Update) ImagesUpdatedCalls(stub func() bool)

func (*Update) ImagesUpdatedReturns

func (fake *Update) ImagesUpdatedReturns(result1 bool)

func (*Update) ImagesUpdatedReturnsOnCall

func (fake *Update) ImagesUpdatedReturnsOnCall(i int, result1 bool)

func (*Update) Invocations

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

type Version

type Version struct {
	NormalizeStub func(images.FabricVersionInstance) string

	ValidateStub func(images.FabricVersionInstance) error
	// contains filtered or unexported fields
}

func (*Version) Invocations

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

func (*Version) Normalize

func (fake *Version) Normalize(arg1 images.FabricVersionInstance) string

func (*Version) NormalizeArgsForCall

func (fake *Version) NormalizeArgsForCall(i int) images.FabricVersionInstance

func (*Version) NormalizeCallCount

func (fake *Version) NormalizeCallCount() int

func (*Version) NormalizeCalls

func (fake *Version) NormalizeCalls(stub func(images.FabricVersionInstance) string)

func (*Version) NormalizeReturns

func (fake *Version) NormalizeReturns(result1 string)

func (*Version) NormalizeReturnsOnCall

func (fake *Version) NormalizeReturnsOnCall(i int, result1 string)

func (*Version) Validate

func (fake *Version) Validate(arg1 images.FabricVersionInstance) error

func (*Version) ValidateArgsForCall

func (fake *Version) ValidateArgsForCall(i int) images.FabricVersionInstance

func (*Version) ValidateCallCount

func (fake *Version) ValidateCallCount() int

func (*Version) ValidateCalls

func (fake *Version) ValidateCalls(stub func(images.FabricVersionInstance) error)

func (*Version) ValidateReturns

func (fake *Version) ValidateReturns(result1 error)

func (*Version) ValidateReturnsOnCall

func (fake *Version) ValidateReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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