settings

package
v0.26.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: MPL-2.0 Imports: 6 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"`
	PrefillRequiredFields bool `mapstructure:"prefillRequiredFields"`
}

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"`
	IgnoreDirectoryNames []string `mapstructure:"ignoreDirectoryNames"`

	// 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