Documentation
¶
Index ¶
- func Information(name string) (string, error)
- func IsPredefined(name string) bool
- func List() (string, error)
- func RunWithURL(ctx context.Context, url string, opts RunOptions) error
- func Uninstall(name string) error
- func Update(name string) error
- type Platform
- type Plugin
- type RunOptions
- type Selector
- type Wait
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Information ¶
Information gets the information about an installed plugin
func IsPredefined ¶
func RunWithURL ¶
func RunWithURL(ctx context.Context, url string, opts RunOptions) error
RunWithURL runs the plugin with URL
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.
type RunOptions ¶
Click to show internal directories.
Click to hide internal directories.