Skip to main content

Module checkpoint

Module checkpoint 

Source
Expand description

Shared checkpoint kind policy for cloud substrates.

Known ephemeral kinds (action, source-ref when it owns no checkout) are Gone / Ok on observe/destroy. Unknown kinds fail closed so a typo or old binary cannot drop a journal row while leaving a live resource.

Functionsยง

is_ephemeral_resource_kind
Resource kinds that own nothing destructible on every cloud substrate.
parse_payload
Parse a checkpoint payload: empty โ†’ Ok(None) (legacy fallback); non-empty malformed โ†’ Err(detail); valid โ†’ Ok(Some(T)).