domains
The domains
view provides information about all domains defined in Lunar. Domains represent logical groupings of components that share similar characteristics or purposes.
Schema
name
TEXT
The identifier for the domain in hierarchical dotted format (e.g. payments.checkout
)
description
TEXT
A description of the domain
owner
TEXT
The owner of the domain
meta
JSONB
Arbitrary metadata associated with the domain
config_version
TEXT
The version of the configuration where this domain is defined
Notes
Domains are defined primarily in the Lunar configuration but can also come from catalogers
Domains can be used to organize and categorize components
Components can be assigned to specific domains to create logical groupings
Domains can be hierarchical, with a parent-child relationship represented by a dotted notation. For example, in the domain name
auth.sso.providers
,auth
is the parent domain ofauth.sso
, andauth.sso
is the parent domain ofauth.sso.providers
. The full domain name is stored in thename
column using dotted notation.
Usage examples
List all domains in the system:
Find domains owned by a specific person or team:
Get a count of components by domain:
Find all subdomains of a specific parent domain:
Find the direct subdomains of a specific domain (only one level down):
Last updated