plugin_installer

package
v6.16.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2016 License: Apache-2.0 Imports: 13 Imported by: 0

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

type PluginInstaller interface {
	Install(inputSourceFilepath string) string
}

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)

Jump to

Keyboard shortcuts

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