Documentation
¶
Index ¶
- Constants
- Variables
- func CloneOrPullRepository(url string, dest string) error
- func Download(url string, dest string, filename string) error
- func DownloadGithubRelease(release *github.RepositoryRelease, dest string) error
- func DownloadLatestGithubRelease(owner string, repo string, dest string) error
- func UntarFile(basePath string, archivePath string) error
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 DownloadGithubRelease ¶
func DownloadGithubRelease(release *github.RepositoryRelease, dest string) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.