Documentation ¶
Overview ¶
Package plugins provides essential logic for installation of the plugins
Index ¶
- Variables
- func SearchBin(name string) string
- type Args
- type Plugin
- func (plugin *Plugin) Bins() []string
- func (plugin *Plugin) Current() string
- func (plugin *Plugin) Done() (err error)
- func (plugin *Plugin) Dots() []string
- func (plugin *Plugin) Download() (*grab.Response, error)
- func (plugin *Plugin) Environment() ([]string, error)
- func (plugin *Plugin) Events() *emission.Emitter
- func (plugin *Plugin) Extract() error
- func (plugin *Plugin) Info() (map[string]string, error)
- func (plugin *Plugin) Install() (err error)
- func (plugin *Plugin) Interrupt()
- func (plugin *Plugin) IsInstalled() bool
- func (plugin *Plugin) Link() (err error)
- func (plugin *Plugin) List() (vers []string)
- func (plugin *Plugin) ListRemote() (map[string][]string, error)
- func (plugin *Plugin) LocalInstall() (err error)
- func (plugin *Plugin) PostInstall() (err error)
- func (plugin *Plugin) PreDownload() error
- func (plugin *Plugin) PreInstall() error
- func (plugin *Plugin) Proxy() (err error)
- func (plugin *Plugin) Remove() (err error)
- func (plugin *Plugin) Rollback()
- func (plugin *Plugin) Switch() (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Plugins holds list of all supported plugins Plugins = []string{ "node", "rust", "ruby", "go", "python", "elm", } )
Functions ¶
Types ¶
type Plugin ¶
Plugin essential struct
func (*Plugin) Bins ¶
Bins returns list of the all bins included with the distribution of the language
func (*Plugin) Environment ¶
Environment returns list of the all needed envionment variables
func (*Plugin) Interrupt ¶
func (plugin *Plugin) Interrupt()
Interrupt handles interruption signals (like CTRL+C)
func (*Plugin) IsInstalled ¶
IsInstalled checks if this version was already installed
func (*Plugin) ListRemote ¶
ListRemote returns list of the all available remote versions
func (*Plugin) LocalInstall ¶
LocalInstall installs language locally - to the current pwd folder
func (*Plugin) PostInstall ¶
PostInstall executes logic after installation of the plugin
func (*Plugin) PreDownload ¶
PreDownload executes logic before downloading of the plugin
func (*Plugin) PreInstall ¶
PreInstall executes logic before installation of the plugin
Directories ¶
Path | Synopsis |
---|---|
Package elm provides all needed logic for installation of Elm
|
Package elm provides all needed logic for installation of Elm |
Package golang provides all needed logic for installation of Golang
|
Package golang provides all needed logic for installation of Golang |
Package nodejs provides all needed logic for installation of node.js
|
Package nodejs provides all needed logic for installation of node.js |
modules
Package modules is a way for installation node modules for node.js plugin
|
Package modules is a way for installation node modules for node.js plugin |
Package python provides all needed logic for installation of python
|
Package python provides all needed logic for installation of python |
patch
Package patch provides logic for applying patches for the python installation
|
Package patch provides logic for applying patches for the python installation |
Package ruby provides all needed logic for installation of ruby
|
Package ruby provides all needed logic for installation of ruby |
bin
Package bin provides ruby binary plugin
|
Package bin provides ruby binary plugin |
compile
Package compile provides ruby compilation plugin
|
Package compile provides ruby compilation plugin |
Package rust provides all needed logic for installation of rust
|
Package rust provides all needed logic for installation of rust |
Click to show internal directories.
Click to hide internal directories.