Documentation
¶
Index ¶
Constants ¶
View Source
const MinEngineVersion = "1.2.0"
MinEngineVersion specifies the minimum engine version accepted by OTF.
TODO: This originally applied only to terraform before tofu was added as an alternative engine. Tofu's earliest version is 1.6.0, which should really be the minimum version if tofu is the selected engine.
Variables ¶
View Source
var ( // Default is the default for setting the default engine. // // NOTE: the actual default engine that has been set by the user should be // retrieved via the daemon config. Default = Terraform // Terraform is the terraform engine Terraform = &Engine{engine: &terraform{}} // Tofu is the opentofu engine Tofu = &Engine{engine: &tofu{}} // ErrInvalidVersion is returned when a engine version string is // not a semantic version string (major.minor.patch). ErrInvalidVersion = errors.New("invalid engine version") )
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func ListEngines ¶
func ListEngines() []*Engine
func (*Engine) MarshalText ¶
func (*Engine) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.