pub struct RuntimeMetadata {Show 20 fields
pub deletion_policy: DeletionPolicy,
pub credential_retry: Option<CredentialRetry>,
pub initial_setup_authority: InitialSetupAuthority,
pub automatic_setup: bool,
pub last_synced_env_vars_hash: Option<String>,
pub last_synced_secret_names: Vec<String>,
pub vault_credentials_revoked: bool,
pub retained_storage_protection_hash: Option<String>,
pub retained_storage_protection_confirmed_at: Option<DateTime<Utc>>,
pub retained_data_protection_started_at: Option<DateTime<Utc>>,
pub prepared_stack: Option<Stack>,
pub persisted_gate_answers: GateAnswers,
pub pending_prepared_stack: Option<Stack>,
pub pending_prepared_release_id: Option<String>,
pub setup_update_authorization: Option<SetupUpdateAuthorization>,
pub direct_setup_revision: Option<String>,
pub registry_access_granted: bool,
pub registry_access: Option<RegistryAccess>,
pub setup_scaffolding: BTreeMap<String, SetupScaffolding>,
pub deployer_secrets: Vec<DeployerSecretReport>,
}Expand description
Runtime metadata for deployment
Stores deployment state that needs to persist across step calls.
Fields§
§deletion_policy: DeletionPolicyUser-authorized data disposition, persisted before deletion starts.
credential_retry: Option<CredentialRetry>Bounded credential retry state shared by all deployment drivers.
Actor authorized to perform structural Frozen-resource work during InitialSetup. Missing legacy values fail closed as ImportedHandoff.
automatic_setup: boolSetup-owned grant to keep using the direct setup executor for updates. Runtime settings and release contents must never create or change this grant.
last_synced_env_vars_hash: Option<String>Hash of the environment variables snapshot that was last synced to the vault Used to avoid redundant sync operations during incremental deployment
last_synced_secret_names: Vec<String>Exact vault keys owned by the deployment secret synchronizer. This inventory lets a later snapshot delete removed keys without listing or touching unrelated values in the same vault.
vault_credentials_revoked: boolCredential revocation completed before resource teardown. A delete retry can use this receipt after the vault or its binding is gone. Secret sync clears it before a deployment can write runtime credentials again.
retained_storage_protection_hash: Option<String>Digest of the installed data inventory whose runtime public-access and expiry configuration was protected before cleanup. The serialized field name is retained for compatibility. This is not a receipt for effective expiry propagation or privileged setup teardown.
retained_storage_protection_confirmed_at: Option<DateTime<Utc>>UTC API-confirmation time for the matching data protection digest. Provider propagation must be qualified separately before final retention.
retained_data_protection_started_at: Option<DateTime<Utc>>Start of the bounded wait for retained data’s expiry controls to disable. Cleared on confirmation, explicit retry, or returning to normal execution.
prepared_stack: Option<Stack>The prepared (mutated) stack from the last successful deployment phase This is the stack AFTER mutations have been applied (with service accounts, vault, etc.) Used for compatibility checks during updates to compare mutated stacks
persisted_gate_answers: GateAnswersCanonical resolved answers for inputs that gate Frozen resources, keyed by input id, recorded when the deployment is created or its setup import registers.
Manual installations keep these answers fixed. An installation with an ongoing-management grant refreshes them when preparing a release. Live resources sharing a gate use the same recorded answer as Frozen resources.
pending_prepared_stack: Option<Stack>Prepared target for an update that has not reached Running yet. Keeping it separate preserves the last successful baseline across retries.
pending_prepared_release_id: Option<String>Release the in-flight stack was prepared from: pending_prepared_stack
during updates, or prepared_stack during local first startup. The target can move
to a newer release while that stack is still being applied; this tells
the update which release actually converged.
One-shot setup update authority. It contains only non-secret identity and canonical resource digests, never the imported payload or tokens.
direct_setup_revision: Option<String>Last generated CLI package revision whose direct setup was applied. This lets a newer generated CLI refresh setup-owned infrastructure once before handing runtime changes back to the hosted manager.
registry_access_granted: boolWhether cross-account registry access has been successfully granted. Set to true after the manager successfully sets the ECR/GAR repo policy for this deployment’s target account. Prevents redundant API calls on every reconcile tick.
registry_access: Option<RegistryAccess>What that grant opened, compared against what the deployment needs now so a grant made before a resource existed is finished rather than skipped, and the revoke names what was granted. Absent on a grant recorded before this field existed.
setup_scaffolding: BTreeMap<String, SetupScaffolding>What a direct setup created for resources it does not own, keyed by resource id. Setup teardown removes exactly what is recorded here.
deployer_secrets: Vec<DeployerSecretReport>Whether each vault-native deployer secret is in the customer’s secret store, with where it goes. Checked from metadata only; no value is ever read or recorded here.
Trait Implementations§
Source§impl Clone for RuntimeMetadata
impl Clone for RuntimeMetadata
Source§impl Debug for RuntimeMetadata
impl Debug for RuntimeMetadata
Source§impl Default for RuntimeMetadata
impl Default for RuntimeMetadata
Source§impl<'de> Deserialize<'de> for RuntimeMetadata
impl<'de> Deserialize<'de> for RuntimeMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for RuntimeMetadata
Source§impl PartialEq for RuntimeMetadata
impl PartialEq for RuntimeMetadata
Source§impl Serialize for RuntimeMetadata
impl Serialize for RuntimeMetadata
impl StructuralPartialEq for RuntimeMetadata
Auto Trait Implementations§
impl !RefUnwindSafe for RuntimeMetadata
impl !UnwindSafe for RuntimeMetadata
impl Freeze for RuntimeMetadata
impl Send for RuntimeMetadata
impl Sync for RuntimeMetadata
impl Unpin for RuntimeMetadata
impl UnsafeUnpin for RuntimeMetadata
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.