pub struct RuntimeMetadata {
pub initial_setup_authority: InitialSetupAuthority,
pub last_synced_env_vars_hash: Option<String>,
pub last_synced_secret_names: Vec<String>,
pub prepared_stack: Option<Stack>,
pub persisted_gate_answers: GateAnswers,
pub pending_prepared_stack: Option<Stack>,
pub setup_update_authorization: Option<SetupUpdateAuthorization>,
pub registry_access_granted: bool,
}Expand description
Runtime metadata for deployment
Stores deployment state that needs to persist across step calls.
Fields§
Actor authorized to perform structural Frozen-resource work during InitialSetup. Missing legacy values fail closed as ImportedHandoff.
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.
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.
A frozen gate’s answer is fixed for the deployment’s lifetime: the update path refuses input values that conflict with these, and a Live resource sharing such an input resolves the persisted answer forever.
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.
One-shot setup update authority. It contains only non-secret identity and canonical resource digests, never the imported payload or tokens.
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.
Trait Implementations§
Source§impl Clone for RuntimeMetadata
impl Clone for RuntimeMetadata
Source§fn clone(&self) -> RuntimeMetadata
fn clone(&self) -> RuntimeMetadata
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RuntimeMetadata
impl Debug for RuntimeMetadata
Source§impl Default for RuntimeMetadata
impl Default for RuntimeMetadata
Source§fn default() -> RuntimeMetadata
fn default() -> 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.