module

package
v0.0.0-...-978a5fb Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsModuleNotFound

func IsModuleNotFound(err error) bool

func IsTerraformNotFound

func IsTerraformNotFound(err error) bool

func TerraformExecPath

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

func TerraformExecutorForModule

func TerraformExecutorForModule(ctx context.Context, modPath string) (exec.TerraformExecutor, error)

Types

type ModuleNotFoundErr

type ModuleNotFoundErr struct {
	Dir string
}

func (*ModuleNotFoundErr) Error

func (e *ModuleNotFoundErr) Error() string

type NoTerraformExecPathErr

type NoTerraformExecPathErr struct{}

func (NoTerraformExecPathErr) Error

type ReadOnlyFS

type ReadOnlyFS interface {
	fs.FS
	ReadDir(name string) ([]fs.DirEntry, error)
	ReadFile(name string) ([]byte, error)
	Stat(name string) (fs.FileInfo, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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