Bonfire.Common.ConfigSettingsRegistry (Bonfire v0.9.12-social-beta.71)

View Source

Registry for configuration and settings keys.

Summary

Functions

Get all keys (both config and settings)

Access the cached data, or re-populate if not available

Returns a specification to start this module under a supervisor.

Get all configuration keys and their metadata

Format the registry for display/documentation

Callback implementation for GenServer.init/1.

Get all settings keys and their metadata

Functions

all()

Get all keys (both config and settings)

cached_data(modules_to_scan \\ ModuleAnalyzer.app_modules_to_scan())

Access the cached data, or re-populate if not available

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

config()

Get all configuration keys and their metadata

evaluate_ast(ast, opts)

format_registry()

Format the registry for display/documentation

init(_)

Callback implementation for GenServer.init/1.

populate(modules_to_scan \\ ModuleAnalyzer.app_modules_to_scan())

Rebuild the config/settings registry

prepare_data_for_cache(modules_to_scan \\ ModuleAnalyzer.app_modules_to_scan())

Prepare data structure for the cache.

settings()

Get all settings keys and their metadata

start_link(_)

@spec start_link(ignored :: term()) :: GenServer.on_start()