manifest

package
v1.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorFileDoesNotExist = errors.New("manifest file does not exist")
	ErrorInvalidSpec      = errors.New("manifest file has invalid section")
)

Functions

This section is empty.

Types

type ManifestSpec

type ManifestSpec struct {
	Slug          string   `yaml:"product"`
	SubProduct    string   `yaml:"subproduct"`
	Version       string   `yaml:"version"`
	FilenameGlobs []string `yaml:"filename_globs"`
}

func ProcessFile

func ProcessFile(manifestFile string) (downloads []ManifestSpec, err error)

Jump to

Keyboard shortcuts

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