Module record_wrappers

Module record_wrappers 

Source
Expand description

Record reconciliation wrapper helpers and macro.

This module provides helper functions and a macro to generate reconciliation wrapper functions for all DNS record types, eliminating ~900 lines of duplicate code.

Constants§

CONDITION_STATUS_TRUE
Condition status indicating ready state
CONDITION_TYPE_READY
Condition type for resource readiness
ERROR_TYPE_RECONCILE
Error type label for reconciliation errors
REQUEUE_WHEN_NOT_READY_SECS
Requeue interval for resources that are not ready (30 seconds)
REQUEUE_WHEN_READY_SECS
Requeue interval for resources that are ready (5 minutes)

Functions§

is_resource_ready
Check if a resource with status conditions is ready.
requeue_based_on_readiness
Determine requeue action based on readiness status.