Loads PhoenixGenApi runtime config data into a navigable data structure.
All data comes from PhoenixGenApi.ConfigDb and PhoenixGenApi.Diagnostics
at runtime. No compile-time domains like Ash — this reads the live
configuration from the running application.
Supports local and remote (distributed) node queries. When a remote node is specified, all data is fetched via RPC to that node.
Includes caching with TTL to avoid excessive RPC calls and graceful degradation when subsystems are unavailable.
Summary
Functions
Loads all introspection data from the running PhoenixGenApi application.
Returns a %PhoenixGenApiTui.Introspection{} struct with load status.
Forces a fresh load of all introspection data, bypassing cache.
Loads with optional cache. If cache is nil, always fetches fresh data.
Otherwise returns cached data if still fresh. Caches regardless of status
(:ok, :partial, :error) to avoid hammering unavailable subsystems.
Checks if the introspection data needs refreshing based on TTL.
Returns the load status of the introspection data.
Types
Functions
Loads all introspection data from the running PhoenixGenApi application.
Returns a %PhoenixGenApiTui.Introspection{} struct with load status.
Forces a fresh load of all introspection data, bypassing cache.
Loads with optional cache. If cache is nil, always fetches fresh data.
Otherwise returns cached data if still fresh. Caches regardless of status
(:ok, :partial, :error) to avoid hammering unavailable subsystems.
Checks if the introspection data needs refreshing based on TTL.
@spec status(t() | nil) :: :ok | :partial | :error | nil
Returns the load status of the introspection data.