Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadBinary ¶
func DownloadBinary(sourceURL, destDir, destFile string, forceRedownload bool, logger *zap.Logger) (string, error)
DownloadBinary downloads a file from the given URL into the specified path this also marks it executable and returns its full path.
If forceRedownload is true, any existing cached binary is removed before downloading.
Types ¶
Click to show internal directories.
Click to hide internal directories.