Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectProjectType ¶ added in v0.10.0
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.
Click to show internal directories.
Click to hide internal directories.