base

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseTool

type BaseTool struct {
	ExecPath   string
	WorkingDir string
	ToolName   string // "terraform" or "tofu"
}

BaseTool provides common functionality for Terraform and OpenTofu

func (*BaseTool) Apply

func (t *BaseTool) Apply(planArtifactPath string) error

func (*BaseTool) GetExecPath

func (t *BaseTool) GetExecPath() string

func (*BaseTool) Init

func (t *BaseTool) Init(workingDir string) error

func (*BaseTool) Plan

func (t *BaseTool) Plan(planArtifactPath string) error

func (*BaseTool) Show

func (t *BaseTool) Show(planArtifactPath, mode string) ([]byte, error)

func (*BaseTool) TenvName

func (t *BaseTool) TenvName() string

Jump to

Keyboard shortcuts

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