Categorygithub.com/contaim/spec
modulepackage
1.0.0
Repository: https://github.com/contaim/spec.git
Documentation: pkg.go.dev

# README

Spec

Package spec provides a wrapper around reading from and using HCL-based configuration and markup files, such as those used by Contaim. This package is not intended for public consumption yet, we will most likely have breaking API changes.

# Packages

No description provided by the author

# Functions

New creates a new Spec instance with the pre-ordered slice of parser.NamedBlockDefiniion instances provided.
NewSubset creates a new Spec instance with one or more parser.NamedBlockDefinition instances provided.

# Constants

diagnostic messages.
diagnostic messages.
diagnostic messages.
diagnostic messages.

# Structs

Diagnostics is used to represent a number of diagnostics returned from various places in Spec parsing and file reading.
Spec represents a single type of HCL/JSON schema variant and provides helpers to easily parse raw bytes, files, and more against the schema.