Skip to main content

Module cloud

Module cloud 

Source
Expand description

Cloud integration for containerized deployments.

This module provides abstractions for ralph-workflow to run in cloud environments with external orchestration. All cloud functionality is:

  • Environment-variable configured only (not in config files)
  • Disabled by default
  • Invisible to CLI users (no CLI flags, no help text)
  • Purely additive (zero behavior change when disabled)

§Architecture

Cloud support is trait-based for testability:

  • CloudReporter - Abstract interface for progress reporting
  • NoopCloudReporter - Default (does nothing)
  • HttpCloudReporter - Production HTTP API client
  • MockCloudReporter - Testing (captures calls)

Re-exports§

pub use heartbeat::HeartbeatGuard;
pub use reporter::CloudReporter;
pub use reporter::HttpCloudReporter;
pub use reporter::NoopCloudReporter;
pub use types::CloudError;
pub use types::PipelineResult;
pub use types::ProgressEventType;
pub use types::ProgressUpdate;

Modules§

heartbeat
Heartbeat background task for cloud mode.
redaction
Redaction utilities for cloud-mode logging/payloads.
reporter
Cloud reporter trait and implementations.
types
Cloud types for progress reporting.