Documentation
¶
Index ¶
- func AssetURL(version string, target Target) string
- func ChecksumsURL(version string) string
- func NormalizeVersion(version string) string
- func ReleaseBaseURL(version string) string
- func ResolveInstallDir(explicit string) (string, error)
- func ResolveReleaseVersion(ctx context.Context, client *http.Client, version string) (string, error)
- func WriteExecutable(path string, data []byte) error
- type BinaryResult
- type Options
- type Result
- type Target
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChecksumsURL ¶
func NormalizeVersion ¶
func ReleaseBaseURL ¶
func ResolveInstallDir ¶
func ResolveReleaseVersion ¶ added in v1.0.17
func WriteExecutable ¶ added in v1.0.17
Types ¶
type BinaryResult ¶ added in v1.0.17
func DownloadBinary ¶ added in v1.0.17
func DownloadBinary(ctx context.Context, opts Options) (BinaryResult, error)
Click to show internal directories.
Click to hide internal directories.