pipeline
Module: startup::pipeline
Section titled “Module: startup::pipeline”Contents
Section titled “Contents”Structs
PipelineRuntime- Runtime state produced while building the enforcement pipeline.
Functions
build_pipeline_runtime- Build the enforcement pipeline plus stream-client shared state.
firma_sidecar::startup::pipeline::PipelineRuntime
Section titled “firma_sidecar::startup::pipeline::PipelineRuntime”Struct
Runtime state produced while building the enforcement pipeline.
Fields:
pipeline: std::sync::Arc<pipeline::EnforcementPipeline>- Request enforcement pipeline.revocation_store: std::sync::Arc<dyn RevocationStore>- Store shared by Stage 1 and the Authority revocation task.swappable_policy: std::sync::Arc<crate::authority_client::swappable_policy::SwappablePolicyEvaluation>- Policy snapshot shared by Stage 2 and the Authority bundle task.readiness: std::sync::Arc<crate::authority_client::readiness::ReadinessFlag>- Writable readiness flag for Authority tasks.mapping_rules_loaded: usize- Total mapping rule count loaded across primary + extra files.
firma_sidecar::startup::pipeline::build_pipeline_runtime
Section titled “firma_sidecar::startup::pipeline::build_pipeline_runtime”Function
Build the enforcement pipeline plus stream-client shared state.
Pass a [PreflightResult] to populate Stage 1 with a real token and
verifier. Without it, Stage 1 uses the stub verifier (always deny).
Errors
Section titled “Errors”Returns an error when pipeline component construction fails.
fn build_pipeline_runtime(config: &config::SidecarConfig, preflight: Option<crate::startup::preflight::PreflightResult>) -> anyhow::Result<PipelineRuntime>