Skip to main content

resource_version

Function resource_version 

Source
pub fn resource_version<K: Resource>(obj: &K) -> Option<u64>
Expand description

Hash the resource version of a Resource K

Use this when observed deletions should trigger reconciliation: the Kubernetes apiserver stamps the delete revision onto the deleted object. Status-only changes also change resource version and pass this filter. This does not guarantee that every deletion is observed; see the module documentation.