chart

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more 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