[core] Schema: tests first for validation and compiler determinism (red: 37+11 failing)
This commit is contained in:
@@ -3,3 +3,21 @@
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
|
||||
//! Ianitor core: host-file model, validation and compilers. Pure: no I/O, no network.
|
||||
//!
|
||||
//! The routes repo holds `ianitor.toml` (site settings) and one TOML file per host.
|
||||
//! [`load`] turns them into a validated [`Model`]; [`compile::edge`] and [`compile::caddy`]
|
||||
//! turn the model into the configs of the two engines.
|
||||
|
||||
pub mod compile;
|
||||
pub mod edge_config;
|
||||
mod error;
|
||||
mod model;
|
||||
mod validate;
|
||||
|
||||
pub use error::{ValidationError, ValidationErrors};
|
||||
pub use model::{
|
||||
AccessLog, Acme, AuthMode, ForwardAuth, HeaderRule, HeaderValue, HealthCheck, Host, Hostname,
|
||||
Model, Scheme, SecretName, Site, TlsMode, Upstream, UpstreamHost, AUTHELIA_COPY_HEADERS,
|
||||
LETSENCRYPT_PRODUCTION, LETSENCRYPT_STAGING,
|
||||
};
|
||||
pub use validate::{load, SourceFile};
|
||||
|
||||
Reference in New Issue
Block a user