terraform

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HasChanges = false
View Source
var Logger = log.New(os.Stderr, "", log.LstdFlags)

Functions

func AddVarFileIfWorkspaceSelected

func AddVarFileIfWorkspaceSelected(cfg *config.Config, profile, dir, ws string, varFiles []string) ([]string, error)

If a workspace is selected automatically insert a var file matching the workspace. If the var file is already present then don't add it again.

func BuildRun added in v0.6.0

func BuildRun(ctx context.Context, opt *getoptions.GetOpt, args []string) error

func ComponentFromContext added in v0.6.0

func ComponentFromContext(ctx context.Context) string

func DirFromContext added in v0.6.0

func DirFromContext(ctx context.Context) string

func LogConfig added in v0.6.0

func LogConfig(cfg *config.Config, profile string)

func NewCommand

func NewCommand(ctx context.Context, parent *getoptions.GetOpt) *getoptions.GetOpt

func NewComponentContext added in v0.6.0

func NewComponentContext(ctx context.Context, value string) context.Context

func NewDirContext added in v0.6.0

func NewDirContext(ctx context.Context, value string) context.Context

func NewStackContext added in v0.12.0

func NewStackContext(ctx context.Context, value bool) context.Context

func StackFromContext added in v0.12.0

func StackFromContext(ctx context.Context) bool

Types

type VarFileCMDer

type VarFileCMDer interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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