version

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

The release version is defined here.

Index

Constants

View Source
const Channel = "default"

Hardcoded (for now) channel value for wireleap client.

Variables

View Source
var GITREV string = "<unset>"

old name compat

View Source
var MIGRATIONS = []*upgrade.Migration{}

MIGRATIONS is the slice of versioned migrations.

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

func LatestChannelVersion(f fsdir.T) (_ semver.Version, err error)

LatestChannelVersion is a special function for wireleap which will obtain the latest version supported by the currently configured update channel from the directory.

func PostRollbackHook

func PostRollbackHook(f fsdir.T) (err error)

Post-rollback hook for rollbackcmd.

func PostUpgradeHook

func PostUpgradeHook(f fsdir.T) (err error)

Post-upgrade hook for superviseupgradecmd.

Types

This section is empty.

Jump to

Keyboard shortcuts

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