Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Package = "github.com/skydive-project/skydive"
Package is the overall, canonical project import path under which the package was built.
var Version = "v0.4.0+unknown"
Version indicates which version of the binary is running. This is set to the latest release tag by hand, always suffixed by "+unknown". During build, it will be replaced by the actual version. The value here will be used if Skydive is run after a go get based install.
Functions ¶
func FprintVersion ¶
FprintVersion outputs the version string to the writer, in the following format, followed by a newline:
<cmd> <project> <version>
For example, a binary "registry" built from github.com/docker/distribution with version "v1.0.0" would print the following:
skydive_agent github.com/skydive-project/skydive v1.0.0
func PrintVersion ¶
func PrintVersion()
PrintVersion outputs the version information, from Fprint, to stdout.
Types ¶
This section is empty.