podman_rest_client/v5/params/image_commit_libpod.rs
1#[derive(Default, Debug)]
2pub struct ImageCommitLibpod<'a> {
3 /// the name or ID of a container
4 pub container: &'a str,
5 /// author of the image
6 pub author: Option<&'a str>,
7 /// instructions to apply while committing in Dockerfile format (i.e. "CMD=/bin/foo")
8 pub changes: Option<Vec<&'a str>>,
9 /// commit message
10 pub comment: Option<&'a str>,
11 /// format of the image manifest and metadata (default "oci")
12 pub format: Option<&'a str>,
13 /// pause the container before committing it
14 pub pause: Option<bool>,
15 /// squash the container before committing it
16 pub squash: Option<bool>,
17 /// the repository name for the created image
18 pub repo: Option<&'a str>,
19 /// output from commit process
20 pub stream: Option<bool>,
21 /// tag name for the created image
22 pub tag: Option<&'a str>,
23}