meta

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchMetadata

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

FetchMetadata will fetch the metadata for the requested plugin

func GetMetaPath

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

GetMetaPath returns the path to the plugin metadata in the store

func GetStorePath

func GetStorePath(workingDir string) string

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.

Jump to

Keyboard shortcuts

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