pub struct ImageCreate<'a> {
pub x_registry_auth: Option<&'a str>,
pub from_image: Option<&'a str>,
pub from_src: Option<&'a str>,
pub repo: Option<&'a str>,
pub tag: Option<&'a str>,
pub message: Option<&'a str>,
pub platform: Option<&'a str>,
}
Available on crate feature
v4
only.Fields§
§x_registry_auth: Option<&'a str>
A base64-encoded auth configuration.
from_image: Option<&'a str>
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.
from_src: Option<&'a str>
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
repo: Option<&'a str>
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.
tag: Option<&'a str>
Tag or digest. If empty when pulling an image, this causes all tags for the given image to be pulled.
message: Option<&'a str>
Set commit message for imported image.
platform: Option<&'a str>
Platform in the format os[/arch[/variant]]
Trait Implementations§
Source§impl<'a> Debug for ImageCreate<'a>
impl<'a> Debug for ImageCreate<'a>
Source§impl<'a> Default for ImageCreate<'a>
impl<'a> Default for ImageCreate<'a>
Source§fn default() -> ImageCreate<'a>
fn default() -> ImageCreate<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for ImageCreate<'a>
impl<'a> RefUnwindSafe for ImageCreate<'a>
impl<'a> Send for ImageCreate<'a>
impl<'a> Sync for ImageCreate<'a>
impl<'a> Unpin for ImageCreate<'a>
impl<'a> UnwindSafe for ImageCreate<'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