Documentation
¶
Overview ¶
Package shared provides flags that are shared by multiple commands.
This package is underutilized right now, as some more serious refactoring is needed to make sure all shared flags use this package instead of reusing flags from other commands.
Index ¶
- Constants
- func NewFilterFlag(opts *options.TerragruntOptions) *flags.Flag
- func NewParallelismFlag(opts *options.TerragruntOptions) *flags.Flag
- func NewQueueFlags(opts *options.TerragruntOptions, prefix flags.Prefix) cli.Flags
- func NewScaffoldingFlags(opts *options.TerragruntOptions, prefix flags.Prefix) cli.Flags
- func NewTFPathFlag(opts *options.TerragruntOptions) *flags.Flag
Constants ¶
View Source
const ( // General related flags. TFPathFlagName = "tf-path" // Queue related flags. QueueIgnoreErrorsFlagName = "queue-ignore-errors" QueueIgnoreDAGOrderFlagName = "queue-ignore-dag-order" QueueExcludeExternalFlagName = "queue-exclude-external" QueueExcludeDirFlagName = "queue-exclude-dir" QueueExcludesFileFlagName = "queue-excludes-file" QueueIncludeDirFlagName = "queue-include-dir" QueueIncludeExternalFlagName = "queue-include-external" QueueStrictIncludeFlagName = "queue-strict-include" QueueIncludeUnitsReadingFlagName = "queue-include-units-reading" // Filter related flags. FilterFlagName = "filter" // Scaffolding related flags. RootFileNameFlagName = "root-file-name" NoIncludeRootFlagName = "no-include-root" NoShellFlagName = "no-shell" NoHooksFlagName = "no-hooks" // Concurrency control flags. ParallelismFlagName = "parallelism" )
Variables ¶
This section is empty.
Functions ¶
func NewFilterFlag ¶ added in v0.91.2
func NewFilterFlag(opts *options.TerragruntOptions) *flags.Flag
NewFilterFlag creates a flag for specifying filter queries.
func NewParallelismFlag ¶ added in v0.92.1
func NewParallelismFlag(opts *options.TerragruntOptions) *flags.Flag
NewParallelismFlag creates a flag for specifying parallelism level.
func NewQueueFlags ¶
NewQueueFlags creates the flags used for queue control
func NewScaffoldingFlags ¶ added in v0.92.0
NewScaffoldingFlags creates the flags shared between catalog and scaffold commands.
func NewTFPathFlag ¶
func NewTFPathFlag(opts *options.TerragruntOptions) *flags.Flag
NewTFPathFlag creates a flag for specifying the OpenTofu/Terraform binary path.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.