Documentation ¶
Overview ¶
The release version is defined here.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GITREV string = "<unset>"
old name compat
View Source
var MIGRATIONS = []*upgrade.Migration{{ Name: "upgrade_channel", Version: semver.MustParse("0.5.0"), Apply: func(f fsdir.T) error { c := relaycfg.Defaults() if err := f.Get(&c, "config.json.next"); err != nil { return fmt.Errorf("could not load config.json.next: %s", err) } for _, re := range c.Contracts { re.UpgradeChannel = re.Channel re.Channel = "" } if err := f.Set(&c, "config.json.next"); err != nil { return fmt.Errorf("could not save config.json.next: %s", err) } return nil }, }}
MIGRATIONS is the slice of versioned migrations.
View Source
var VERSION = semver.MustParse(VERSION_STRING)
VERSION is the semver version struct of VERSION_STRING.
View Source
var VERSION_STRING = GITREV
VERSION_STRING is the current version string, set by the linker via go build -X flag.
Functions ¶
func LatestChannelVersion ¶
LatestChannelVersion is a special function for wireleap-relay which will obtain the latest version supported by the currently configured update channel from the directory.
func PostRollbackHook ¶
Post-rollback hook for rollbackcmd.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.