downloader

package
v0.0.1-rc2 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Download

func Download(ctx context.Context) (string, error)

func DownloadVersionedBinary

func DownloadVersionedBinary(ctx context.Context, archive archives.Archive, destDir string) (string, error)

DownloadVersionedBinary returns the downloaded binary file path.

func GetArchiveURL

func GetArchiveURL(archive archives.Archive) (string, error)

GetArchiveURL renders the archive URL pattern to return the actual archive URL.

Types

This section is empty.

Jump to

Keyboard shortcuts

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