Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Information ¶
Information gets the information about an installed plugin
func IsPredefined ¶
func RunWithArgs ¶
RunWithArgs runs the plugin with arguments
Types ¶
type Plugin ¶
type Plugin struct {
Name string `yaml:"name"`
Repository string `yaml:"repository"`
Version string `yaml:"version"`
Usage string `yaml:"usage"`
Description string `yaml:"description"`
Platforms []Platform `yaml:"platforms"`
// runtime environment for testability
GOOS string `yaml:"_goos"`
GOARCH string `yaml:"_goarch"`
}
Plugin represents a plugin.
Click to show internal directories.
Click to hide internal directories.