terraform

package
v0.0.0-...-4a9cc82 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PlanData

type PlanData struct {
	CreatedAddresses  []string
	UpdatedAddresses  []string
	DeletedAddresses  []string
	ReplacedAddresses []string
	MovedAddresses    []string
	ResourceChanges   []ResourceChangeData
}

func NewPlanData

func NewPlanData(input io.Reader, escapeHTML bool) (*PlanData, error)

func (*PlanData) Render

func (plan *PlanData) Render(w io.Writer) error

type ResourceChangeData

type ResourceChangeData struct {
	ResourceChange *tfjson.ResourceChange
	Renderer       ResourceChangeDataRenderer
}

func (ResourceChangeData) Header

func (r ResourceChangeData) Header() string

func (ResourceChangeData) Render

func (r ResourceChangeData) Render() (string, error)

type ResourceChangeDataRenderer

type ResourceChangeDataRenderer interface {
	Render() (string, error)
	Header() string
}

Jump to

Keyboard shortcuts

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