pub struct Record {
pub run_id: String,
pub region: String,
pub image_identifier: Option<String>,
pub image_name: Option<String>,
pub microvm_id: Option<String>,
pub leaked: Vec<String>,
pub vm_log_group: Option<String>,
}Expand description
One invocation’s record.
camelCase on the wire, matching cli.py:550’s as_dict, so a ledger written by either
client is readable by both — which matters because a caller debugging a leak will reach
for whichever microvm ls is on their PATH.
(cli.py line numbers resolve at git show 'c4d396e^:clients/python/src/microvms_agentd/cli.py' — the retired oracle.)
Fields§
§run_id: String§region: String§image_identifier: Option<String>§image_name: Option<String>§microvm_id: Option<String>§leaked: Vec<String>Identifiers teardown tried and failed to remove. The operator’s to-do list.
vm_log_group: Option<String>The caller-chosen log group for the VM’s own logs (--vm-log-group). Outside the
service’s namespace, so a namespace sweep cannot find it; verify-clean.py reads it
here. Never deleted by teardown: it is the caller’s destination, not our garbage.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Record
impl<'de> Deserialize<'de> for Record
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
impl StructuralPartialEq for Record
Auto Trait Implementations§
impl Freeze for Record
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnsafeUnpin for Record
impl UnwindSafe for Record
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