execute_session_deletion

Function execute_session_deletion 

Source
pub async fn execute_session_deletion(
    infra: &InfraContext<'_>,
    token: &str,
    deletion_ctx: &SessionDeletionContext,
    dry_run: bool,
) -> Result<(), Error>
Expand description

Apply a session delete previously planned by prepare_session_deletion.

Delegates to the backend’s combined delete/cancel routine, which also rewrites CFS component desired-config refs and unsets BSS boot-image refs that pointed at the session’s images. With dry_run = true the routine returns the would-be changes without touching the backend.