Skip to main content

ferrobridge_operator_api/
lib.rs

1// SPDX-FileCopyrightText: Cadasto B.V.
2// SPDX-License-Identifier: BUSL-1.1
3
4//! The documents of the FerroBRIDGE health and operator surfaces, as serde
5//! types the bridge serializes and its operator console decodes.
6//!
7//! [`health`] holds `GET /health/info` and `GET /health/readiness`;
8//! [`operator`] holds `GET /operator/state`, the `GET /operator/mappings`
9//! listing, and the report a check, a save and a reload answer with. A
10//! change to a document is a compile error on both sides, never a field one
11//! side reads by a name the other stopped writing. The crate holds types and
12//! nothing else. No specification governs these surfaces: our own design.
13#![doc(test(attr(deny(warnings))))]
14
15pub mod health;
16pub mod operator;