Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallDependencies ¶
InstallDependencies takes a map of supported dependencies and their version and installs them to the specified binDir
func InstallDependency ¶
InstallDependency installs a binary to binDir, if ver is nil then the default version is used
Types ¶
type BinaryFunc ¶
BinaryFunc is an interface to executing a binary, downloading it necessary
func Binary ¶
func Binary(name, ver string, binDir string) BinaryFunc
Binary returns a function that can be called to execute the binary
func BinaryWithEnv ¶
func BinaryWithEnv(name, ver string, binDir string, env map[string]string) BinaryFunc
BinaryWithEnv returns a function that be called to execute the binary
type BinaryFuncWithEnv ¶
BinaryFuncWithEnv is an interface to executing a binary, downloading it necessary
type Dependency ¶
type Dependency struct {
Version string
Linux string
LinuxARM string
Macosx string
MacosxARM string
Windows string
Go string
Docker string
Template string
BinaryName string
PreInstalled []string
}
Dependency is a struct referring to a version and the templated path to download the dependency on the different OS platforms
Click to show internal directories.
Click to hide internal directories.