downloadManager

package
v0.107.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Copyright (C) 2021-2023, Kubefirst

This program is licensed under MIT. See the LICENSE file for more details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadFile

func DownloadFile(localFilename string, url string) error

DownloadFile Downloads a file from the "url" parameter, localFilename is the file destination in the local machine.

func DownloadTarGz

func DownloadTarGz(binaryPath string, tarAddress string, targzPath string, address string) error

func DownloadZip

func DownloadZip(toolsDir string, address string, zipPath string) error

func ExtractFileFromTarGz

func ExtractFileFromTarGz(gzipStream io.Reader, tarAddress string, targetFilePath string) error

func Unzip

func Unzip(zipFilepath string, unzipDirectory string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL