Documentation ¶ Index ¶ func LogInternalError(format string, a ...any) type Line func ReadLines(sourceRange hcl.Range, bytes []byte) ([]Line, error) func ReadLinesForRange(sourceRange hcl.Range) ([]Line, error) func (l Line) String() string type ResourceValidationInfo type ValidationError func (e ValidationError) Print() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func LogInternalError ¶ func LogInternalError(format string, a ...any) Types ¶ type Line ¶ type Line struct { LineNumber int Content string } func ReadLines ¶ func ReadLines(sourceRange hcl.Range, bytes []byte) ([]Line, error) func ReadLinesForRange ¶ func ReadLinesForRange(sourceRange hcl.Range) ([]Line, error) func (Line) String ¶ func (l Line) String() string type ResourceValidationInfo ¶ type ResourceValidationInfo struct { SourceRanges map[string]hcl.Range BlockDefRange hcl.Range ResourceId string } type ValidationError ¶ type ValidationError struct { SourceRange hcl.Range ErrorMessage string ResourceId string FieldName string ResourceNotFound bool ResourceNotFoundId string } func (ValidationError) Print ¶ func (e ValidationError) Print() Source Files ¶ View all Source files validate.go Click to show internal directories. Click to hide internal directories.