# Packages
NOTE: Some pieces of code was borrowed from: - k8s.io/apimachinery/pkg/version/helpers.go.
# Functions
Current returns the current version of maya.
GetBuildMeta returns the build type from the global VersionMeta variable.
GetGitCommit returns the Git commit SHA-1 from the global GitCommit variable.
GetVersion returns the current version from the global Version variable.
No description provided by the author
IsNotVersioned returns true if the given string does not have version as its suffix.
IsVersioned returns true if the given string has version as its name example: cstor-craete-pool-1.11.0-ce-rc2.
NewVersionCollector returns a collector which exports metrics about current version information.
WithSuffix appends current version to the provided string.
WithSuffixesIf appends current version to the provided strings.
WithSuffixIf appends current version to the provided string if given predicate succeeds.
WithSuffixLower appends current version to the provided string.
# Variables
GitCommit that was compiled.
Version show the version number,fill in by the compiler.
VersionMeta is a pre-release marker for the version.