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.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeCommandList
- func (fake *FakeCommandList) HasAlias(arg1 string) bool
- func (fake *FakeCommandList) HasAliasArgsForCall(i int) string
- func (fake *FakeCommandList) HasAliasCallCount() int
- func (fake *FakeCommandList) HasAliasReturns(result1 bool)
- func (fake *FakeCommandList) HasAliasReturnsOnCall(i int, result1 bool)
- func (fake *FakeCommandList) HasCommand(arg1 string) bool
- func (fake *FakeCommandList) HasCommandArgsForCall(i int) string
- func (fake *FakeCommandList) HasCommandCallCount() int
- func (fake *FakeCommandList) HasCommandReturns(result1 bool)
- func (fake *FakeCommandList) HasCommandReturnsOnCall(i int, result1 bool)
- func (fake *FakeCommandList) Invocations() map[string][][]interface{}
- type FakeConfig
- func (fake *FakeConfig) AddPlugin(arg1 configv3.Plugin)
- func (fake *FakeConfig) AddPluginArgsForCall(i int) configv3.Plugin
- func (fake *FakeConfig) AddPluginCallCount() int
- func (fake *FakeConfig) AddPluginRepository(repoName string, repoURL string)
- func (fake *FakeConfig) AddPluginRepositoryArgsForCall(i int) (string, string)
- func (fake *FakeConfig) AddPluginRepositoryCallCount() int
- func (fake *FakeConfig) GetPlugin(pluginName string) (configv3.Plugin, bool)
- func (fake *FakeConfig) GetPluginArgsForCall(i int) string
- func (fake *FakeConfig) GetPluginCallCount() int
- func (fake *FakeConfig) GetPluginReturns(result1 configv3.Plugin, result2 bool)
- func (fake *FakeConfig) GetPluginReturnsOnCall(i int, result1 configv3.Plugin, result2 bool)
- func (fake *FakeConfig) Invocations() map[string][][]interface{}
- func (fake *FakeConfig) PluginHome() string
- func (fake *FakeConfig) PluginHomeCallCount() int
- func (fake *FakeConfig) PluginHomeReturns(result1 string)
- func (fake *FakeConfig) PluginHomeReturnsOnCall(i int, result1 string)
- func (fake *FakeConfig) PluginRepositories() []configv3.PluginRepository
- func (fake *FakeConfig) PluginRepositoriesCallCount() int
- func (fake *FakeConfig) PluginRepositoriesReturns(result1 []configv3.PluginRepository)
- func (fake *FakeConfig) PluginRepositoriesReturnsOnCall(i int, result1 []configv3.PluginRepository)
- func (fake *FakeConfig) Plugins() []configv3.Plugin
- func (fake *FakeConfig) PluginsCallCount() int
- func (fake *FakeConfig) PluginsReturns(result1 []configv3.Plugin)
- func (fake *FakeConfig) PluginsReturnsOnCall(i int, result1 []configv3.Plugin)
- func (fake *FakeConfig) RemovePlugin(arg1 string)
- func (fake *FakeConfig) RemovePluginArgsForCall(i int) string
- func (fake *FakeConfig) RemovePluginCallCount() int
- func (fake *FakeConfig) WritePluginConfig() error
- func (fake *FakeConfig) WritePluginConfigCallCount() int
- func (fake *FakeConfig) WritePluginConfigReturns(result1 error)
- func (fake *FakeConfig) WritePluginConfigReturnsOnCall(i int, result1 error)
- type FakePluginClient
- func (fake *FakePluginClient) DownloadPlugin(pluginURL string, path string, proxyReader plugin.ProxyReader) error
- func (fake *FakePluginClient) DownloadPluginArgsForCall(i int) (string, string, plugin.ProxyReader)
- func (fake *FakePluginClient) DownloadPluginCallCount() int
- func (fake *FakePluginClient) DownloadPluginReturns(result1 error)
- func (fake *FakePluginClient) DownloadPluginReturnsOnCall(i int, result1 error)
- func (fake *FakePluginClient) GetPluginRepository(repositoryURL string) (plugin.PluginRepository, error)
- func (fake *FakePluginClient) GetPluginRepositoryArgsForCall(i int) string
- func (fake *FakePluginClient) GetPluginRepositoryCallCount() int
- func (fake *FakePluginClient) GetPluginRepositoryReturns(result1 plugin.PluginRepository, result2 error)
- func (fake *FakePluginClient) GetPluginRepositoryReturnsOnCall(i int, result1 plugin.PluginRepository, result2 error)
- func (fake *FakePluginClient) Invocations() map[string][][]interface{}
- type FakePluginMetadata
- func (fake *FakePluginMetadata) GetMetadata(pluginPath string) (configv3.Plugin, error)
- func (fake *FakePluginMetadata) GetMetadataArgsForCall(i int) string
- func (fake *FakePluginMetadata) GetMetadataCallCount() int
- func (fake *FakePluginMetadata) GetMetadataReturns(result1 configv3.Plugin, result2 error)
- func (fake *FakePluginMetadata) GetMetadataReturnsOnCall(i int, result1 configv3.Plugin, result2 error)
- func (fake *FakePluginMetadata) Invocations() map[string][][]interface{}
- type FakePluginUninstaller
- func (fake *FakePluginUninstaller) Invocations() map[string][][]interface{}
- func (fake *FakePluginUninstaller) Run(pluginPath string, command string) error
- func (fake *FakePluginUninstaller) RunArgsForCall(i int) (string, string)
- func (fake *FakePluginUninstaller) RunCallCount() int
- func (fake *FakePluginUninstaller) RunReturns(result1 error)
- func (fake *FakePluginUninstaller) RunReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCommandList ¶
type FakeCommandList struct { HasCommandStub func(string) bool HasAliasStub func(string) bool // contains filtered or unexported fields }
func (*FakeCommandList) HasAlias ¶
func (fake *FakeCommandList) HasAlias(arg1 string) bool
func (*FakeCommandList) HasAliasArgsForCall ¶
func (fake *FakeCommandList) HasAliasArgsForCall(i int) string
func (*FakeCommandList) HasAliasCallCount ¶
func (fake *FakeCommandList) HasAliasCallCount() int
func (*FakeCommandList) HasAliasReturns ¶
func (fake *FakeCommandList) HasAliasReturns(result1 bool)
func (*FakeCommandList) HasAliasReturnsOnCall ¶
func (fake *FakeCommandList) HasAliasReturnsOnCall(i int, result1 bool)
func (*FakeCommandList) HasCommand ¶
func (fake *FakeCommandList) HasCommand(arg1 string) bool
func (*FakeCommandList) HasCommandArgsForCall ¶
func (fake *FakeCommandList) HasCommandArgsForCall(i int) string
func (*FakeCommandList) HasCommandCallCount ¶
func (fake *FakeCommandList) HasCommandCallCount() int
func (*FakeCommandList) HasCommandReturns ¶
func (fake *FakeCommandList) HasCommandReturns(result1 bool)
func (*FakeCommandList) HasCommandReturnsOnCall ¶
func (fake *FakeCommandList) HasCommandReturnsOnCall(i int, result1 bool)
func (*FakeCommandList) Invocations ¶
func (fake *FakeCommandList) Invocations() map[string][][]interface{}
type FakeConfig ¶
type FakeConfig struct { AddPluginStub func(configv3.Plugin) AddPluginRepositoryStub func(repoName string, repoURL string) GetPluginStub func(pluginName string) (configv3.Plugin, bool) PluginHomeStub func() string PluginRepositoriesStub func() []configv3.PluginRepository PluginsStub func() []configv3.Plugin RemovePluginStub func(string) WritePluginConfigStub func() error // contains filtered or unexported fields }
func (*FakeConfig) AddPlugin ¶
func (fake *FakeConfig) AddPlugin(arg1 configv3.Plugin)
func (*FakeConfig) AddPluginArgsForCall ¶
func (fake *FakeConfig) AddPluginArgsForCall(i int) configv3.Plugin
func (*FakeConfig) AddPluginCallCount ¶
func (fake *FakeConfig) AddPluginCallCount() int
func (*FakeConfig) AddPluginRepository ¶
func (fake *FakeConfig) AddPluginRepository(repoName string, repoURL string)
func (*FakeConfig) AddPluginRepositoryArgsForCall ¶
func (fake *FakeConfig) AddPluginRepositoryArgsForCall(i int) (string, string)
func (*FakeConfig) AddPluginRepositoryCallCount ¶
func (fake *FakeConfig) AddPluginRepositoryCallCount() int
func (*FakeConfig) GetPlugin ¶
func (fake *FakeConfig) GetPlugin(pluginName string) (configv3.Plugin, bool)
func (*FakeConfig) GetPluginArgsForCall ¶
func (fake *FakeConfig) GetPluginArgsForCall(i int) string
func (*FakeConfig) GetPluginCallCount ¶
func (fake *FakeConfig) GetPluginCallCount() int
func (*FakeConfig) GetPluginReturns ¶
func (fake *FakeConfig) GetPluginReturns(result1 configv3.Plugin, result2 bool)
func (*FakeConfig) GetPluginReturnsOnCall ¶
func (fake *FakeConfig) GetPluginReturnsOnCall(i int, result1 configv3.Plugin, result2 bool)
func (*FakeConfig) Invocations ¶
func (fake *FakeConfig) Invocations() map[string][][]interface{}
func (*FakeConfig) PluginHome ¶
func (fake *FakeConfig) PluginHome() string
func (*FakeConfig) PluginHomeCallCount ¶
func (fake *FakeConfig) PluginHomeCallCount() int
func (*FakeConfig) PluginHomeReturns ¶
func (fake *FakeConfig) PluginHomeReturns(result1 string)
func (*FakeConfig) PluginHomeReturnsOnCall ¶
func (fake *FakeConfig) PluginHomeReturnsOnCall(i int, result1 string)
func (*FakeConfig) PluginRepositories ¶
func (fake *FakeConfig) PluginRepositories() []configv3.PluginRepository
func (*FakeConfig) PluginRepositoriesCallCount ¶
func (fake *FakeConfig) PluginRepositoriesCallCount() int
func (*FakeConfig) PluginRepositoriesReturns ¶
func (fake *FakeConfig) PluginRepositoriesReturns(result1 []configv3.PluginRepository)
func (*FakeConfig) PluginRepositoriesReturnsOnCall ¶
func (fake *FakeConfig) PluginRepositoriesReturnsOnCall(i int, result1 []configv3.PluginRepository)
func (*FakeConfig) Plugins ¶
func (fake *FakeConfig) Plugins() []configv3.Plugin
func (*FakeConfig) PluginsCallCount ¶
func (fake *FakeConfig) PluginsCallCount() int
func (*FakeConfig) PluginsReturns ¶
func (fake *FakeConfig) PluginsReturns(result1 []configv3.Plugin)
func (*FakeConfig) PluginsReturnsOnCall ¶
func (fake *FakeConfig) PluginsReturnsOnCall(i int, result1 []configv3.Plugin)
func (*FakeConfig) RemovePlugin ¶
func (fake *FakeConfig) RemovePlugin(arg1 string)
func (*FakeConfig) RemovePluginArgsForCall ¶
func (fake *FakeConfig) RemovePluginArgsForCall(i int) string
func (*FakeConfig) RemovePluginCallCount ¶
func (fake *FakeConfig) RemovePluginCallCount() int
func (*FakeConfig) WritePluginConfig ¶
func (fake *FakeConfig) WritePluginConfig() error
func (*FakeConfig) WritePluginConfigCallCount ¶
func (fake *FakeConfig) WritePluginConfigCallCount() int
func (*FakeConfig) WritePluginConfigReturns ¶
func (fake *FakeConfig) WritePluginConfigReturns(result1 error)
func (*FakeConfig) WritePluginConfigReturnsOnCall ¶
func (fake *FakeConfig) WritePluginConfigReturnsOnCall(i int, result1 error)
type FakePluginClient ¶
type FakePluginClient struct { GetPluginRepositoryStub func(repositoryURL string) (plugin.PluginRepository, error) DownloadPluginStub func(pluginURL string, path string, proxyReader plugin.ProxyReader) error // contains filtered or unexported fields }
func (*FakePluginClient) DownloadPlugin ¶
func (fake *FakePluginClient) DownloadPlugin(pluginURL string, path string, proxyReader plugin.ProxyReader) error
func (*FakePluginClient) DownloadPluginArgsForCall ¶
func (fake *FakePluginClient) DownloadPluginArgsForCall(i int) (string, string, plugin.ProxyReader)
func (*FakePluginClient) DownloadPluginCallCount ¶
func (fake *FakePluginClient) DownloadPluginCallCount() int
func (*FakePluginClient) DownloadPluginReturns ¶
func (fake *FakePluginClient) DownloadPluginReturns(result1 error)
func (*FakePluginClient) DownloadPluginReturnsOnCall ¶
func (fake *FakePluginClient) DownloadPluginReturnsOnCall(i int, result1 error)
func (*FakePluginClient) GetPluginRepository ¶
func (fake *FakePluginClient) GetPluginRepository(repositoryURL string) (plugin.PluginRepository, error)
func (*FakePluginClient) GetPluginRepositoryArgsForCall ¶
func (fake *FakePluginClient) GetPluginRepositoryArgsForCall(i int) string
func (*FakePluginClient) GetPluginRepositoryCallCount ¶
func (fake *FakePluginClient) GetPluginRepositoryCallCount() int
func (*FakePluginClient) GetPluginRepositoryReturns ¶
func (fake *FakePluginClient) GetPluginRepositoryReturns(result1 plugin.PluginRepository, result2 error)
func (*FakePluginClient) GetPluginRepositoryReturnsOnCall ¶
func (fake *FakePluginClient) GetPluginRepositoryReturnsOnCall(i int, result1 plugin.PluginRepository, result2 error)
func (*FakePluginClient) Invocations ¶
func (fake *FakePluginClient) Invocations() map[string][][]interface{}
type FakePluginMetadata ¶
type FakePluginMetadata struct { GetMetadataStub func(pluginPath string) (configv3.Plugin, error) // contains filtered or unexported fields }
func (*FakePluginMetadata) GetMetadata ¶
func (fake *FakePluginMetadata) GetMetadata(pluginPath string) (configv3.Plugin, error)
func (*FakePluginMetadata) GetMetadataArgsForCall ¶
func (fake *FakePluginMetadata) GetMetadataArgsForCall(i int) string
func (*FakePluginMetadata) GetMetadataCallCount ¶
func (fake *FakePluginMetadata) GetMetadataCallCount() int
func (*FakePluginMetadata) GetMetadataReturns ¶
func (fake *FakePluginMetadata) GetMetadataReturns(result1 configv3.Plugin, result2 error)
func (*FakePluginMetadata) GetMetadataReturnsOnCall ¶
func (fake *FakePluginMetadata) GetMetadataReturnsOnCall(i int, result1 configv3.Plugin, result2 error)
func (*FakePluginMetadata) Invocations ¶
func (fake *FakePluginMetadata) Invocations() map[string][][]interface{}
type FakePluginUninstaller ¶
type FakePluginUninstaller struct { RunStub func(pluginPath string, command string) error // contains filtered or unexported fields }
func (*FakePluginUninstaller) Invocations ¶
func (fake *FakePluginUninstaller) Invocations() map[string][][]interface{}
func (*FakePluginUninstaller) Run ¶
func (fake *FakePluginUninstaller) Run(pluginPath string, command string) error
func (*FakePluginUninstaller) RunArgsForCall ¶
func (fake *FakePluginUninstaller) RunArgsForCall(i int) (string, string)
func (*FakePluginUninstaller) RunCallCount ¶
func (fake *FakePluginUninstaller) RunCallCount() int
func (*FakePluginUninstaller) RunReturns ¶
func (fake *FakePluginUninstaller) RunReturns(result1 error)
func (*FakePluginUninstaller) RunReturnsOnCall ¶
func (fake *FakePluginUninstaller) RunReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.