pub fn parent_generation_changed(
parent_generation: Option<i64>,
observed_parent_generation: Option<i64>,
) -> boolExpand description
Detects whether the parent cluster’s configuration changed since it was last observed.
Compares the parent’s current metadata.generation against the parent
generation recorded in the instance’s status.observedParentGeneration.
These are the ONLY two values that may be compared: the instance’s own
observed_generation tracks a different, unrelated counter.
§Arguments
parent_generation- Currentmetadata.generationof the referencedBind9Cluster/ClusterBind9Provider(Noneif no parent exists)observed_parent_generation- Parent generation recorded during the last successful reconciliation (Noneif never recorded)
§Returns
true if the parent exists and its generation differs from the recorded
value (or was never recorded), false otherwise.