Documentation ¶
Index ¶
Constants ¶
View Source
const ( Latest = "latest" Auto = "auto" // current version or latest )
Variables ¶
View Source
var ( Version string SHA256SUMSDownloadURLTemplate = "https://github.com/reproducible-containers/repro-get/releases/download/{{.Version}}/SHA256SUMS" LatestVersionURL = "https://github.com/reproducible-containers/repro-get/releases/latest/download/VERSION" )
Variables can be fulfilled on compilation time: -ldflags="-X github.com/reproducible-containers/repro-get/pkg/version.Version=v0.1.2"
Functions ¶
func GetVersion ¶
func GetVersion() string
Types ¶
type Downloadable ¶ added in v0.1.3
func DetectDownloadable ¶ added in v0.1.3
func DetectDownloadable(ctx context.Context, version string) (*Downloadable, error)
Click to show internal directories.
Click to hide internal directories.