tf

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindTerraform

func FindTerraform(ctx context.Context) (string, error)

FindTerraform finds the path to the terraform executable.

Types

type Terraform

type Terraform struct {
	LogEnabled bool
	// contains filtered or unexported fields
}

func NewTerraform

func NewTerraform(workingDirectory string, logEnabled bool) (*Terraform, error)

func (*Terraform) GetExec

func (t *Terraform) GetExec() *tfexec.Terraform

func (*Terraform) GetWorkingDirectory

func (t *Terraform) GetWorkingDirectory() string

func (*Terraform) SetLogEnabled

func (t *Terraform) SetLogEnabled(enabled bool)

Jump to

Keyboard shortcuts

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