Documentation ¶
Index ¶
- func ErrorMismatch(key, expected, actual string) string
- func ErrorNotMatchAny(key string) string
- func ErrorNotMatchAnyValues(key string, value string, options []string) string
- func ErrorShouldDefine(key string) string
- func ErrorShouldNotDefine(key string, options []string) string
- func ErrorShouldNotDefineReadOnly(key string) string
- func NewDiagnostics(src []byte, filename string) diagnostics.Diagnostics
- func Validate(hclNode *parser.HclNode, typeBase *types.TypeBase) hcl.Diagnostics
- func ValidateBlock(src []byte, block *hclsyntax.Block) hcl.Diagnostics
- func ValidateFile(src []byte, filename string) (*hcl.File, hcl.Diagnostics)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorMismatch ¶
func ErrorNotMatchAny ¶
func ErrorNotMatchAnyValues ¶
func ErrorShouldDefine ¶
func ErrorShouldNotDefine ¶
func NewDiagnostics ¶
func NewDiagnostics(src []byte, filename string) diagnostics.Diagnostics
func ValidateBlock ¶
func ValidateFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.