Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PluginDownloader ¶
type PluginDownloader struct { Ui terminal.UI FileDownloader downloader.Downloader }
type PluginInstaller ¶
func NewPluginInstaller ¶
func NewPluginInstaller(context *PluginInstallerContext) (installer PluginInstaller)
type PluginInstallerContext ¶
type PluginInstallerContext struct { Checksummer utils.Sha1Checksum FileDownloader downloader.Downloader GetPluginRepos pluginReposFetcher PluginRepo plugin_repo.PluginRepo RepoName string Ui terminal.UI }
type PluginInstallerWithRepo ¶
type PluginInstallerWithRepo struct { Ui terminal.UI PluginDownloader *PluginDownloader DownloadFromPath downloadFromPath RepoName string Checksummer utils.Sha1Checksum PluginRepo plugin_repo.PluginRepo GetPluginRepos pluginReposFetcher }
func (*PluginInstallerWithRepo) Install ¶
func (installer *PluginInstallerWithRepo) Install(inputSourceFilepath string) (outputSourceFilepath string)
type PluginInstallerWithoutRepo ¶
type PluginInstallerWithoutRepo struct { Ui terminal.UI PluginDownloader *PluginDownloader DownloadFromPath downloadFromPath RepoName string }
func (*PluginInstallerWithoutRepo) Install ¶
func (installer *PluginInstallerWithoutRepo) Install(inputSourceFilepath string) (outputSourceFilepath string)
Click to show internal directories.
Click to hide internal directories.