Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloudbeatSemanticVersion ¶
func CloudbeatSemanticVersion() string
CloudbeatSemanticVersion returns the current cloudbeat version.
Types ¶
type CloudbeatVersionInfo ¶
type Version ¶
type Version struct { Version string `mapstructure:"version,omitempty"` // Version is the semantic version of the package CommitHash string `mapstructure:"commit_sha,omitempty"` // CommitHash is the git commit hash of the package CommitTime string `mapstructure:"commit_time,omitempty"` // CommitTime is the git commit time of the package }
Version represents version information for a package
func CloudbeatVersion ¶
func CloudbeatVersion() Version
CloudbeatVersion returns cloudbeat version info used for the build.
Click to show internal directories.
Click to hide internal directories.