podman_rest_client/v5/params/container_restore_libpod.rs
1#[derive(Default, Debug)]
2pub struct ContainerRestoreLibpod<'a> {
3 /// the name of the container when restored from a tar. can only be used with import
4 pub name: Option<&'a str>,
5 /// keep all temporary checkpoint files
6 pub keep: Option<bool>,
7 /// checkpoint a container with established TCP connections
8 pub tcp_established: Option<bool>,
9 /// import the restore from a checkpoint tar.gz
10 pub import: Option<bool>,
11 /// do not include root file-system changes when exporting. can only be used with import
12 pub ignore_root_fs: Option<bool>,
13 /// do not restore associated volumes. can only be used with import
14 pub ignore_volumes: Option<bool>,
15 /// ignore IP address if set statically
16 pub ignore_static_ip: Option<bool>,
17 /// ignore MAC address if set statically
18 pub ignore_static_mac: Option<bool>,
19 /// restore a container with file locks
20 pub file_locks: Option<bool>,
21 /// add restore statistics to the returned RestoreReport
22 pub print_stats: Option<bool>,
23 /// pod to restore into
24 pub pod: Option<&'a str>,
25}