jpi

package
v0.0.0-...-69eaee5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchPlugin

func FetchPlugin(p *api.Plugin, d common.Downloader, workingDir string) error

FetchPlugin will download the requested plugin in the provided path

func GetPluginPath

func GetPluginPath(p *api.Plugin, workingDir string) string

GetPluginPath returns the path to the plugin in the store

func GetStorePath

func GetStorePath(workingDir string) string

GetStorePath returns the path to the store

func NewDependencies

func NewDependencies(dependenciesStr string) ([]*api.Plugin, []*api.Plugin, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL