Documentation
¶
Overview ¶
Package version exposes build metadata shared by the server and CLI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var BuildDate = "unknown"
BuildDate is the UTC build timestamp set by the release build's linker flags.
var Commit = "unknown"
Commit is the source revision set by the release build's linker flags.
var Version = "dev"
Version is set by the release build's linker flags.
Functions ¶
func BuildIdentity ¶ added in v0.4.0
func BuildIdentity() string
BuildIdentity identifies the running executable without hashing a deployment archive. It deliberately preserves the deployment artifact's Go build-note / stat fallback.
func CommitLabel ¶
func CommitLabel() string
CommitLabel distinguishes absent provenance from a deployed source revision.
func String ¶
func String() string
String returns a human-readable version with source and build provenance.
func VersionLabel ¶
func VersionLabel() string
VersionLabel makes an unversioned source build explicit to API/UI consumers.
Types ¶
This section is empty.