pub struct ImageSaveConfig {
pub architecture: Option<String>,
pub os: Option<String>,
pub env: Vec<String>,
pub entrypoint: Option<Vec<String>>,
pub cmd: Option<Vec<String>>,
pub working_dir: Option<String>,
pub user: Option<String>,
pub labels: BTreeMap<String, String>,
}Expand description
Config fields used when synthesizing an exported Docker image config.
Fields§
§architecture: Option<String>Target architecture.
os: Option<String>Target OS.
env: Vec<String>Environment variables.
entrypoint: Option<Vec<String>>Entrypoint.
cmd: Option<Vec<String>>Command.
working_dir: Option<String>Working directory.
user: Option<String>User.
labels: BTreeMap<String, String>Labels.
Trait Implementations§
Source§impl Clone for ImageSaveConfig
impl Clone for ImageSaveConfig
Source§fn clone(&self) -> ImageSaveConfig
fn clone(&self) -> ImageSaveConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ImageSaveConfig
impl Debug for ImageSaveConfig
Source§impl Default for ImageSaveConfig
impl Default for ImageSaveConfig
Source§fn default() -> ImageSaveConfig
fn default() -> ImageSaveConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ImageSaveConfig
impl RefUnwindSafe for ImageSaveConfig
impl Send for ImageSaveConfig
impl Sync for ImageSaveConfig
impl Unpin for ImageSaveConfig
impl UnsafeUnpin for ImageSaveConfig
impl UnwindSafe for ImageSaveConfig
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