parser

package
v0.0.0-...-e8a946a Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HCLEncoader

func HCLEncoader(in interface{}) string

Types

type Delta

type Delta struct {
	ResourceType string
	NewResource  bool
	Before       interface{}
	After        interface{}
}

type Parser

type Parser struct {
	File   string
	Deltas []Delta
}

func (*Parser) GetChanges

func (p *Parser) GetChanges() ([]Delta, error)

func (*Parser) GetVariableValue

func (p *Parser) GetVariableValue(key string) (string, error)

func (*Parser) PlanChangesInMd

func (p *Parser) PlanChangesInMd(w io.Writer) error

func (*Parser) Read

func (p *Parser) Read() (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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