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
Click to show internal directories.
Click to hide internal directories.