Module context

Module context 

Source
Expand description

Shared context for all operators with reflector stores.

This module provides the core infrastructure for the shared reflector store pattern. All operators receive an Arc<Context> that contains:

  • Kubernetes client
  • Reflector stores for all CRD types
  • Metrics registry

The stores enable O(1) in-memory lookups for label-based resource selection, eliminating the need for API queries in watch mappers.

Structs§

Context
Shared context passed to all operators.
Metrics
Metrics for observability.
Stores
Collection of all reflector stores for cross-operator queries.

Enums§

RecordRef
Enum representing a reference to any DNS record type.