Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DependencyProcessor ¶
DependencyProcessor can process a dependency and return the values from output. Each dependency processor will run in its own context, with separate environment variables. All dependency resolving that can be done in same context can be run in one processor, but use multiple processors to separate the context they run in
type Executor ¶
type Executor interface {
Execute(options *shell.Options, command string, args ...string) error
NewOutputProcessor() OutputProcessor
}
Executor executes terraform commands
type Generator ¶
type Generator interface {
GenerateOverrides(file *loader.ParsedFile) ([]byte, bool, error)
GenerateDependencies(file *loader.ParsedFile) ([]DependencyProcessor, bool, error)
GenerateVariables(file *loader.ParsedFile) ([]byte, error)
}
Generator for generating terraform assets
type OutputProcessor ¶
OutputProcessor can parse the output from terraform and parse it into a map of values. It implements the shell.OutputProcessor interface so it can be sent into shell executor and read the values directly. Calling GetOutput after executing shell command should return the output values it found
type VersionCompatibility ¶
type VersionCompatibility interface {
GetValidCommands() []string
GetInvalidArgs(command string) []string
}
VersionCompatibility checks terraform executor for capabilities