Documentation
¶
Index ¶
- Variables
- func ExistsFS(target string) bool
- func FindMatch(strs []string, pattern string) (string, error)
- func HTTPGet(ctx context.Context, url string) ([]byte, error)
- func HTTPHead(ctx context.Context, url string) error
- func HTTPMirror(ctx context.Context, url string, targetFile string, ...) error
- func Untar(tarball string, targetDir string) error
- func UntarStrip(tarball string, targetDir string, strip int) error
- type GitHub
- type Go
- func (Go) BinDirs() []string
- func (g *Go) Install(ctx context.Context, version string, targetDir string) (string, error)
- func (g *Go) Latest(ctx context.Context) (string, error)
- func (g *Go) List(ctx context.Context, all bool) ([]string, error)
- func (Go) Untar(tarball string, targetDir string) error
- type Java
- func (Java) BinDirs() []string
- func (j *Java) Install(ctx context.Context, version string, targetDir string) (string, error)
- func (j *Java) Latest(ctx context.Context) (string, error)
- func (j *Java) List(ctx context.Context, all bool) ([]string, error)
- func (j *Java) Untar(cacheFile string, targetDir string) error
- type Language
- func (l *Language) Init() error
- func (l *Language) Install(ctx context.Context, version string, targetDir string) (string, error)
- func (l *Language) Latest(ctx context.Context) (string, error)
- func (l *Language) List(ctx context.Context, all bool) ([]string, error)
- func (l *Language) Rehash() error
- func (l *Language) Reset(version string) error
- func (l *Language) SetVersion(version string) error
- func (l *Language) Specific() Specific
- func (l *Language) Version() (string, error)
- func (l *Language) Versions() ([]string, error)
- type Node
- func (Node) BinDirs() []string
- func (n *Node) Install(ctx context.Context, version string, targetDir string) (string, error)
- func (n *Node) Latest(ctx context.Context) (string, error)
- func (n *Node) List(ctx context.Context, all bool) ([]string, error)
- func (Node) Untar(tarball string, targetDir string) error
- type OSArch
- type Perl
- func (Perl) BinDirs() []string
- func (p *Perl) Install(ctx context.Context, version string, targetDir string) (string, error)
- func (p *Perl) Latest(ctx context.Context) (string, error)
- func (p *Perl) List(ctx context.Context, all bool) ([]string, error)
- func (Perl) Untar(tarball string, targetDir string) error
- type Python
- func (Python) BinDirs() []string
- func (p *Python) Install(ctx context.Context, version string, targetDir string) (string, error)
- func (p *Python) Latest(ctx context.Context) (string, error)
- func (p *Python) List(ctx context.Context, all bool) ([]string, error)
- func (Python) Untar(tarball string, targetDir string) error
- type Raku
- func (r *Raku) BinDirs() []string
- func (r *Raku) Install(ctx context.Context, version string, targetDir string) (string, error)
- func (r *Raku) Latest(ctx context.Context) (string, error)
- func (r *Raku) List(ctx context.Context, all bool) ([]string, error)
- func (Raku) Untar(tarball string, targetDir string) error
- type Ruby
- func (Ruby) BinDirs() []string
- func (r *Ruby) Install(ctx context.Context, version string, targetDir string) (string, error)
- func (r *Ruby) Latest(ctx context.Context) (string, error)
- func (r *Ruby) List(ctx context.Context, _ bool) ([]string, error)
- func (r *Ruby) Untar(cacheFile string, targetDir string) error
- type Solr
- func (Solr) BinDirs() []string
- func (s *Solr) Install(ctx context.Context, version string, targetDir string) (string, error)
- func (s *Solr) Latest(ctx context.Context) (string, error)
- func (s *Solr) List(ctx context.Context, all bool) ([]string, error)
- func (Solr) Untar(tarball string, targetDir string) error
- type Specific
Constants ¶
This section is empty.
Variables ¶
View Source
var All = []string{
"go",
"java",
"node",
"perl",
"python",
"raku",
"ruby",
"solr",
}
Functions ¶
func HTTPMirror ¶
Types ¶
type Go ¶
type Go struct {
Root string
// contains filtered or unexported fields
}
type Java ¶
type Java struct {
Root string
// contains filtered or unexported fields
}
type Language ¶
func (*Language) Rehash ¶
Symlinks may not work with `exec "$(dirname "$0")"/perl -x "$0" "$@"` notation So we use shell scripts instead
func (*Language) SetVersion ¶
type Node ¶
type Node struct {
Root string
// contains filtered or unexported fields
}
type Perl ¶
type Perl struct {
Root string
// contains filtered or unexported fields
}
type Python ¶
type Python struct {
Root string
// contains filtered or unexported fields
}
type Raku ¶ added in v0.0.8
type Raku struct {
Root string
// contains filtered or unexported fields
}
type Ruby ¶ added in v0.0.10
type Ruby struct {
Root string
// contains filtered or unexported fields
}
type Solr ¶ added in v0.0.19
type Solr struct {
Root string
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.