pub struct CheckpointMetadata {
pub container_id: String,
pub container_name: String,
pub original_pid: u32,
pub command: Vec<String>,
pub checkpoint_at: u64,
pub version: String,
pub using_gvisor: bool,
pub rootless: bool,
pub cgroup_path: Option<String>,
pub resource_limits: Option<CheckpointResourceLimits>,
}Expand description
Metadata stored alongside checkpoint images
Fields§
§container_id: StringContainer ID
container_name: StringContainer name
original_pid: u32Original PID
command: Vec<String>Command that was running
checkpoint_at: u64Timestamp of checkpoint
version: StringNucleus version
using_gvisor: boolWhether container was using gVisor
rootless: boolWhether container was rootless
cgroup_path: Option<String>Original cgroup path, if the container was tracked in a cgroup.
resource_limits: Option<CheckpointResourceLimits>Resource limits captured from the original cgroup.
Implementations§
Trait Implementations§
Source§impl Clone for CheckpointMetadata
impl Clone for CheckpointMetadata
Source§fn clone(&self) -> CheckpointMetadata
fn clone(&self) -> CheckpointMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CheckpointMetadata
impl Debug for CheckpointMetadata
Source§impl<'de> Deserialize<'de> for CheckpointMetadata
impl<'de> Deserialize<'de> for CheckpointMetadata
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
Auto Trait Implementations§
impl Freeze for CheckpointMetadata
impl RefUnwindSafe for CheckpointMetadata
impl Send for CheckpointMetadata
impl Sync for CheckpointMetadata
impl Unpin for CheckpointMetadata
impl UnsafeUnpin for CheckpointMetadata
impl UnwindSafe for CheckpointMetadata
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