Search documentation of macula

# macula_registry_system (macula v0.44.2)

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_controller_pid()

Get the cluster controller PID

get_monitor_pid()

Get the app monitor PID

get_server_pid()

Get the registry server PID

get_store_pid()

Get the registry store PID

is_enabled()

Check if registry system is enabled

start_link(Config)

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