commonfakes

package
v6.35.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2018 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) 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) 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(path string, tempPluginDir string) (string, error)

	DownloadExecutableBinaryFromURLStub func(url string, tempPluginDir string, proxyReader plugin.ProxyReader) (string, error)

	FileExistsStub func(path string) bool

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

	GetPlatformStringStub func(runtimeGOOS string, runtimeGOARCH string) string

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

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

	InstallPluginFromPathStub func(path string, plugin configv3.Plugin) error

	UninstallPluginStub func(uninstaller pluginaction.PluginUninstaller, name string) error

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

func (*FakeInstallPluginActor) CreateExecutableCopy

func (fake *FakeInstallPluginActor) CreateExecutableCopy(path string, tempPluginDir string) (string, error)

func (*FakeInstallPluginActor) CreateExecutableCopyArgsForCall

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

func (*FakeInstallPluginActor) CreateExecutableCopyCallCount

func (fake *FakeInstallPluginActor) CreateExecutableCopyCallCount() int

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(url string, tempPluginDir string, proxyReader 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) 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(path string) bool

func (*FakeInstallPluginActor) FileExistsArgsForCall

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

func (*FakeInstallPluginActor) FileExistsCallCount

func (fake *FakeInstallPluginActor) FileExistsCallCount() int

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(metadata pluginaction.PluginMetadata, commands pluginaction.CommandList, path 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) 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(runtimeGOOS string, runtimeGOARCH string) string

func (*FakeInstallPluginActor) GetPlatformStringArgsForCall

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

func (*FakeInstallPluginActor) GetPlatformStringCallCount

func (fake *FakeInstallPluginActor) GetPlatformStringCallCount() int

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(pluginName string, pluginRepos []configv3.PluginRepository, platform 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) 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(repositoryName string) (configv3.PluginRepository, error)

func (*FakeInstallPluginActor) GetPluginRepositoryArgsForCall

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

func (*FakeInstallPluginActor) GetPluginRepositoryCallCount

func (fake *FakeInstallPluginActor) GetPluginRepositoryCallCount() int

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(path string, plugin 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) 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(uninstaller pluginaction.PluginUninstaller, name string) error

func (*FakeInstallPluginActor) UninstallPluginArgsForCall

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

func (*FakeInstallPluginActor) UninstallPluginCallCount

func (fake *FakeInstallPluginActor) UninstallPluginCallCount() int

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(path string, checksum string) bool

func (*FakeInstallPluginActor) ValidateFileChecksumArgsForCall

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

func (*FakeInstallPluginActor) ValidateFileChecksumCallCount

func (fake *FakeInstallPluginActor) ValidateFileChecksumCallCount() int

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