podman_rest_client/v4/params/
image_create.rs

1#[derive(Default, Debug)]
2pub struct ImageCreate<'a> {
3    /// A base64-encoded auth configuration.
4    pub x_registry_auth: Option<&'a str>,
5    /// Name of the image to pull. The name may include a tag or digest. This parameter may only be used when pulling an image. The pull is cancelled if the HTTP connection is closed.
6    pub from_image: Option<&'a str>,
7    /// Source to import. The value may be a URL from which the image can be retrieved or - to read the image from the request body. This parameter may only be used when importing an image
8    pub from_src: Option<&'a str>,
9    /// Repository name given to an image when it is imported. The repo may include a tag. This parameter may only be used when importing an image.
10    pub repo: Option<&'a str>,
11    /// Tag or digest. If empty when pulling an image, this causes all tags for the given image to be pulled.
12    pub tag: Option<&'a str>,
13    /// Set commit message for imported image.
14    pub message: Option<&'a str>,
15    /// Platform in the format os[/arch[/variant]]
16    pub platform: Option<&'a str>,
17}