pub struct ContainerRestoreLibpod<'a> {
pub name: Option<&'a str>,
pub keep: Option<bool>,
pub tcp_established: Option<bool>,
pub import: Option<bool>,
pub ignore_root_fs: Option<bool>,
pub ignore_volumes: Option<bool>,
pub ignore_static_ip: Option<bool>,
pub ignore_static_mac: Option<bool>,
pub file_locks: Option<bool>,
pub print_stats: Option<bool>,
pub pod: Option<&'a str>,
}
Available on crate feature
v5
only.Fields§
§name: Option<&'a str>
the name of the container when restored from a tar. can only be used with import
keep: Option<bool>
keep all temporary checkpoint files
tcp_established: Option<bool>
checkpoint a container with established TCP connections
import: Option<bool>
import the restore from a checkpoint tar.gz
ignore_root_fs: Option<bool>
do not include root file-system changes when exporting. can only be used with import
ignore_volumes: Option<bool>
do not restore associated volumes. can only be used with import
ignore_static_ip: Option<bool>
ignore IP address if set statically
ignore_static_mac: Option<bool>
ignore MAC address if set statically
file_locks: Option<bool>
restore a container with file locks
print_stats: Option<bool>
add restore statistics to the returned RestoreReport
pod: Option<&'a str>
pod to restore into
Trait Implementations§
Source§impl<'a> Debug for ContainerRestoreLibpod<'a>
impl<'a> Debug for ContainerRestoreLibpod<'a>
Source§impl<'a> Default for ContainerRestoreLibpod<'a>
impl<'a> Default for ContainerRestoreLibpod<'a>
Source§fn default() -> ContainerRestoreLibpod<'a>
fn default() -> ContainerRestoreLibpod<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for ContainerRestoreLibpod<'a>
impl<'a> RefUnwindSafe for ContainerRestoreLibpod<'a>
impl<'a> Send for ContainerRestoreLibpod<'a>
impl<'a> Sync for ContainerRestoreLibpod<'a>
impl<'a> Unpin for ContainerRestoreLibpod<'a>
impl<'a> UnwindSafe for ContainerRestoreLibpod<'a>
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