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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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