pub struct RuntimeMetadata {
pub last_synced_env_vars_hash: Option<String>,
pub prepared_stack: Option<Stack>,
}Expand description
Runtime metadata for deployment
Stores deployment state that needs to persist across step calls.
JSON schema
{
"description": "Runtime metadata for deployment\n\nStores deployment state that needs to persist across step calls.",
"type": "object",
"properties": {
"lastSyncedEnvVarsHash": {
"description": "Hash of the environment variables snapshot that was last synced to the vault\nUsed to avoid redundant sync operations during incremental deployment",
"type": [
"string",
"null"
]
},
"preparedStack": {
"description": "The prepared (mutated) stack from the last successful deployment phase\nThis is the stack AFTER mutations have been applied (with service accounts, vault, etc.)\nUsed for compatibility checks during updates to compare mutated stacks",
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/Stack"
}
]
}
]
}
}
}Fields§
§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
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
Implementations§
Source§impl RuntimeMetadata
impl RuntimeMetadata
pub fn builder() -> RuntimeMetadata
Trait Implementations§
Source§impl Clone for RuntimeMetadata
impl Clone for RuntimeMetadata
Source§fn clone(&self) -> RuntimeMetadata
fn clone(&self) -> RuntimeMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&RuntimeMetadata> for RuntimeMetadata
impl From<&RuntimeMetadata> for RuntimeMetadata
Source§fn from(value: &RuntimeMetadata) -> Self
fn from(value: &RuntimeMetadata) -> Self
Converts to this type from the input type.
Source§impl From<RuntimeMetadata> for RuntimeMetadata
impl From<RuntimeMetadata> for RuntimeMetadata
Source§fn from(value: RuntimeMetadata) -> Self
fn from(value: RuntimeMetadata) -> Self
Converts to this type from the input type.
Source§impl Serialize for RuntimeMetadata
impl Serialize for RuntimeMetadata
Source§impl TryFrom<RuntimeMetadata> for RuntimeMetadata
impl TryFrom<RuntimeMetadata> for RuntimeMetadata
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: RuntimeMetadata) -> Result<Self, ConversionError>
fn try_from(value: RuntimeMetadata) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for RuntimeMetadata
impl RefUnwindSafe for RuntimeMetadata
impl Send for RuntimeMetadata
impl Sync for RuntimeMetadata
impl Unpin for RuntimeMetadata
impl UnsafeUnpin for RuntimeMetadata
impl UnwindSafe 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
Mutably borrows from an owned value. Read more