Module repositories

Source
Expand description

Repository implementations for configuration management.

This module provides traits and implementations for loading and managing configuration data from the filesystem. Each repository type handles a specific configuration type and provides:

  • Loading configurations from JSON files
  • Validating configuration references between different types
  • Accessing configurations through a service layer

Currently supported repositories:

  • Monitor: Loads and validates monitor configurations, ensuring referenced networks and triggers exist
  • Network: Loads network configurations defining blockchain connection details
  • Trigger: Loads trigger configurations defining actions to take when conditions match

Structs§

MonitorRepository
Repository for storing and retrieving monitor configurations
MonitorService
Service layer for monitor repository operations
NetworkRepository
Repository for storing and retrieving network configurations
NetworkService
Service layer for network repository operations
TriggerRepository
Repository for storing and retrieving trigger configurations
TriggerService
Service layer for trigger repository operations

Enums§

RepositoryError
Represents errors that can occur during repository operations

Traits§

MonitorRepositoryTrait
Interface for monitor repository implementations
NetworkRepositoryTrait
Interface for network repository implementations
TriggerRepositoryTrait
Interface for trigger repository implementations