settings

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2021 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DecodedOptions

type DecodedOptions struct {
	Options    *Options
	UnusedKeys []string
}

func DecodeOptions

func DecodeOptions(input interface{}) (*DecodedOptions, error)

type ExperimentalFeatures added in v0.12.0

type ExperimentalFeatures struct {
	ValidateOnSave bool `mapstructure:"validateOnSave"`
}

type Options

type Options struct {
	// ModulePaths describes a list of absolute paths to modules to load
	ModulePaths        []string `mapstructure:"rootModulePaths"`
	ExcludeModulePaths []string `mapstructure:"excludeModulePaths"`
	CommandPrefix      string   `mapstructure:"commandPrefix"`

	// ExperimentalFeatures encapsulates experimental features users can opt into.
	ExperimentalFeatures ExperimentalFeatures `mapstructure:"experimentalFeatures"`

	TerraformExecPath    string `mapstructure:"terraformExecPath"`
	TerraformExecTimeout string `mapstructure:"terraformExecTimeout"`
	TerraformLogFilePath string `mapstructure:"terraformLogFilePath"`
}

func (*Options) Validate

func (o *Options) Validate() error

Jump to

Keyboard shortcuts

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