parser

package
v0.28.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Path  = "path"
	Env   = "env"
	File  = "file"
	HTTP  = "http"
	HTTPS = "https"
)
View Source
const MinDiffLineTokensNum = 3

Variables

View Source
var (
	ErrCannotParseDynamicValue = fmt.Errorf("cannot parse dynamic value")
	RelativePathRegexp         = regexp.MustCompile(`^\.{1,}\/`)
)

Functions

This section is empty.

Types

type ConfigParser added in v0.27.3

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

func NewConfigParser added in v0.27.3

func NewConfigParser(baseDir string) *ConfigParser

func (*ConfigParser) ParseDynamicValue added in v0.27.3

func (p *ConfigParser) ParseDynamicValue(val any) (string, error)

type TfPlan

type TfPlan struct {
	Destroy []string
	Add     []string
	Change  []string
}

type TfPlanParser

type TfPlanParser struct {
	Plan string
}

func NewTfPlanParser

func NewTfPlanParser(plan string) *TfPlanParser

func (*TfPlanParser) Parse

func (p *TfPlanParser) Parse() *TfPlan

Jump to

Keyboard shortcuts

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