Versions in this module Expand all Collapse all v8 v8.4.4 Aug 24, 2022 v8.4.3 Aug 24, 2022 Changes in this version + type Actor struct + func NewActor(config Config, client PluginClient) *Actor + func (actor Actor) AddPluginRepository(repoName string, repoURL string) error + func (actor Actor) CreateExecutableCopy(path string, tempPluginDir string) (string, error) + func (actor Actor) DownloadExecutableBinaryFromURL(pluginURL string, tempPluginDir string, proxyReader plugin.ProxyReader) (string, error) + func (actor Actor) FileExists(path string) bool + func (actor Actor) GetAndValidatePlugin(pluginMetadata PluginMetadata, commandList CommandList, path string) (configv3.Plugin, error) + func (actor Actor) GetOutdatedPlugins() ([]OutdatedPlugin, error) + func (actor Actor) GetPlatformString(runtimeGOOS string, runtimeGOARCH string) string + func (actor Actor) GetPluginInfoFromRepositoriesForPlatform(pluginName string, pluginRepos []configv3.PluginRepository, platform string) (PluginInfo, []string, error) + func (actor Actor) GetPluginRepository(repositoryName string) (configv3.PluginRepository, error) + func (actor Actor) InstallPluginFromPath(path string, plugin configv3.Plugin) error + func (actor Actor) IsPluginRepositoryRegistered(repositoryName string) bool + func (actor Actor) UninstallPlugin(uninstaller PluginUninstaller, name string) error + func (actor Actor) ValidateFileChecksum(path string, checksum string) bool + type CommandList interface + HasAlias func(string) bool + HasCommand func(string) bool + type Config interface + AddPlugin func(configv3.Plugin) + AddPluginRepository func(repoName string, repoURL string) + BinaryVersion func() string + GetPlugin func(pluginName string) (configv3.Plugin, bool) + PluginHome func() string + PluginRepositories func() []configv3.PluginRepository + Plugins func() []configv3.Plugin + RemovePlugin func(string) + WritePluginConfig func() error + type OutdatedPlugin struct + CurrentVersion string + LatestVersion string + Name string + type PluginClient interface + DownloadPlugin func(pluginURL string, path string, proxyReader plugin.ProxyReader) error + GetPluginRepository func(repositoryURL string) (plugin.PluginRepository, error) + type PluginInfo struct + Checksum string + Name string + URL string + Version string + type PluginMetadata interface + GetMetadata func(pluginPath string) (configv3.Plugin, error) + type PluginUninstaller interface + Run func(pluginPath string, command string) error Other modules containing this package github.com/LukasHeimann/cloudfoundrycli