macula_registry_system (macula v0.20.5)

View Source

Macula 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

get_controller_pid()

-spec get_controller_pid() -> {ok, pid()} | {error, not_found}.

Get the cluster controller PID

get_monitor_pid()

-spec get_monitor_pid() -> {ok, pid()} | {error, not_found}.

Get the app monitor PID

get_server_pid()

-spec get_server_pid() -> {ok, pid()} | {error, not_found}.

Get the registry server PID

get_store_pid()

-spec get_store_pid() -> {ok, pid()} | {error, not_found}.

Get the registry store PID

is_enabled()

-spec is_enabled() -> boolean().

Check if registry system is enabled

start_link(Config)

-spec start_link(Config :: map()) -> {ok, pid()} | {error, term()}.

Start the registry system supervisor