2026-03-09 08:48:05 +01:00
|
|
|
pub mod bundle;
|
|
|
|
|
pub mod client;
|
2026-03-10 12:30:53 +01:00
|
|
|
#[doc(hidden)]
|
|
|
|
|
pub mod compat;
|
|
|
|
|
pub mod protocol;
|
2026-03-09 08:48:05 +01:00
|
|
|
pub mod render;
|
|
|
|
|
pub mod server;
|
2026-03-10 12:30:53 +01:00
|
|
|
pub mod source;
|
2026-03-09 08:48:05 +01:00
|
|
|
|
2026-03-10 11:08:17 +01:00
|
|
|
pub use bundle::{NodeArtifactsBundle, NodeArtifactsBundleEntry};
|
2026-03-10 11:12:01 +01:00
|
|
|
pub use client::{CfgsyncClient, ClientError, ConfigFetchStatus};
|
2026-03-10 12:30:53 +01:00
|
|
|
pub use protocol::{
|
|
|
|
|
CFGSYNC_SCHEMA_VERSION, CfgsyncErrorCode, CfgsyncErrorResponse, ConfigResolveResponse,
|
|
|
|
|
NodeArtifactFile, NodeArtifactsPayload, NodeRegistration, RegisterNodeResponse,
|
|
|
|
|
RegistrationPayload,
|
|
|
|
|
};
|
2026-03-09 08:48:05 +01:00
|
|
|
pub use render::{
|
|
|
|
|
CfgsyncConfigOverrides, CfgsyncOutputPaths, RenderedCfgsync, apply_cfgsync_overrides,
|
|
|
|
|
apply_timeout_floor, ensure_bundle_path, load_cfgsync_template_yaml,
|
|
|
|
|
render_cfgsync_yaml_from_template, write_rendered_cfgsync,
|
|
|
|
|
};
|
2026-03-10 11:12:01 +01:00
|
|
|
pub use server::{CfgsyncServerState, RunCfgsyncError, build_cfgsync_router, serve_cfgsync};
|
2026-03-10 12:30:53 +01:00
|
|
|
pub use source::{
|
|
|
|
|
BundleConfigSource, BundleConfigSourceError, BundleLoadError, NodeConfigSource,
|
|
|
|
|
StaticConfigSource, bundle_to_payload_map, load_bundle,
|
|
|
|
|
};
|