cli

package
v0.57.8 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 47 Imported by: 14

Documentation

Index

Constants

View Source
const (
	CommandNameSpinUp      = "spin-up"
	CommandNameTearDown    = "tear-down"
	CommandNamePlanAll     = "plan-all"
	CommandNameApplyAll    = "apply-all"
	CommandNameDestroyAll  = "destroy-all"
	CommandNameOutputAll   = "output-all"
	CommandNameValidateAll = "validate-all"
)

The following commands are DEPRECATED

View Source
const AppHelpTemplate = `` /* 832-byte string literal not displayed */
View Source
const AppVersionTemplate = `terragrunt version {{.App.Version}}
`
View Source
const CommandHelpTemplate = `` /* 975-byte string literal not displayed */

Variables

View Source
var (
	// HTTPStatusCacheProviderReg is regular expression to determine the success result of the command `terraform lock providers -platform=cache provider`.
	// The reg matches if the text contains "423 Locked", for example:
	//
	// - registry.terraform.io/hashicorp/template: could not query provider registry for registry.terraform.io/hashicorp/template: 423 Locked.
	HTTPStatusCacheProviderReg = regexp.MustCompile(`(?mi)` + strconv.Itoa(controllers.HTTPStatusCacheProvider) + `[^a-z0-9]*` + http.StatusText(controllers.HTTPStatusCacheProvider))
)

Functions

This section is empty.

Types

type App added in v0.56.4

type App struct {
	*cli.App
}

func NewApp added in v0.48.7

func NewApp(writer io.Writer, errWriter io.Writer) *App

NewApp creates the Terragrunt CLI App.

func (*App) Run added in v0.56.4

func (app *App) Run(args []string) error

func (*App) RunContext added in v0.56.4

func (app *App) RunContext(ctx context.Context, args []string) error

type ProviderCacheServer added in v0.56.4

type ProviderCacheServer struct {
	*cache.Server
	Env map[string]string
}

func InitProviderCacheServer added in v0.56.4

func InitProviderCacheServer(opts *options.TerragruntOptions) (*ProviderCacheServer, error)

func (*ProviderCacheServer) TerraformCommandHook added in v0.56.4

func (server *ProviderCacheServer) TerraformCommandHook(ctx context.Context, opts *options.TerragruntOptions, args []string) error

Jump to

Keyboard shortcuts

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