Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Name string = "consul-esm" // The git commit that was compiled. These will be filled in by the // compiler. GitCommit string GitDescribe string // Version is the main version number that is being run at the moment. // Note: our current release process does a pattern match on this variable. Version = "0.8.0" // VersionPrerelease is a pre-release marker for the version. If this is "" // (empty string) then it means that it is a final release. Otherwise, this // is a pre-release such as "dev" (in development), "beta", "rc1", etc. VersionPrerelease = "" )
Functions ¶
func CheckConsulVersions ¶ added in v0.4.0
CheckConsulVersions checks for the compatibility of the Consul versions. Valid SemVer is expected, and will consider any invalid versions to be incompatible.
func GetConsulVersionConstraint ¶ added in v0.4.0
func GetConsulVersionConstraint() string
GetConsulVersionConstraint returns the version constraint for Consul that ESM is compatible with.
func GetHumanVersion ¶ added in v0.2.0
func GetHumanVersion() string
GetHumanVersion composes the parts of the version in a way that's suitable for displaying to humans.
func NewConsulVersionError ¶ added in v0.4.0
NewConsulVersionError returns an error detailing the version compatibility issue between ESM and Consul servers.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.