[−][src]Struct openshift_openapi::api::build::v1::BuildConfigSpec
BuildConfigSpec describes when and how builds are created
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
failed_builds_history_limit: Option<i32>
failedBuildsHistoryLimit is the number of old failed builds to retain. If not specified, all failed builds are retained.
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.
run_policy: Option<String>
RunPolicy describes how the new build created from this build configuration will be scheduled for execution. This is optional, if not specified we default to "Serial".
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.
successful_builds_history_limit: Option<i32>
successfulBuildsHistoryLimit is the number of old successful builds to retain. If not specified, all successful builds are retained.
triggers: Vec<BuildTriggerPolicy>
triggers determine how new Builds can be launched from a BuildConfig. If no triggers are defined, a new build can only occur as a result of an explicit client build creation.
Trait Implementations
impl Clone for BuildConfigSpec
[src]
fn clone(&self) -> BuildConfigSpec
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for BuildConfigSpec
[src]
impl Default for BuildConfigSpec
[src]
fn default() -> BuildConfigSpec
[src]
impl<'de> Deserialize<'de> for BuildConfigSpec
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<BuildConfigSpec> for BuildConfigSpec
[src]
fn eq(&self, other: &BuildConfigSpec) -> bool
[src]
fn ne(&self, other: &BuildConfigSpec) -> bool
[src]
impl Serialize for BuildConfigSpec
[src]
impl StructuralPartialEq for BuildConfigSpec
[src]
Auto Trait Implementations
impl RefUnwindSafe for BuildConfigSpec
impl Send for BuildConfigSpec
impl Sync for BuildConfigSpec
impl Unpin for BuildConfigSpec
impl UnwindSafe for BuildConfigSpec
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>,