Documentation ¶
Index ¶
- func BulkExtract(dir string) error
- func Download(ctx context.Context, outDir, url string) (string, error)
- func DownloadAs(ctx context.Context, filepath, url string) error
- func Extract(tarFilePath, destinationFolder string) error
- func GetAllFile(path string) []string
- func GetChecksums(filepath string) (map[string]string, error)
- func GetChecksumsURL(release codegen.Release, mirror string) string
- func GetDockerRunningStatus() (bool, error)
- func GetOS() string
- func GetPackageURLByCurrentArch(release codegen.Release, mirror string) (string, error)
- func GetReleaseFrom(ctx context.Context, releaseURL string) (*codegen.Release, error)
- func GetReleaseFromLocal(releasePath string) (*codegen.Release, error)
- func InstallDependencies() error
- func InstallDependency() error
- func InstallDocker() error
- func InstallDockerByShell() error
- func InstallRelease(releaseDir string, sysrootPath string) error
- func IsDockerInstalled() bool
- func NewDecompressor(filepath string) getter.Decompressor
- func NewTracker(callback func(downladed, totalSize int64)) getter.ProgressTracker
- func UnGzip(src string, dest string) error
- func UnTar(src string, dest string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllFile ¶
func GetDockerRunningStatus ¶
func GetReleaseFrom ¶
func InstallDependencies ¶
func InstallDependencies() error
func InstallDependency ¶ added in v0.2.0
func InstallDependency() error
func InstallDocker ¶
func InstallDocker() error
func InstallDockerByShell ¶
func InstallDockerByShell() error
func InstallRelease ¶
func IsDockerInstalled ¶
func IsDockerInstalled() bool
func NewDecompressor ¶
func NewDecompressor(filepath string) getter.Decompressor
func NewTracker ¶
func NewTracker(callback func(downladed, totalSize int64)) getter.ProgressTracker
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.