commonfakes

package
v6.47.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2019 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 FakeHelpActor

type FakeHelpActor struct {
	CommandInfoByNameStub func(interface{}, string) (sharedaction.CommandInfo, error)

	CommandInfosStub func(interface{}) map[string]sharedaction.CommandInfo
	// contains filtered or unexported fields
}

func (*FakeHelpActor) CommandInfoByName

func (fake *FakeHelpActor) CommandInfoByName(arg1 interface{}, arg2 string) (sharedaction.CommandInfo, error)

func (*FakeHelpActor) CommandInfoByNameArgsForCall

func (fake *FakeHelpActor) CommandInfoByNameArgsForCall(i int) (interface{}, string)

func (*FakeHelpActor) CommandInfoByNameCallCount

func (fake *FakeHelpActor) CommandInfoByNameCallCount() int

func (*FakeHelpActor) CommandInfoByNameCalls

func (fake *FakeHelpActor) CommandInfoByNameCalls(stub func(interface{}, string) (sharedaction.CommandInfo, error))

func (*FakeHelpActor) CommandInfoByNameReturns

func (fake *FakeHelpActor) CommandInfoByNameReturns(result1 sharedaction.CommandInfo, result2 error)

func (*FakeHelpActor) CommandInfoByNameReturnsOnCall

func (fake *FakeHelpActor) CommandInfoByNameReturnsOnCall(i int, result1 sharedaction.CommandInfo, result2 error)

func (*FakeHelpActor) CommandInfos

func (fake *FakeHelpActor) CommandInfos(arg1 interface{}) map[string]sharedaction.CommandInfo

func (*FakeHelpActor) CommandInfosArgsForCall

func (fake *FakeHelpActor) CommandInfosArgsForCall(i int) interface{}

func (*FakeHelpActor) CommandInfosCallCount

func (fake *FakeHelpActor) CommandInfosCallCount() int

func (*FakeHelpActor) CommandInfosCalls

func (fake *FakeHelpActor) CommandInfosCalls(stub func(interface{}) map[string]sharedaction.CommandInfo)

func (*FakeHelpActor) CommandInfosReturns

func (fake *FakeHelpActor) CommandInfosReturns(result1 map[string]sharedaction.CommandInfo)

func (*FakeHelpActor) CommandInfosReturnsOnCall

func (fake *FakeHelpActor) CommandInfosReturnsOnCall(i int, result1 map[string]sharedaction.CommandInfo)

func (*FakeHelpActor) Invocations

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

type FakeInstallPluginActor

type FakeInstallPluginActor struct {
	CreateExecutableCopyStub func(string, string) (string, error)

	DownloadExecutableBinaryFromURLStub func(string, string, plugin.ProxyReader) (string, error)

	FileExistsStub func(string) bool

	GetAndValidatePluginStub func(pluginaction.PluginMetadata, pluginaction.CommandList, string) (configv3.Plugin, error)

	GetPlatformStringStub func(string, string) string

	GetPluginInfoFromRepositoriesForPlatformStub func(string, []configv3.PluginRepository, string) (pluginaction.PluginInfo, []string, error)

	GetPluginRepositoryStub func(string) (configv3.PluginRepository, error)

	InstallPluginFromPathStub func(string, configv3.Plugin) error

	UninstallPluginStub func(pluginaction.PluginUninstaller, string) error

	ValidateFileChecksumStub func(string, string) bool
	// contains filtered or unexported fields
}

func (*FakeInstallPluginActor) CreateExecutableCopy

func (fake *FakeInstallPluginActor) CreateExecutableCopy(arg1 string, arg2 string) (string, error)

func (*FakeInstallPluginActor) CreateExecutableCopyArgsForCall

func (fake *FakeInstallPluginActor) CreateExecutableCopyArgsForCall(i int) (string, string)

func (*FakeInstallPluginActor) CreateExecutableCopyCallCount

func (fake *FakeInstallPluginActor) CreateExecutableCopyCallCount() int

func (*FakeInstallPluginActor) CreateExecutableCopyCalls

func (fake *FakeInstallPluginActor) CreateExecutableCopyCalls(stub func(string, string) (string, error))

func (*FakeInstallPluginActor) CreateExecutableCopyReturns

func (fake *FakeInstallPluginActor) CreateExecutableCopyReturns(result1 string, result2 error)

func (*FakeInstallPluginActor) CreateExecutableCopyReturnsOnCall

func (fake *FakeInstallPluginActor) CreateExecutableCopyReturnsOnCall(i int, result1 string, result2 error)

func (*FakeInstallPluginActor) DownloadExecutableBinaryFromURL

func (fake *FakeInstallPluginActor) DownloadExecutableBinaryFromURL(arg1 string, arg2 string, arg3 plugin.ProxyReader) (string, error)

func (*FakeInstallPluginActor) DownloadExecutableBinaryFromURLArgsForCall

func (fake *FakeInstallPluginActor) DownloadExecutableBinaryFromURLArgsForCall(i int) (string, string, plugin.ProxyReader)

func (*FakeInstallPluginActor) DownloadExecutableBinaryFromURLCallCount

