providers

package
v0.10.17 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Detect

func Detect(ctx *config.ProjectContext, includePastResources bool) (schema.Provider, error)

func DetectProjectType added in v0.10.0

func DetectProjectType(path string, forceCLI bool) string

Types

type ValidationError added in v0.9.22

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

ValidationError represents an error that is raised because provider conditions are not met. This error is commonly used to show requirements to a user running an Infracost command.

func (*ValidationError) Error added in v0.9.22

func (e *ValidationError) Error() string

Error returns ValidationError as a string, implementing the error interface.

func (ValidationError) Warn added in v0.9.22

func (e ValidationError) Warn() *string

Warn returns the ValidationError warning message. A warning highlights a potential issue with runtime configuration but a condition that the Provider can proceed with.

Warn can return nil if there are no validation warnings.

Directories

Path Synopsis
aws
aws

Jump to

Keyboard shortcuts

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