macula_registry_system (macula v0.20.5)
View SourceMacula Registry System Supervisor
Top-level supervisor for the registry subsystem. Manages: - Registry store (local package storage) - Registry server (publish/fetch API) - Cluster controller (app lifecycle management) - App monitor (runtime defense)
This module is a supervisor ONLY - no business logic.
Summary
Functions
Get the cluster controller PID
Get the app monitor PID
Get the registry server PID
Get the registry store PID
Check if registry system is enabled
Start the registry system supervisor
Functions
-spec get_controller_pid() -> {ok, pid()} | {error, not_found}.
Get the cluster controller PID
-spec get_monitor_pid() -> {ok, pid()} | {error, not_found}.
Get the app monitor PID
-spec get_server_pid() -> {ok, pid()} | {error, not_found}.
Get the registry server PID
-spec get_store_pid() -> {ok, pid()} | {error, not_found}.
Get the registry store PID
-spec is_enabled() -> boolean().
Check if registry system is enabled
Start the registry system supervisor