func (fake *FakeInstallPluginActor) DownloadExecutableBinaryFromURLCallCount() int

func (*FakeInstallPluginActor) DownloadExecutableBinaryFromURLCalls

func (fake *FakeInstallPluginActor) DownloadExecutableBinaryFromURLCalls(stub func(string, string, plugin.ProxyReader) (string, error))

func (*FakeInstallPluginActor) DownloadExecutableBinaryFromURLReturns

func (fake *FakeInstallPluginActor) DownloadExecutableBinaryFromURLReturns(result1 string, result2 error)

func (*FakeInstallPluginActor) DownloadExecutableBinaryFromURLReturnsOnCall

func (fake *FakeInstallPluginActor) DownloadExecutableBinaryFromURLReturnsOnCall(i int, result1 string, result2 error)

func (*FakeInstallPluginActor) FileExists

func (fake *FakeInstallPluginActor) FileExists(arg1 string) bool

func (*FakeInstallPluginActor) FileExistsArgsForCall

func (fake *FakeInstallPluginActor) FileExistsArgsForCall(i int) string

func (*FakeInstallPluginActor) FileExistsCallCount

func (fake *FakeInstallPluginActor) FileExistsCallCount() int

func (*FakeInstallPluginActor) FileExistsCalls

func (fake *FakeInstallPluginActor) FileExistsCalls(stub func(string) bool)

func (*FakeInstallPluginActor) FileExistsReturns

func (fake *FakeInstallPluginActor) FileExistsReturns(result1 bool)

func (*FakeInstallPluginActor) FileExistsReturnsOnCall

func (fake *FakeInstallPluginActor) FileExistsReturnsOnCall(i int, result1 bool)

func (*FakeInstallPluginActor) GetAndValidatePlugin

func (fake *FakeInstallPluginActor) GetAndValidatePlugin(arg1 pluginaction.PluginMetadata, arg2 pluginaction.CommandList, arg3 string) (configv3.Plugin, error)

func (*FakeInstallPluginActor) GetAndValidatePluginArgsForCall

func (fake *FakeInstallPluginActor) GetAndValidatePluginArgsForCall(i int) (pluginaction.PluginMetadata, pluginaction.CommandList, string)

func (*FakeInstallPluginActor) GetAndValidatePluginCallCount

func (fake *FakeInstallPluginActor) GetAndValidatePluginCallCount() int

func (*FakeInstallPluginActor) GetAndValidatePluginCalls

func (fake *FakeInstallPluginActor) GetAndValidatePluginCalls(stub func(pluginaction.PluginMetadata, pluginaction.CommandList, string) (configv3.Plugin, error))

func (*FakeInstallPluginActor) GetAndValidatePluginReturns

func (fake *FakeInstallPluginActor) GetAndValidatePluginReturns(result1 configv3.Plugin, result2 error)

func (*FakeInstallPluginActor) GetAndValidatePluginReturnsOnCall

func (fake *FakeInstallPluginActor) GetAndValidatePluginReturnsOnCall(i int, result1 configv3.Plugin, result2 error)

func (*FakeInstallPluginActor) GetPlatformString

func (fake *FakeInstallPluginActor) GetPlatformString(arg1 string, arg2 string) string

func (*FakeInstallPluginActor) GetPlatformStringArgsForCall

func (fake *FakeInstallPluginActor) GetPlatformStringArgsForCall(i int) (string, string)

func (*FakeInstallPluginActor) GetPlatformStringCallCount

func (fake *FakeInstallPluginActor) GetPlatformStringCallCount() int

func (*FakeInstallPluginActor) GetPlatformStringCalls

func (fake *FakeInstallPluginActor) GetPlatformStringCalls(stub func(string, string) string)

func (*FakeInstallPluginActor) GetPlatformStringReturns

func (fake *FakeInstallPluginActor) GetPlatformStringReturns(result1 string)

func (*FakeInstallPluginActor) GetPlatformStringReturnsOnCall

func (fake *FakeInstallPluginActor) GetPlatformStringReturnsOnCall(i int, result1 string)

func (*FakeInstallPluginActor) GetPluginInfoFromRepositoriesForPlatform

func (fake *FakeInstallPluginActor) GetPluginInfoFromRepositoriesForPlatform(arg1 string, arg2 []configv3.PluginRepository, arg3 string) (pluginaction.PluginInfo, []string, error)

func (*FakeInstallPluginActor) GetPluginInfoFromRepositoriesForPlatformArgsForCall

func (fake *FakeInstallPluginActor) GetPluginInfoFromRepositoriesForPlatformArgsForCall(i int) (string, []configv3.PluginRepository, string)

func (*FakeInstallPluginActor) GetPluginInfoFromRepositoriesForPlatformCallCount

func (fake *FakeInstallPluginActor) GetPluginInfoFromRepositoriesForPlatformCallCount() int

func (*FakeInstallPluginActor) GetPluginInfoFromRepositoriesForPlatformCalls

func (fake *FakeInstallPluginActor) GetPluginInfoFromRepositoriesForPlatformCalls(stub func(string, []configv3.PluginRepository, string) (pluginaction.PluginInfo, []string, error))

