Documentation
¶
Index ¶
- func DetermineTaskType(task Task) string
- func GetDeploymentManifest(filePath string, variableFilePath string) ([]string, map[string]interface{}, error)
- func GetModuleBlock(moduleProvisionTask Module) (string, map[string]interface{})
- func GetResourceBlock(resourceProvisionTask Resource) (string, map[string]interface{})
- func GetTaskBlock(task Task) (string, string, map[string]interface{}, error)
- func PathToResource() string
- type Module
- type Provider
- type RemoteState
- type Resource
- type Task
- type TerraformConf
- type TerramlFileContent
- type TerramlParser
- func (p *TerramlParser) BuildResourcePathVariable()
- func (p *TerramlParser) Cleanup()
- func (p *TerramlParser) GetProviderBlock() map[string]interface{}
- func (p *TerramlParser) GetProvisionBlock() ([]string, error)
- func (p *TerramlParser) GetTerraformConfBlock()
- func (p *TerramlParser) LoadVariables(varFilePath string) error
- func (p *TerramlParser) ParseTerramlFile() error
- func (p *TerramlParser) RenderTerramlFileWithVariables(filePath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetermineTaskType ¶
func GetDeploymentManifest ¶
func GetModuleBlock ¶
func GetResourceBlock ¶
func PathToResource ¶
func PathToResource() string
Types ¶
type Module ¶
type RemoteState ¶
type Resource ¶
type TerraformConf ¶
type TerraformConf struct {
RemoteState RemoteState `yaml:"remote_state"`
}
type TerramlFileContent ¶
type TerramlFileContent struct { TerraformConf TerraformConf `yaml:"terraform_conf"` Providers []Provider `yaml:"providers"` Provision []Task `yaml:"provision"` }
type TerramlParser ¶
type TerramlParser struct { TerramlFileContent TerramlFileContent Variables interface{} DeploymentManifest map[string]interface{} RenderedFilePath string }
func (*TerramlParser) BuildResourcePathVariable ¶
func (p *TerramlParser) BuildResourcePathVariable()
func (*TerramlParser) Cleanup ¶
func (p *TerramlParser) Cleanup()
func (*TerramlParser) GetProviderBlock ¶
func (p *TerramlParser) GetProviderBlock() map[string]interface{}
func (*TerramlParser) GetProvisionBlock ¶
func (p *TerramlParser) GetProvisionBlock() ([]string, error)
func (*TerramlParser) GetTerraformConfBlock ¶
func (p *TerramlParser) GetTerraformConfBlock()
func (*TerramlParser) LoadVariables ¶
func (p *TerramlParser) LoadVariables(varFilePath string) error
func (*TerramlParser) ParseTerramlFile ¶
func (p *TerramlParser) ParseTerramlFile() error
func (*TerramlParser) RenderTerramlFileWithVariables ¶
func (p *TerramlParser) RenderTerramlFileWithVariables(filePath string) error
Click to show internal directories.
Click to hide internal directories.