version

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2023 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const CompatibleTerraformVersionConstraint = ">= 0.13.0, <= 1.6.2"

CompatibleTerraformVersionConstraint is the version constraint imposed for running Terraform in automation with CTS. This is currently upward bounded to prevent using newer versions of Terraform that may introduce breaking changes CTS currently does not account for. The upper bound may be removed once CTS has protocols set in place for compatible modules and can handle Terraform syntax changes and enhancements between versions.

Variables

View Source
var (
	Name = "consul-terraform-sync"

	// GitCommit is the git commit that was compiled. These will be filled in by
	// the compiler.
	GitCommit   string
	GitDescribe string

	// GitDirty is dirty if the working tree has local modifications from HEAD.
	// These will be filled in by the compiler.
	GitDirty string

	// The main version number that is being run at the moment.
	//
	// Version must conform to the format expected by
	// github.com/hashicorp/go-version for tests to work.
	Version = "0.7.1"

	// 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 = ""

	VersionMetadata = ""
)
View Source
var TerraformConstraint version.Constraints

TerraformConstraint is the go-version constraint variable for CompatibleTerraformVersionConstraint

Functions

func GetHumanVersion

func GetHumanVersion() string

GetHumanVersion composes the parts of the version in a way that's suitable for displaying to humans.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL