pub struct ContainerCheckpointLibpod {
pub keep: Option<bool>,
pub leave_running: Option<bool>,
pub tcp_established: Option<bool>,
pub export: Option<bool>,
pub ignore_root_fs: Option<bool>,
pub ignore_volumes: Option<bool>,
pub pre_checkpoint: Option<bool>,
pub with_previous: Option<bool>,
pub file_locks: Option<bool>,
pub print_stats: Option<bool>,
}
Available on crate feature
v5
only.Fields§
§keep: Option<bool>
keep all temporary checkpoint files
leave_running: Option<bool>
leave the container running after writing checkpoint to disk
tcp_established: Option<bool>
checkpoint a container with established TCP connections
export: Option<bool>
export the checkpoint image to a tar.gz
ignore_root_fs: Option<bool>
do not include root file-system changes when exporting. can only be used with export
ignore_volumes: Option<bool>
do not include associated volumes. can only be used with export
pre_checkpoint: Option<bool>
dump the container’s memory information only, leaving the container running. only works on runc 1.0-rc or higher
with_previous: Option<bool>
check out the container with previous criu image files in pre-dump. only works on runc 1.0-rc or higher
file_locks: Option<bool>
checkpoint a container with filelocks
print_stats: Option<bool>
add checkpoint statistics to the returned CheckpointReport
Trait Implementations§
Source§impl Debug for ContainerCheckpointLibpod
impl Debug for ContainerCheckpointLibpod
Source§impl Default for ContainerCheckpointLibpod
impl Default for ContainerCheckpointLibpod
Source§fn default() -> ContainerCheckpointLibpod
fn default() -> ContainerCheckpointLibpod
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ContainerCheckpointLibpod
impl RefUnwindSafe for ContainerCheckpointLibpod
impl Send for ContainerCheckpointLibpod
impl Sync for ContainerCheckpointLibpod
impl Unpin for ContainerCheckpointLibpod
impl UnwindSafe for ContainerCheckpointLibpod
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