Skip to main content

Module registry

Module registry 

Source
Expand description

First-class integration provider registry: validation, outputs, dispatch.

Validation rules:

  1. provider must match a registered Hostable entry.
  2. Host-key tables in integration.fields are rejected for IntegrationHosting::Managed and for ConfigScope::GlobalOnly; for ConfigScope::PerHost only hosts in IntegrationHosting::HostBound are allowed.
  3. check / up --on <host> requires membership in the host list for host-bound providers; managed providers skip this check.
  4. Provider-specific config validation runs on the effective config for the active host.

Functions§

config_bool
config_optional_string
config_string
dispatch_resource_kind
is_integration_resource
known_outputs
ops_for
The lifecycle ops for provider, for provisioning dispatch.
ops_for_resource_kind
The lifecycle ops owning resources of kind, for observe/destroy dispatch.
provider_host_keys
The substrate keys that count as host overrides for provider’s config — its declared host-bound hosts (empty for managed providers). The provision path uses this since it has no global substrate list; the authoritative misplaced-block check runs at up/check with the full substrate list.
validate_all
validate_integration