Documentation ¶
Overview ¶
Copyright (C) 2021-2023, Kubefirst
This program is licensed under MIT. See the LICENSE file for more details.
Index ¶
- func DownloadFile(localFilename string, url string) error
- func DownloadTarGz(binaryPath string, tarAddress string, targzPath string, address string) error
- func DownloadZip(toolsDir string, address string, zipPath string) error
- func ExtractFileFromTarGz(gzipStream io.Reader, tarAddress string, targetFilePath string) error
- func Unzip(zipFilepath string, unzipDirectory string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadFile ¶
DownloadFile Downloads a file from the "url" parameter, localFilename is the file destination in the local machine.
func DownloadTarGz ¶
func ExtractFileFromTarGz ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.