Struct podman_api::opts::ContainerCheckpointOptsBuilder
source · pub struct ContainerCheckpointOptsBuilder { /* private fields */ }Expand description
A builder struct for ContainerCheckpointOpts.
Implementations§
source§impl ContainerCheckpointOptsBuilder
impl ContainerCheckpointOptsBuilder
sourcepub fn build(self) -> ContainerCheckpointOpts
pub fn build(self) -> ContainerCheckpointOpts
Finish building ContainerCheckpointOpts.
source§impl ContainerCheckpointOptsBuilder
impl ContainerCheckpointOptsBuilder
sourcepub fn ignore_root_fs(self, ignore_root_fs: bool) -> Self
pub fn ignore_root_fs(self, ignore_root_fs: bool) -> Self
Do not include root file-system changes when exporting
sourcepub fn leave_running(self, leave_running: bool) -> Self
pub fn leave_running(self, leave_running: bool) -> Self
Leave the container running after writing checkpoint to disk
sourcepub fn print_stats(self, print_stats: bool) -> Self
pub fn print_stats(self, print_stats: bool) -> Self
Add checkpoint statistics to the returned CheckpointReport
sourcepub fn tcp_established(self, tcp_established: bool) -> Self
pub fn tcp_established(self, tcp_established: bool) -> Self
Checkpoint a container with established TCP connections
Trait Implementations§
source§impl Clone for ContainerCheckpointOptsBuilder
impl Clone for ContainerCheckpointOptsBuilder
source§fn clone(&self) -> ContainerCheckpointOptsBuilder
fn clone(&self) -> ContainerCheckpointOptsBuilder
Returns a copy 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 Default for ContainerCheckpointOptsBuilder
impl Default for ContainerCheckpointOptsBuilder
source§fn default() -> ContainerCheckpointOptsBuilder
fn default() -> ContainerCheckpointOptsBuilder
Returns the “default value” for a type. Read more