Module balena_cdsl::dsl::schema
source · Expand description
Top-level constructs representing the configuration DSL language
Modules
Compile
serde_yaml
’s representation into a compiled schema that then can be used in Generator
, using compile
function.A
type
is anything that can be specified after type
keyword as in the specThis module is responsible for parsing the
when
keyword - creating a dependency tree between SchemasStructs
Represents
SchemaAnnotations
from the spec minus the default
keyword, that lives in the object bounds informationRepresents the root of the yaml DSL document
A schema with an associated name, an entry in
SchemaList
Everything that a schema at any level can represent, see schema and subschema in the spec
A first-class collection of
NamedSchema
’s, has convenience methods exposed