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)
Click to show internal directories.
Click to hide internal directories.