Documentation
¶
Overview ¶
Package version provides centralized version information for Prism.
This package implements the Semantic Versioning 2.0.0 specification (https://semver.org/) for the Prism project. It provides a single source of truth for version information used by all components and binaries in the project.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version is the current version of Prism. // Should be in the format MAJOR.MINOR.PATCH. Version = "0.23.0" // GitCommit is the git commit hash of the build. GitCommit = "" // BuildDate is the build date of the build. BuildDate = "" // GoVersion is the go version used to compile the build. GoVersion = "" )
These variables are populated by the build system.
Functions ¶
func GetCLIVersionInfo ¶
func GetCLIVersionInfo() string
GetCLIVersionInfo returns version info specifically for the CLI component.
func GetDaemonVersionInfo ¶
func GetDaemonVersionInfo() string
GetDaemonVersionInfo returns version info specifically for the daemon component.
func GetVersionInfo ¶
func GetVersionInfo() string
GetVersionInfo returns a formatted string with version information.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.