package
8.15.2+incompatible
Repository: https://github.com/elastic/elastic-agent.git
Documentation: pkg.go.dev

# Functions

BuildTime returns the build time of the binaries.
Commit returns the current build hash or unknown if it was not injected in the build process.
Complete returns true if image was built as complete.
Info returns current version information.
PGP return pgpbytes.
ShortCommit returns commit up to 6 characters.
Snapshot returns true if binary was built as snapshot.
TrimCommit trims commit up to 6 characters.
Upgradeable return true when release is built specifically for upgrading.
Version returns the version of the application.
VersionWithSnapshot returns the version of the application.

# Structs

VersionInfo is structure used by `version --yaml`.