lib

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InfoColorLine    = "\033[1;34m%s\033[0m\n"
	NoticeColorLine  = "\033[1;36m%s\033[0m\n"
	WarningColorLine = "\033[1;33m%s\033[0m\n"
	WarningColorMap  = "\033[1;33m%-*s\033[0m : \u001B[1;33m%s\u001B[0m\n"
	ErrorColorLine   = "\033[1;31m%s\033[0m\n"
	DebugColorLine   = "\033[0;36m%s\033[0m\n"
)

Variables

This section is empty.

Functions

func ArgsValidator

func ArgsValidator(cmd *cobra.Command, args []string) error

func Binary

func Binary() string

func Executor

func Executor(cmd cobra.Command, workspace string, path string, switchWorkspace bool) (*tfexec.Terraform, context.Context, []string, map[string]any)

func GetVar

func GetVar(name string, cmd cobra.Command, mergedVars map[string]any, required bool) string

func VarToString

func VarToString(v any) string

func Vars

func Vars(cmd cobra.Command, env string, stackPath string) ([]string, map[string]any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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