plugininstaller

package
v6.17.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2016 License: Apache-2.0 Imports: 13 Imported by: 66

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     pluginrepo.PluginRepo
	RepoName       string
	Ui             terminal.UI
}

type PluginInstallerWithRepo

type PluginInstallerWithRepo struct {
	Ui               terminal.UI
	PluginDownloader *PluginDownloader
	DownloadFromPath downloadFromPath
	RepoName         string
	Checksummer      utils.Sha1Checksum
	PluginRepo       pluginrepo.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)

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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