package
3.6.0+incompatible
Repository: https://github.com/openebs/cstor-operators.git
Documentation: pkg.go.dev
# Functions
CanCurrentVersionBeUpgraded determines whether the current version is within the range of minCurrentVersion and validDesiredVersion.
Current returns the current version of maya.
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
IsCurrentVersionValid verifies if the current version is valid or not.
IsDesiredVersionValid verifies the desired version is valid or not.
IsNotVersioned returns true if the given string does not have version as its suffix.
IsOldLessThanOrEqualNewVersion compares old and new version and returns true if old version is less `<` or equal then new version.
IsVersioned returns true if the given string has version as its suffix.
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.
# Variables
GitCommit that was compiled.
Version show the version number,fill in by the compiler.
VersionMeta is a pre-release marker for the version.