Documentation ¶
Overview ¶
Package configuration TODO
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
type Configuration struct { Kind string `yaml:"kind"` Metadata Metadata `yaml:"metadata"` Spec interface{} `yaml:"spec"` Executor TerraformExecutor `yaml:"executor"` Provisioner string `yaml:"provisioner"` }
Configuration represents the base of the configuration file
func Parse ¶
func Parse(path string) (*Configuration, error)
Parse parses a yaml configuration file (path) returning the parsed configuration file as a Configuration struct
type Metadata ¶
Metadata represents a set of metadata information to be used while performing operations
type StateConfiguration ¶
type StateConfiguration struct { Backend string `yaml:"backend"` Config map[string]string `yaml:"config"` }
StateConfiguration represents the terraform state configuration to be used
type TerraformExecutor ¶
type TerraformExecutor struct { // Local Path Path string `yaml:"path"` // StateConfiguration configures the terraform state to use StateConfiguration StateConfiguration `yaml:"state"` }
TerraformExecutor represents the terraform executor configuration to be used
Click to show internal directories.
Click to hide internal directories.