Struct dofigen_lib::Image
source · [−]pub struct Image {Show 15 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 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: Stringuser: 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>>ignores: Option<Vec<String>>entrypoint: Option<Vec<String>>cmd: Option<Vec<String>>ports: Option<Vec<u16>>healthcheck: Option<Healthcheck>Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Image
impl<'de> Deserialize<'de> for Image
sourcefn 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
sourceimpl PartialEq<Image> for Image
impl PartialEq<Image> for Image
sourceimpl StageGenerator for Image
impl StageGenerator for Image
impl StructuralPartialEq for Image
Auto Trait Implementations
impl RefUnwindSafe for Image
impl Send for Image
impl Sync for Image
impl Unpin for Image
impl UnwindSafe for Image
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more