run_generic_record_operator

Function run_generic_record_operator 

Source
pub async fn run_generic_record_operator<T>(
    context: Arc<Context>,
    bind9_manager: Arc<Bind9Manager>,
) -> Result<()>
where T: DnsRecordType,
Expand description

Run a generic DNS record operator.

This function creates an operator that watches both the record type and DNSZone resources, triggering reconciliation when zones discover new records that need configuration.

§Arguments

  • context - The operator context with API client and stores
  • bind9_manager - The BIND9 manager for zone operations

§Errors

Returns an error if the operator fails to start or encounters a fatal error.