pub struct ZoneConfigOutcome {
pub instances_configured: usize,
pub endpoints_configured: usize,
pub zones_created: usize,
}Expand description
Outcome of configuring a zone across a set of BIND9 instances.
Tracks success in two different units so readiness can be computed in INSTANCE units (comparable with the expected instance counts) while still reporting per-endpoint detail for observability. An instance counts as configured only if ALL of its ready endpoints accepted the zone.
Fields§
§instances_configured: usizeNumber of instances where EVERY ready endpoint accepted the zone.
endpoints_configured: usizeTotal number of endpoints that accepted the zone (including endpoints where the zone already existed).
zones_created: usizeNumber of endpoints where the zone was NEWLY created by this reconciliation (it did not exist on that endpoint beforehand).
A newly created zone holds only the SOA and NS records rendered from
spec - every record CR that belongs to it is missing. This is the
signal that a pod (or a whole Deployment) was wiped and came back with
empty storage, and it is what drives the record replay: any value
greater than zero means the zone’s records must be pushed again before
the zone can be reported Ready.
Trait Implementations§
Source§impl Clone for ZoneConfigOutcome
impl Clone for ZoneConfigOutcome
Source§fn clone(&self) -> ZoneConfigOutcome
fn clone(&self) -> ZoneConfigOutcome
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ZoneConfigOutcome
impl Debug for ZoneConfigOutcome
Source§impl Default for ZoneConfigOutcome
impl Default for ZoneConfigOutcome
Source§fn default() -> ZoneConfigOutcome
fn default() -> ZoneConfigOutcome
Source§impl PartialEq for ZoneConfigOutcome
impl PartialEq for ZoneConfigOutcome
impl Copy for ZoneConfigOutcome
impl Eq for ZoneConfigOutcome
impl StructuralPartialEq for ZoneConfigOutcome
Auto Trait Implementations§
impl Freeze for ZoneConfigOutcome
impl RefUnwindSafe for ZoneConfigOutcome
impl Send for ZoneConfigOutcome
impl Sync for ZoneConfigOutcome
impl Unpin for ZoneConfigOutcome
impl UnwindSafe for ZoneConfigOutcome
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].