Documentation ¶
Index ¶
- Constants
- Variables
- func DeprecatedCommands(opts *options.TerragruntOptions) cli.Commands
- func NewDeprecatedFlags(opts *options.TerragruntOptions) cli.Flags
- func OSExiter(exitCode int)
- func TerragruntCommands(opts *options.TerragruntOptions) cli.Commands
- func WrapWithTelemetry(opts *options.TerragruntOptions) func(ctx *cli.Context, action cli.ActionFunc) error
- type App
- type NotFoundWellKnownURL
- type ProviderCache
- type RegistryURLs
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 ( TerragruntIncludeModulePrefixFlagName = "terragrunt-include-module-prefix" TerragruntIncludeModulePrefixEnvName = "TERRAGRUNT_INCLUDE_MODULE_PREFIX" )
The following flags are DEPRECATED
View Source
const ( // The status returned when making a request to the caching provider. // It is needed to prevent further loading of providers by terraform, and at the same time make sure that the request was processed successfully. CACHE_PROVIDER_HTTP_STATUS_CODE = http.StatusLocked // Authentication type on the Terragrunt Provider Cache server. API_KEY_AUTH = "x-api-key" )
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 (
DefaultRegistryURLs = &RegistryURLs{
ModulesV1: "/v1/modules",
ProvidersV1: "/v1/providers",
}
)
Functions ¶
func DeprecatedCommands ¶ added in v0.66.7
func DeprecatedCommands(opts *options.TerragruntOptions) cli.Commands
func NewDeprecatedFlags ¶ added in v0.67.0
func NewDeprecatedFlags(opts *options.TerragruntOptions) cli.Flags
NewDeprecatedFlags creates and returns deprecated flags.
func TerragruntCommands ¶ added in v0.66.7
func TerragruntCommands(opts *options.TerragruntOptions) cli.Commands
This set of commands is also used in unit tests
func WrapWithTelemetry ¶ added in v0.66.7
func WrapWithTelemetry(opts *options.TerragruntOptions) func(ctx *cli.Context, action cli.ActionFunc) error
Wrap CLI command execution with setting of telemetry context and labels, if telemetry is disabled, just runAction the command.
Types ¶
type App ¶ added in v0.56.4
func NewApp ¶ added in v0.48.7
func NewApp(opts *options.TerragruntOptions) *App
NewApp creates the Terragrunt CLI App.
type NotFoundWellKnownURL ¶ added in v0.64.1
type NotFoundWellKnownURL struct {
// contains filtered or unexported fields
}
func (NotFoundWellKnownURL) Error ¶ added in v0.64.1
func (err NotFoundWellKnownURL) Error() string
type ProviderCache ¶ added in v0.57.9
func InitProviderCacheServer ¶ added in v0.56.4
func InitProviderCacheServer(opts *options.TerragruntOptions) (*ProviderCache, error)
func (*ProviderCache) TerraformCommandHook ¶ added in v0.57.9
func (cache *ProviderCache) TerraformCommandHook(ctx context.Context, opts *options.TerragruntOptions, args []string) (*util.CmdOutput, error)
type RegistryURLs ¶ added in v0.64.1
type RegistryURLs struct { ModulesV1 string `json:"modules.v1"` ProvidersV1 string `json:"providers.v1"` }
func DiscoveryURL ¶ added in v0.64.1
func DiscoveryURL(ctx context.Context, registryName string) (*RegistryURLs, error)
func (*RegistryURLs) String ¶ added in v0.64.1
func (urls *RegistryURLs) String() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.