Struct dofigen_lib::Image
source · pub struct Image {Show 16 fields
pub image: String,
pub user: Option<String>,
pub workdir: Option<String>,
pub envs: Option<HashMap<String, String>>,
pub artifacts: Option<Vec<Artifact>>,
pub adds: Option<Vec<String>>,
pub root: Option<Root>,
pub script: Option<Vec<String>>,
pub caches: Option<Vec<String>>,
pub builders: Option<Vec<Builder>>,
pub context: Option<Vec<String>>,
pub ignores: Option<Vec<String>>,
pub entrypoint: Option<Vec<String>>,
pub cmd: Option<Vec<String>>,
pub ports: Option<Vec<u16>>,
pub healthcheck: Option<Healthcheck>,
}Expand description
Represents the Dockerfile main stage
Fields§
§image: String§user: Option<String>§workdir: Option<String>§envs: Option<HashMap<String, String>>§artifacts: Option<Vec<Artifact>>§adds: Option<Vec<String>>§root: Option<Root>§script: Option<Vec<String>>§caches: Option<Vec<String>>§builders: Option<Vec<Builder>>§context: Option<Vec<String>>§ignores: Option<Vec<String>>§entrypoint: Option<Vec<String>>§cmd: Option<Vec<String>>§ports: Option<Vec<u16>>§healthcheck: Option<Healthcheck>Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Image
impl<'de> Deserialize<'de> for Image
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Image
impl PartialEq for Image
source§impl StageGenerator for Image
impl StageGenerator for Image
impl StructuralPartialEq for Image
Auto Trait Implementations§
impl Freeze for Image
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnwindSafe for Image
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