hcl2json

package
v0.0.0-...-26b2365 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hcl2DiffJson

func Hcl2DiffJson(oldHcl2Files, newHcl2Files []string) []byte

func Hcl2DiffPatch

func Hcl2DiffPatch(oldHcl2Files, newHcl2Files []string) jsondiff.Patch

Types

type JsonMap

type JsonMap = map[string]interface{}

func Hcl2DiffJsonMap

func Hcl2DiffJsonMap(oldHcl2Files, newHcl2Files []string) JsonMap

type Op

type Op struct {
	Type     string      `json:"op"`
	From     *string     `json:"from"`
	Path     *string     `json:"path"`
	OldValue interface{} `json:"oldValue"`
	Value    interface{} `json:"value"`
}

Jump to

Keyboard shortcuts

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