pluginactionfakes

package
v0.0.0-...-e4dbece Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 4 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.

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 FakeCommandList

type FakeCommandList struct {
	HasAliasStub func(string) bool

	HasCommandStub 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) HasAliasCalls

func (fake *FakeCommandList) HasAliasCalls(stub func(string) bool)

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

func (fake *FakeCommandList) HasCommandCalls(stub func(string) bool)

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

	GetPluginStub func(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) AddPluginCalls

func (fake *FakeConfig) AddPluginCalls(stub func(configv3.Plugin))

func (*FakeConfig) AddPluginRepository

func (fake *FakeConfig) AddPluginRepository(arg1 string, arg2 string)

func (*FakeConfig) AddPluginRepositoryArgsForCall

func (fake *FakeConfig) AddPluginRepositoryArgsForCall(i int) (string, string)

func (*FakeConfig) AddPluginRepositoryCallCount

func (fake *FakeConfig) AddPluginRepositoryCallCount() int

func (*FakeConfig) AddPluginRepositoryCalls

func (fake *FakeConfig) AddPluginRepositoryCalls(stub func(string, string))

func (*FakeConfig) GetPlugin

func (fake *FakeConfig) GetPlugin(arg1 string) (configv3.Plugin, bool)

func (*FakeConfig) GetPluginArgsForCall

func (fake *FakeConfig) GetPluginArgsForCall(i int) string

func (*FakeConfig) GetPluginCallCount

func (fake *FakeConfig) GetPluginCallCount() int

func (*FakeConfig) GetPluginCalls

func (fake *FakeConfig) GetPluginCalls(stub func(string) (configv3.Plugin, bool))

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

func (fake *FakeConfig) PluginHomeCalls(stub func() string)

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

func (fake *FakeConfig) PluginRepositoriesCalls(stub func() []configv3.PluginRepository)

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

func (fake *FakeConfig) PluginsCalls(stub func() []configv3.Plugin)

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

func (fake *FakeConfig) RemovePluginCalls(stub func(string))

func (*FakeConfig) WritePluginConfig

func (fake *FakeConfig) WritePluginConfig() error

func (*FakeConfig) WritePluginConfigCallCount

func (fake *FakeConfig) WritePluginConfigCallCount() int

func (*FakeConfig) WritePluginConfigCalls

func (fake *FakeConfig) WritePluginConfigCalls(stub func() error)

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 {
	DownloadPluginStub func(string, string, plugin.ProxyReader) error

	GetPluginRepositoryStub func(string) (plugin.PluginRepository, error)
	// contains filtered or unexported fields
}

func (*FakePluginClient) DownloadPlugin

func (fake *FakePluginClient) DownloadPlugin(arg1 string, arg2 string, arg3 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) DownloadPluginCalls

func (fake *FakePluginClient) DownloadPluginCalls(stub func(string, string, plugin.ProxyReader) error)

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(arg1 string) (plugin.PluginRepository, error)

func (*FakePluginClient) GetPluginRepositoryArgsForCall

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

func (*FakePluginClient) GetPluginRepositoryCallCount

func (fake *FakePluginClient) GetPluginRepositoryCallCount() int

func (*FakePluginClient) GetPluginRepositoryCalls

func (fake *FakePluginClient) GetPluginRepositoryCalls(stub func(string) (plugin.PluginRepository, error))

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(string) (configv3.Plugin, error)
	// contains filtered or unexported fields
}

func (*FakePluginMetadata) GetMetadata

func (fake *FakePluginMetadata) GetMetadata(arg1 string) (configv3.Plugin, error)

func (*FakePluginMetadata) GetMetadataArgsForCall

func (fake *FakePluginMetadata) GetMetadataArgsForCall(i int) string

func (*FakePluginMetadata) GetMetadataCallCount

func (fake *FakePluginMetadata) GetMetadataCallCount() int

func (*FakePluginMetadata) GetMetadataCalls

func (fake *FakePluginMetadata) GetMetadataCalls(stub func(string) (configv3.Plugin, error))

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(string, string) error
	// contains filtered or unexported fields
}

func (*FakePluginUninstaller) Invocations

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

func (*FakePluginUninstaller) Run

func (fake *FakePluginUninstaller) Run(arg1 string, arg2 string) error

func (*FakePluginUninstaller) RunArgsForCall

func (fake *FakePluginUninstaller) RunArgsForCall(i int) (string, string)

func (*FakePluginUninstaller) RunCallCount

func (fake *FakePluginUninstaller) RunCallCount() int

func (*FakePluginUninstaller) RunCalls

func (fake *FakePluginUninstaller) RunCalls(stub func(string, string) error)

func (*FakePluginUninstaller) RunReturns

func (fake *FakePluginUninstaller) RunReturns(result1 error)

func (*FakePluginUninstaller) RunReturnsOnCall

func (fake *FakePluginUninstaller) RunReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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