Documentation
¶
Index ¶
- Variables
- func Config(pluginName string, conf interface{}) error
- func DeriveName(pluginURL string) string
- func Executable(cmd string) (string, error)
- func Help(cmd string) error
- func List() ([]string, error)
- func NormalizeURL(pluginURL string) string
- func Path() (string, error)
- func Run(cmd string) (bool, error)
- func Shortname(name string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBadPluginRepository = errors.New("Invalid repository URL")
ErrBadPluginRepository represents an error when the plugin url is invalidu
View Source
var ErrFailedToRead = errors.New("Failed to read plugins directory")
ErrFailedToRead is returned when you the plugins directory cannot be read
Functions ¶
func DeriveName ¶
DeriveName returns the name of the plugin based on git repo url
func Executable ¶
Executable returns the executable path
func NormalizeURL ¶
NormalizeURL returns a normalized git url
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.