terraform

package
v0.0.0-...-e5cea4b Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidType = xerrors.New("validation failed")
)

Functions

func RegisterResourceChangeType

func RegisterResourceChangeType(ls *lua.LState)

RegisterResourceChangeType registers the ResourceChange type inside the Lua state.

Types

type AbsResourceInstance

type AbsResourceInstance struct {
}

type Plan

type Plan struct {
	*plans.Plan
}

func (*Plan) FindResource

func (p *Plan) FindResource(resourceType string, resourceName string) ([]*ResourceChange, error)

type PlanFile

type PlanFile struct {
	Plan      *plans.Plan
	State     *statefile.File
	PrevState *statefile.File
	Config    *configs.Config
}

func LoadPlanFile

func LoadPlanFile(file afero.File) (*PlanFile, error)

type ResourceChange

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

func CheckResourceChange

func CheckResourceChange(ls *lua.LState) (*ResourceChange, error)

CheckResourceChange checks whether the first lua argument is a *LUserData with *ResourceChange and returns this *ResourceChange.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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