internal

package
v0.1.2-alpha60 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: Apache-2.0 Imports: 19 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BulkExtract

func BulkExtract(dir string) error

extract each archive in dir

func Download

func Download(ctx context.Context, outDir, url string) (string, error)

func DownloadAs

func DownloadAs(ctx context.Context, filepath, url string) error

func Extract

func Extract(tarFilePath, destinationFolder string) error

func GetChecksums

func GetChecksums(filepath string) (map[string]string, error)

func GetChecksumsURL

func GetChecksumsURL(release codegen.Release, mirror string) string

func GetDockerRunningStatus

func GetDockerRunningStatus() (bool, error)

func GetOS added in v0.2.0

func GetOS() string

func GetPackageURLByCurrentArch

func GetPackageURLByCurrentArch(release codegen.Release, mirror string) (string, error)

func GetReleaseFrom

func GetReleaseFrom(ctx context.Context, releaseURL string) (*codegen.Release, error)

func GetReleaseFromLocal

func GetReleaseFromLocal(releasePath string) (*codegen.Release, error)

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 InstallRelease(releaseDir string, sysrootPath string) error

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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