version

package
v0.0.0-...-6cf1bc9 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2016 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package version contains versioning information for juju. It also acts as guardian of the current client Juju version number.

Index

Constants

This section is empty.

Variables

View Source
var Compiler = runtime.Compiler
View Source
var Current = semversion.MustParse(version)

Current gives the current version of the system. If the file "FORCE-VERSION" is present in the same directory as the running binary, it will override this.

Functions

func IsDev

func IsDev(v semversion.Number) bool

IsDev returns whether the version represents a development version. A version with a tag or a nonzero build component is considered to be a development version. Versions older than or equal to 1.19.3 (the switch over time) check for odd minor versions.

Types

This section is empty.

Jump to

Keyboard shortcuts

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