chart

package
v0.0.0-...-ef68a79 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2019 License: Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TerraformMainTFFilename is the name of the main.tf file.
	TerraformMainTFFilename = "main.tf"
	// TerraformVariablesTFFilename is the name of the variables.tf file.
	TerraformVariablesTFFilename = "variables.tf"
	// TerraformTFVarsFilename is the name of the terraform.tfvars file.
	TerraformTFVarsFilename = "terraform.tfvars"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TerraformFiles

type TerraformFiles struct {
	Main      string
	Variables string
	TFVars    []byte
}

TerraformFiles contains all files necessary for initializing a Terraformer.

func ExtractTerraformFiles

func ExtractTerraformFiles(release *chartrenderer.RenderedChart) (*TerraformFiles, error)

ExtractTerraformFiles extracts TerraformFiles from the given RenderedChart.

It errors if a file is not contained in the chart.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL