parser

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HclBlockDescriptionField = "description"
	HclBlockValueField       = "value"
)

Variables

This section is empty.

Functions

func NewTerraformParser

func NewTerraformParser(log logger.Logger) drivers.Parser

Types

type TerraformParser

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

func (*TerraformParser) Parse

func (p *TerraformParser) Parse(path string) (map[string]*types.Module, error)

Parse parses a local terraform module and returns module structs

Jump to

Keyboard shortcuts

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