Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
Generator is a request to generate a Terraform module.
func NewGenerator ¶
NewGenerator takes options and returns a new validated generator.
func (*Generator) TerraformModuleDir ¶
TerraformModuleDir is the directory where the generated Terraform.
func (*Generator) TerraformModulePath ¶
TerraformModulePath is where the generated Terraform module file will be written.
func (*Generator) TerraformRCPath ¶
TerraformRCPath is where the generated terraform.rc configuration file will be written.
type Opt ¶
Opt is a generate module option.
func WithOutBaseDirectory ¶
WithOutBaseDirectory is the destination base directory where modules will be written.
func WithScenario ¶
func WithScenario(s *flightplan.Scenario) Opt
WithScenario is the scenario to generate into a module.
func WithScenarioBaseDirectory ¶
WithScenarioBaseDirectory is base directory where the scenario defintions reside.
Click to show internal directories.
Click to hide internal directories.