Documentation
¶
Index ¶
- func DownloadBinary(ctx context.Context, client *http.Client, downloadURL, binaryName, dir string) (string, error)
- func DownloadURL(repo, version, goos, goarch string) string
- func Install(ctx context.Context, client *http.Client, downloadURL, binaryPath string) error
- func IsNewer(current, candidate string) (bool, error)
- func LatestVersion(ctx context.Context, client *http.Client, baseURL, repo string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadBinary ¶ added in v0.2.3
func DownloadURL ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.