[−][src]Struct openshift_openapi::api::build::v1::DockerBuildStrategy
DockerBuildStrategy defines input parameters specific to container image build.
Fields
build_args: Option<Vec<EnvVar>>
buildArgs contains build arguments that will be resolved in the Dockerfile. See https://docs.docker.com/engine/reference/builder/#/arg for more details.
dockerfile_path: Option<String>
dockerfilePath is the path of the Dockerfile that will be used to build the container image, relative to the root of the context (contextDir).
env: Option<Vec<EnvVar>>
env contains additional environment variables you want to pass into a builder container.
force_pull: Option<bool>
forcePull describes if the builder should pull the images from registry prior to building.
from: Option<ObjectReference>
from is reference to an DockerImage, ImageStreamTag, or ImageStreamImage from which the container image should be pulled the resulting image will be used in the FROM line of the Dockerfile for this build.
image_optimization_policy: Option<String>
imageOptimizationPolicy describes what optimizations the system can use when building images to reduce the final size or time spent building the image. The default policy is 'None' which means the final build image will be equivalent to an image created by the container image build API. The experimental policy 'SkipLayers' will avoid commiting new layers in between each image step, and will fail if the Dockerfile cannot provide compatibility with the 'None' policy. An additional experimental policy 'SkipLayersAndWarn' is the same as 'SkipLayers' but simply warns if compatibility cannot be preserved.
no_cache: Option<bool>
noCache if set to true indicates that the container image build must be executed with the --no-cache=true flag
pull_secret: Option<LocalObjectReference>
pullSecret is the name of a Secret that would be used for setting up the authentication for pulling the container images from the private Docker registries
Trait Implementations
impl Clone for DockerBuildStrategy
[src]
fn clone(&self) -> DockerBuildStrategy
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DockerBuildStrategy
[src]
impl Default for DockerBuildStrategy
[src]
fn default() -> DockerBuildStrategy
[src]
impl<'de> Deserialize<'de> for DockerBuildStrategy
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<DockerBuildStrategy> for DockerBuildStrategy
[src]
fn eq(&self, other: &DockerBuildStrategy) -> bool
[src]
fn ne(&self, other: &DockerBuildStrategy) -> bool
[src]
impl Serialize for DockerBuildStrategy
[src]
impl StructuralPartialEq for DockerBuildStrategy
[src]
Auto Trait Implementations
impl RefUnwindSafe for DockerBuildStrategy
impl Send for DockerBuildStrategy
impl Sync for DockerBuildStrategy
impl Unpin for DockerBuildStrategy
impl UnwindSafe for DockerBuildStrategy
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,