API Reference foundation v#0.1.0
Modules
Main public API for Foundation layer.
Foundation Application Supervisor Manages the lifecycle of all Foundation components in a supervised manner. The supervision tree is designed to be fault-tolerant and to restart components in the correct order if failures occur.
Public API for configuration management.
Graceful degradation functionality for configuration management. Provides fallback mechanisms when the primary config service is unavailable.
Behaviour contract for configuration providers.
Behaviour contract for event storage implementations.
Behaviour contract for telemetry implementations.
Enhanced error handling with hierarchical error codes and comprehensive error management.
Enhanced error context system with proper propagation and debugging support.
Public API for event management and storage.
Graceful degradation for Events service when serialization or storage fails.
Unified infrastructure facade orchestrating multiple protection patterns.
Circuit breaker wrapper around :fuse library.
Connection pooling manager wrapping Poolboy for resource management.
Sample HTTP connection pool worker for demonstrating connection pooling patterns.
Rate limiter wrapper around Hammer library.
Pure business logic functions for configuration operations.
Pure business logic functions for event operations.
Centralized process registry for Foundation layer.
High-level service registration API for Foundation layer.
GenServer implementation for configuration management.
Event storage service implementation using GenServer.
GenServer implementation for telemetry collection and metrics.
Public API for telemetry and metrics collection.
Pure data structure for Foundation configuration.
Pure data structure for Foundation errors.
Event data structure for Foundation.
Pure utility functions for the Foundation layer.
Pure validation functions for configuration structures.
Pure validation functions for event structures.