[−][src]Struct openshift_openapi::api::build::v1::BuildSpec
BuildSpec has the information to represent a build and also additional information about a build
Fields
completion_deadline_seconds: Option<i64>
completionDeadlineSeconds is an optional duration in seconds, counted from the time when a build pod gets scheduled in the system, that the build may be active on a node before the system actively tries to terminate the build; value must be positive integer
node_selector: BTreeMap<String, String>
nodeSelector is a selector which must be true for the build pod to fit on a node If nil, it can be overridden by default build nodeselector values for the cluster. If set to an empty map or a map with any values, default build nodeselector values are ignored.
output: Option<BuildOutput>
output describes the container image the Strategy should produce.
post_commit: Option<BuildPostCommitSpec>
postCommit is a build hook executed after the build output image is committed, before it is pushed to a registry.
resources: Option<ResourceRequirements>
resources computes resource requirements to execute the build.
revision: Option<SourceRevision>
revision is the information from the source for a specific repo snapshot. This is optional.
service_account: Option<String>
serviceAccount is the name of the ServiceAccount to use to run the pod created by this build. The pod will be allowed to use secrets referenced by the ServiceAccount
source: Option<BuildSource>
source describes the SCM in use.
strategy: BuildStrategy
strategy defines how to perform a build.
triggered_by: Vec<BuildTriggerCause>
triggeredBy describes which triggers started the most recent update to the build configuration and contains information about those triggers.
Trait Implementations
impl Clone for BuildSpec
[src]
impl Debug for BuildSpec
[src]
impl Default for BuildSpec
[src]
impl<'de> Deserialize<'de> for BuildSpec
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<BuildSpec> for BuildSpec
[src]
impl Serialize for BuildSpec
[src]
impl StructuralPartialEq for BuildSpec
[src]
Auto Trait Implementations
impl RefUnwindSafe for BuildSpec
impl Send for BuildSpec
impl Sync for BuildSpec
impl Unpin for BuildSpec
impl UnwindSafe for BuildSpec
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>,