tg

package module
v0.0.0-...-3d7997b Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2021 License: MIT Imports: 12 Imported by: 0

README

TerraGo

WARNING!

TerraGo is exploring unsupported ways of using Terraform providers.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manifest

type Manifest struct {
	Resources map[string]*Resource
	Dag       dag.AcyclicGraph
}

Manifest ...

func New

func New() *Manifest

New ...

func (*Manifest) Apply

func (h *Manifest) Apply(ctx context.Context, p *schema.Provider, s State) error

Apply ...

type Resource

type Resource struct {
	ResourceLogicalID string
	ResourceType      string
	ResourceConfig    map[string]interface{}
	ResourceState     *terraform.InstanceState
}

Resource ...

func (*Resource) Reconcile

func (h *Resource) Reconcile(ctx context.Context, p *schema.Provider, s State, r map[string]*Resource) error

Reconcile ...

type State

type State interface {
	Read(string, interface{}) error
	Write(string, interface{}) error
}

State ...

Directories

Path Synopsis
internal
dag
tfd
Package tfd is a utility package for representing errors and warnings in a manner that allows us to produce good messages for the user.
Package tfd is a utility package for representing errors and warnings in a manner that allows us to produce good messages for the user.

Jump to

Keyboard shortcuts

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