package
8.15.2+incompatible
Repository: https://github.com/elastic/elastic-agent.git
Documentation: pkg.go.dev
# Functions
BuildTime exposes the compile-time build time information.
Commit exposes the compile-time commit hash.
GetAgentPackageVersion retrieves the version saved in package.version in the same directory as the agent executable.
GetAgentPackageVersionFilePath returns the path where the package version file should be located (side by side with the currently executing binary).
GetDefaultVersion returns the current libbeat version.
GetParsedAgentPackageVersion retrieves the version saved in package.version in the same directory as the agent executable and returns it as a parsed semver object.
InitVersionError returns any error that might have occurred during package init.
InitVersionInformation initialize the package version string reading from the corresponding file.
# Constants
No description provided by the author
No description provided by the author