pub struct Docker {
pub using: String,
pub image: String,
pub env: Env,
pub entrypoint: Option<String>,
pub pre_entrypoint: Option<String>,
pub pre_if: Option<If>,
pub post_entrypoint: Option<String>,
pub post_if: Option<If>,
}
Expand description
A runs
definition for a Docker action.
Fields§
§using: String
Invariant: "docker"
image: String
The Docker image to use.
env: Env
An optional environment mapping for this step.
entrypoint: Option<String>
An optional Docker entrypoint, potentially overriding the image’s default entrypoint.
pre_entrypoint: Option<String>
An optional “pre” entrypoint to run, before Docker::entrypoint
.
pre_if: Option<If>
An optional expression that triggers Docker::pre_entrypoint
if it evaluates to true
.
If not present, defaults to always()
post_entrypoint: Option<String>
An optional “post” entrypoint to run, after Docker::entrypoint
or the default
entrypoint.
post_if: Option<If>
An optional expression that triggers Docker::post_entrypoint
if it evaluates to true
.
If not present, defaults to always()
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Docker
impl<'de> Deserialize<'de> for Docker
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
Auto Trait Implementations§
impl Freeze for Docker
impl RefUnwindSafe for Docker
impl Send for Docker
impl Sync for Docker
impl Unpin for Docker
impl UnwindSafe for Docker
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