parser

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(path string, level hclog.Level) (proto.ParserServiceClient, func(), error)

Types

type Config

type Config struct {
	Plugin  string `env:"INFRACOST_CLI_PARSER_PLUGIN"`
	Version string `env:"INFRACOST_CLI_PARSER_PLUGIN_VERSION"`

	Load func(level hclog.Level) (api.ParserServiceClient, func(), error)
}

func (*Config) Parse

func (c *Config) Parse(ctx context.Context, path string, cfg *repoconfig.Config, project *repoconfig.Project, level hclog.Level, options *options.GenericOptions) (*api.ParseResponse, error)

func (*Config) Process added in v0.0.3

func (c *Config) Process()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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