func (*FakeInstallPluginActor) GetPluginInfoFromRepositoriesForPlatformReturns

func (fake *FakeInstallPluginActor) GetPluginInfoFromRepositoriesForPlatformReturns(result1 pluginaction.PluginInfo, result2 []string, result3 error)

func (*FakeInstallPluginActor) GetPluginInfoFromRepositoriesForPlatformReturnsOnCall

func (fake *FakeInstallPluginActor) GetPluginInfoFromRepositoriesForPlatformReturnsOnCall(i int, result1 pluginaction.PluginInfo, result2 []string, result3 error)

func (*FakeInstallPluginActor) GetPluginRepository

func (fake *FakeInstallPluginActor) GetPluginRepository(arg1 string) (configv3.PluginRepository, error)

func (*FakeInstallPluginActor) GetPluginRepositoryArgsForCall

func (fake *FakeInstallPluginActor) GetPluginRepositoryArgsForCall(i int) string

func (*FakeInstallPluginActor) GetPluginRepositoryCallCount

func (fake *FakeInstallPluginActor) GetPluginRepositoryCallCount() int

func (*FakeInstallPluginActor) GetPluginRepositoryCalls

func (fake *FakeInstallPluginActor) GetPluginRepositoryCalls(stub func(string) (configv3.PluginRepository, error))

func (*FakeInstallPluginActor) GetPluginRepositoryReturns

func (fake *FakeInstallPluginActor) GetPluginRepositoryReturns(result1 configv3.PluginRepository, result2 error)

func (*FakeInstallPluginActor) GetPluginRepositoryReturnsOnCall

func (fake *FakeInstallPluginActor) GetPluginRepositoryReturnsOnCall(i int, result1 configv3.PluginRepository, result2 error)

func (*FakeInstallPluginActor) InstallPluginFromPath

func (fake *FakeInstallPluginActor) InstallPluginFromPath(arg1 string, arg2 configv3.Plugin) error

func (*FakeInstallPluginActor) InstallPluginFromPathArgsForCall

func (fake *FakeInstallPluginActor) InstallPluginFromPathArgsForCall(i int) (string, configv3.Plugin)

func (*FakeInstallPluginActor) InstallPluginFromPathCallCount

func (fake *FakeInstallPluginActor) InstallPluginFromPathCallCount() int

func (*FakeInstallPluginActor) InstallPluginFromPathCalls

func (fake *FakeInstallPluginActor) InstallPluginFromPathCalls(stub func(string, configv3.Plugin) error)

func (*FakeInstallPluginActor) InstallPluginFromPathReturns

func (fake *FakeInstallPluginActor) InstallPluginFromPathReturns(result1 error)

func (*FakeInstallPluginActor) InstallPluginFromPathReturnsOnCall

func (fake *FakeInstallPluginActor) InstallPluginFromPathReturnsOnCall(i int, result1 error)

func (*FakeInstallPluginActor) Invocations

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

func (*FakeInstallPluginActor) UninstallPlugin

func (fake *FakeInstallPluginActor) UninstallPlugin(arg1 pluginaction.PluginUninstaller, arg2 string) error

func (*FakeInstallPluginActor) UninstallPluginArgsForCall

func (fake *FakeInstallPluginActor) UninstallPluginArgsForCall(i int) (pluginaction.PluginUninstaller, string)

func (*FakeInstallPluginActor) UninstallPluginCallCount

func (fake *FakeInstallPluginActor) UninstallPluginCallCount() int

func (*FakeInstallPluginActor) UninstallPluginCalls

func (fake *FakeInstallPluginActor) UninstallPluginCalls(stub func(pluginaction.PluginUninstaller, string) error)

func (*FakeInstallPluginActor) UninstallPluginReturns

func (fake *FakeInstallPluginActor) UninstallPluginReturns(result1 error)

func (*FakeInstallPluginActor) UninstallPluginReturnsOnCall

func (fake *FakeInstallPluginActor) UninstallPluginReturnsOnCall(i int, result1 error)

func (*FakeInstallPluginActor) ValidateFileChecksum

func (fake *FakeInstallPluginActor) ValidateFileChecksum(arg1 string, arg2 string) bool

func (*FakeInstallPluginActor) ValidateFileChecksumArgsForCall

func (fake *FakeInstallPluginActor) ValidateFileChecksumArgsForCall(i int) (string, string)

func (*FakeInstallPluginActor) ValidateFileChecksumCallCount

func (fake *FakeInstallPluginActor) ValidateFileChecksumCallCount() int

func (*FakeInstallPluginActor) ValidateFileChecksumCalls

func (fake *FakeInstallPluginActor) ValidateFileChecksumCalls(stub func(string, string) bool)

func (*FakeInstallPluginActor) ValidateFileChecksumReturns

func (fake *FakeInstallPluginActor) ValidateFileChecksumReturns(result1 bool)

func (*FakeInstallPluginActor) ValidateFileChecksumReturnsOnCall

func (fake *FakeInstallPluginActor) ValidateFileChecksumReturnsOnCall(i int, result1 bool)

Jump to

Keyboard shortcuts

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