plugininstaller

package
v6.18.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 10, 2016 License: Apache-2.0 Imports: 13 Imported by: 6

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) 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) 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