pub struct ImageConfig {
pub env: Vec<(String, String)>,
pub workdir: String,
pub user: Option<String>,
pub cmd: Option<Vec<String>>,
pub entrypoint: Option<Vec<String>>,
pub shell: Vec<String>,
pub labels: Vec<(String, String)>,
pub exposed_ports: Vec<String>,
pub base_image: Option<String>,
}Fields§
§env: Vec<(String, String)>§workdir: String§user: Option<String>§cmd: Option<Vec<String>>§entrypoint: Option<Vec<String>>§shell: Vec<String>§labels: Vec<(String, String)>§exposed_ports: Vec<String>§base_image: Option<String>Expanded external image the stage chain starts from; None for scratch.
Trait Implementations§
Source§impl Clone for ImageConfig
impl Clone for ImageConfig
Source§impl Debug for ImageConfig
impl Debug for ImageConfig
Source§impl Default for ImageConfig
impl Default for ImageConfig
impl Eq for ImageConfig
Source§impl PartialEq for ImageConfig
impl PartialEq for ImageConfig
impl StructuralPartialEq for ImageConfig
Auto Trait Implementations§
impl Forget for ImageConfig
impl Freeze for ImageConfigwhere
*const u8 is !null: Freeze,
PhantomData<(String, String)>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
impl Move for ImageConfig
impl RefUnwindSafe for ImageConfig
impl Send for ImageConfigwhere
RawVecInner: Send,
impl Sync for ImageConfigwhere
RawVecInner: Sync,
impl Unpin for ImageConfig
impl UnsafeUnpin for ImageConfigwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for ImageConfigwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.