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 (in io boundary)
  • MockCloudReporter - Testing (captures calls)

§Boundary Modules

  • io/ - HTTP client for cloud API communication
  • runtime/ - Thread spawning for heartbeat background task

Re-exports§

pub use types::CloudError;
pub use types::PipelineResult;
pub use types::ProgressEventType;
pub use types::ProgressUpdate;

Modules§

io
io_redaction
redaction
Redaction utilities for cloud-mode logging/payloads.
runtime
types
Cloud types for progress reporting.

Structs§

NoopCloudReporter

Traits§

CloudReporter

Type Aliases§

HeartbeatGuard
HttpCloudReporter