Documentation ¶
Index ¶
- func FetchMetadata(p *api.Plugin, d common.Downloader, workingDir string) error
- func GetMetaPath(p *api.Plugin, workingDir string) string
- func GetStorePath(workingDir string) string
- func Print(pm *api.PluginMetadata)
- func ReadMetadata(metaPath string) (*api.PluginMetadata, error)
- func RunWorkersPoll(plugins []*api.Plugin, d common.Downloader, workingDir string, ...) error
- func WriteMetadata(pm *api.PluginMetadata, metaPath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchMetadata ¶
FetchMetadata will fetch the metadata for the requested plugin
func GetMetaPath ¶
GetMetaPath returns the path to the plugin metadata in the store
func GetStorePath ¶
GetStorePath returns the path to the store
func Print ¶
func Print(pm *api.PluginMetadata)
Print provides a handy way of showing the plugin metadata
func ReadMetadata ¶
func ReadMetadata(metaPath string) (*api.PluginMetadata, error)
ReadMetadata will read the plugin metadata from a file
func RunWorkersPoll ¶
func RunWorkersPoll(plugins []*api.Plugin, d common.Downloader, workingDir string, maxNumWorkers int) error
RunWorkersPoll will start a poll of workers to generate the metadata for the provided plugins list
func WriteMetadata ¶
func WriteMetadata(pm *api.PluginMetadata, metaPath string) error
WriteMetadata will write the plugin metadata into a file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.