Versions in this module Expand all Collapse all v0 v0.0.6 Aug 18, 2024 Changes in this version + func ExistsFS(target string) bool + func HTTPGet(ctx context.Context, url string) ([]byte, error) + func HTTPMirror(ctx context.Context, url string, targetFile string) error + func Untar(tarball string, targetDir string) error + type GitHub struct + func (g *GitHub) Assets(ctx context.Context, url string, tag string) ([]string, error) + func (g *GitHub) Tags(ctx context.Context, url string) ([]string, error) + type Go struct + Root string + func (g *Go) Install(ctx context.Context, version string) error + func (g *Go) List(ctx context.Context, all bool) ([]string, error) + type Installer interface + Install func(ctx context.Context, version string) error + List func(ctx context.Context, all bool) ([]string, error) + type Java struct + Root string + func (j *Java) Install(ctx context.Context, version string) error + func (j *Java) List(_ context.Context, _ bool) ([]string, error) + type Node struct + Root string + func (n *Node) Install(ctx context.Context, version string) error + func (n *Node) List(ctx context.Context, all bool) ([]string, error) + type OSArch struct + AMD64 string + ARM64 string + Darwin string + Linux string + func (oa *OSArch) Arch() string + func (oa *OSArch) OS() string + type Perl struct + Root string + func (p *Perl) Install(ctx context.Context, version string) error + func (p *Perl) List(ctx context.Context, all bool) ([]string, error) + type Python struct + Root string + func (p *Python) Install(ctx context.Context, version string) error + func (p *Python) List(ctx context.Context, all bool) ([]string, error)