terraform

package
v1.4.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2016 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Literal

type Literal struct {
	// contains filtered or unexported fields
}

func LiteralExpression

func LiteralExpression(s string) *Literal

func LiteralFromStringValue

func LiteralFromStringValue(s string) *Literal

func LiteralProperty

func LiteralProperty(resourceType, resourceName, prop string) *Literal
func LiteralSelfLink(resourceType, resourceName string) *Literal

func (*Literal) MarshalJSON

func (l *Literal) MarshalJSON() ([]byte, error)

type TerraformTarget

type TerraformTarget struct {
	Cloud   fi.Cloud
	Region  string
	Project string
	// contains filtered or unexported fields
}

func NewTerraformTarget

func NewTerraformTarget(cloud fi.Cloud, region, project string, outDir string) *TerraformTarget

func (*TerraformTarget) AddFile

func (t *TerraformTarget) AddFile(resourceType string, resourceName string, key string, r fi.Resource) (*Literal, error)

func (*TerraformTarget) Finish

func (t *TerraformTarget) Finish(taskMap map[string]fi.Task) error

func (*TerraformTarget) RenderResource

func (t *TerraformTarget) RenderResource(resourceType string, resourceName string, e interface{}) error

Jump to

Keyboard shortcuts

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