Documentation ¶
Index ¶
- func CheckMigration() error
- func GetBinaryForVersion(distname, binnom, root, vers, out string) error
- func GetCurrentVersion() (string, error)
- func GetLatestVersion(ipfspath, dist string) (string, error)
- func GetMigrations() (string, error)
- func GetVersions(ipfspath, dist string) ([]string, error)
- func InstallBinaryTo(nbin, nloc string) error
- func RunMigration(oldv, newv string) error
- func SelectRevertBin() (string, error)
- func StashOldBinary(tag string, keep bool) (string, error)
- type Install
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckMigration ¶
func CheckMigration() error
func GetBinaryForVersion ¶
func GetCurrentVersion ¶
func GetLatestVersion ¶
func GetMigrations ¶
func GetVersions ¶
func InstallBinaryTo ¶
func RunMigration ¶
func SelectRevertBin ¶
Types ¶
type Install ¶
type Install struct { // name of binary to be installed BinaryName string TargetVers string CurrentVers string TmpBinPath string StashedFromPath string InstallPath string NoCheck bool UrlRoot string // whether or not the install has succeeded Succeeded bool }
func (*Install) DownloadNewBinary ¶
func (*Install) MaybeStash ¶
func (*Install) RevertOnFailure ¶
func (i *Install) RevertOnFailure()
func (*Install) SelectGoodInstallLoc ¶
Click to show internal directories.
Click to hide internal directories.