storage

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PathClient    = "live/client"
	PathPackages  = "live/packages"
	PathInstances = "live/instances"
	PathServices  = "live/services"
	PathUpdates   = "live/updates"
)

Variables

View Source
var (
	ErrNoReleasesPublished = errors.New("this repository has no existing releases")
	ErrNoReleasesForThisOS = errors.New("this repository has no releases appropriate for this OS")
)

Functions

func CloneOrPullRepository

func CloneOrPullRepository(url string, dest string) error

func Download

func Download(url string, dest string, filename string) error

func DownloadGithubRelease

func DownloadGithubRelease(release *github.RepositoryRelease, dest string) error

func DownloadLatestGithubRelease

func DownloadLatestGithubRelease(owner string, repo string, dest string) error

func UntarFile

func UntarFile(basePath string, archivePath 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