Documentation ¶
Index ¶
- func DownloadFile(ctx context.Context, timeout time.Duration, downloadURL string, ...) error
- func ExtractTarGz(gz io.Reader, targetDir string) error
- func ExtractTarGzFile(file string, targetDir string) error
- func GetLatestVersion(ctx context.Context, timeout time.Duration, url string) (string, error)
- func UntargzCmd(file string, binDir string) error
- func Upgrade(installDir string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadFile ¶
func ExtractTarGzFile ¶
func GetLatestVersion ¶
func UntargzCmd ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.