pub struct DockerStrategyOptions {
pub build_args: Option<Vec<EnvVar>>,
pub no_cache: Option<bool>,
}
Expand description
DockerStrategyOptions contains extra strategy options for container image builds
Fields§
§build_args: Option<Vec<EnvVar>>
Args contains any build arguments that are to be passed to Docker. See https://docs.docker.com/engine/reference/builder/#/arg for more details
no_cache: Option<bool>
noCache overrides the docker-strategy noCache option in the build config
Trait Implementations§
Source§impl Clone for DockerStrategyOptions
impl Clone for DockerStrategyOptions
Source§fn clone(&self) -> DockerStrategyOptions
fn clone(&self) -> DockerStrategyOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 DockerStrategyOptions
impl Debug for DockerStrategyOptions
Source§impl Default for DockerStrategyOptions
impl Default for DockerStrategyOptions
Source§fn default() -> DockerStrategyOptions
fn default() -> DockerStrategyOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DockerStrategyOptions
impl<'de> Deserialize<'de> for DockerStrategyOptions
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 DockerStrategyOptions
impl PartialEq for DockerStrategyOptions
Source§impl Serialize for DockerStrategyOptions
impl Serialize for DockerStrategyOptions
impl StructuralPartialEq for DockerStrategyOptions
Auto Trait Implementations§
impl Freeze for DockerStrategyOptions
impl RefUnwindSafe for DockerStrategyOptions
impl Send for DockerStrategyOptions
impl Sync for DockerStrategyOptions
impl Unpin for DockerStrategyOptions
impl UnwindSafe for DockerStrategyOptions
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