Documentation ¶
Index ¶
- func FetchPlugin(p *api.Plugin, d common.Downloader, workingDir string) error
- func GetPluginPath(p *api.Plugin, workingDir string) string
- func GetStorePath(workingDir string) string
- func NewDependencies(dependenciesStr string) ([]*api.Plugin, []*api.Plugin, error)
- func ParseManifest(manifest string) (*api.PluginMetadata, error)
- func RunWorkersPoll(psr *api.PluginsRegistry, d common.Downloader, workingDir string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchPlugin ¶
FetchPlugin will download the requested plugin in the provided path
func GetPluginPath ¶
GetPluginPath returns the path to the plugin in the store
func GetStorePath ¶
GetStorePath returns the path to the store
func NewDependencies ¶
NewDependencies will parse a dependencies string to return a list of dependencies
func ParseManifest ¶
func ParseManifest(manifest string) (*api.PluginMetadata, error)
ParseManifest will parse a MANIFEST.MF file into a proper struct
func RunWorkersPoll ¶
func RunWorkersPoll(psr *api.PluginsRegistry, d common.Downloader, workingDir string, maxNumWorkers int) error
RunWorkersPoll will start a poll of workers to download the provided plugins list
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.