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-12 10:07:22 +01:00
|
|
|
pub use client::{Client, ClientError, ConfigFetchStatus};
|
2026-03-10 12:30:53 +01:00
|
|
|
pub use protocol::{
|
|
|
|
|
CFGSYNC_SCHEMA_VERSION, CfgsyncErrorCode, CfgsyncErrorResponse, ConfigResolveResponse,
|
|
|
|
|
NodeArtifactFile, NodeArtifactsPayload, NodeRegistration, RegisterNodeResponse,
|
2026-03-29 15:02:40 +02:00
|
|
|
RegistrationPayload, ReplaceNodeArtifactsRequest,
|
2026-03-10 12:30:53 +01:00
|
|
|
};
|
2026-03-09 08:48:05 +01:00
|
|
|
pub use render::{
|
|
|
|
|
CfgsyncConfigOverrides, CfgsyncOutputPaths, RenderedCfgsync, apply_cfgsync_overrides,
|
2026-03-12 08:27:44 +01:00
|
|
|
apply_timeout_floor, ensure_artifacts_path, load_cfgsync_template_yaml,
|
2026-03-09 08:48:05 +01:00
|
|
|
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,
|
|
|
|
|
};
|