package
Version:
v1.77.1-0...-5c1fadd
Opens a new window with list of versions in this module.
Published: Nov 13, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package download contains utilities to interact with
public downloadabale Aporeto releases.
Binary downloads and saves the binary at the given url to the given dest with the given mode.
IsOutdated checks if the given current is outdated relatively to the second using semver.
type Component struct {
Latest string `json:"latest"`
Versions map[string]Version `json:"versions"`
}
A Component represents a downloadable component.
NewComponent returns a new Component.
A Manifest represents a Download Manifest
RetrieveManifest fetch the manifest at the given URL.
type Variant struct {
URL string `json:"url"`
Signature string `json:"signature"`
}
A Variant represents a variant of a Version.
NewVariant returns a new Variant.
type Version struct {
Version string `json:"version"`
ChangeLog string `json:"changelog"`
Variants map[string]Variant `json:"variants"`
}
A Version represents a particular version of a Component.
NewVersion returns a new Version.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.