Struct openshift_openapi::api::build::v1::BuildRequest [−][src]
BuildRequest is the resource used to pass parameters to build generator
Fields
binary: Option<BinaryBuildSource>
binary indicates a request to build from a binary provided to the builder
docker_strategy_options: Option<DockerStrategyOptions>
DockerStrategyOptions contains additional docker-strategy specific options for the build
env: Option<Vec<EnvVar>>
env contains additional environment variables you want to pass into a builder container.
from: Option<ObjectReference>
from is the reference to the ImageStreamTag that triggered the build.
last_version: Option<i64>
lastVersion (optional) is the LastVersion of the BuildConfig that was used to generate the build. If the BuildConfig in the generator doesn't match, a build will not be generated.
metadata: ObjectMeta
metadata for BuildRequest.
revision: Option<SourceRevision>
revision is the information from the source for a specific repo snapshot.
source_strategy_options: Option<SourceStrategyOptions>
SourceStrategyOptions contains additional source-strategy specific options for the build
triggered_by: Vec<BuildTriggerCause>
triggeredBy describes which triggers started the most recent update to the build configuration and contains information about those triggers.
triggered_by_image: Option<ObjectReference>
triggeredByImage is the Image that triggered this build.
Implementations
impl BuildRequest
[src]
pub fn create_namespaced_build_clone(
name: &str,
namespace: &str,
body: &BuildRequest,
optional: CreateOptional<'_>
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateResponse<Self>>), RequestError>
[src]
name: &str,
namespace: &str,
body: &BuildRequest,
optional: CreateOptional<'_>
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateResponse<Self>>), RequestError>
create clone of a Build
Use the returned k8s_openapi::ResponseBody
<
k8s_openapi::CreateResponse
<Self>>
constructor, or k8s_openapi::CreateResponse
<Self>
directly, to parse the HTTP response.
Arguments
-
name
name of the BuildRequest
-
namespace
object name and auth scope, such as for teams and projects
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl BuildRequest
[src]
pub fn create_namespaced_build_config_instantiate(
name: &str,
namespace: &str,
body: &BuildRequest,
optional: CreateOptional<'_>
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateNamespacedBuildConfigInstantiateResponse>), RequestError>
[src]
name: &str,
namespace: &str,
body: &BuildRequest,
optional: CreateOptional<'_>
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateNamespacedBuildConfigInstantiateResponse>), RequestError>
create instantiate of a BuildConfig
Use the returned k8s_openapi::ResponseBody
<
CreateNamespacedBuildConfigInstantiateResponse
>
constructor, or CreateNamespacedBuildConfigInstantiateResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the BuildRequest
-
namespace
object name and auth scope, such as for teams and projects
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
Trait Implementations
impl Clone for BuildRequest
[src]
fn clone(&self) -> BuildRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for BuildRequest
[src]
impl Default for BuildRequest
[src]
fn default() -> BuildRequest
[src]
impl<'de> Deserialize<'de> for BuildRequest
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl Metadata for BuildRequest
[src]
type Ty = ObjectMeta
The type of the metadata object.
fn metadata(&self) -> &Self::Ty
[src]
fn metadata_mut(&mut self) -> &mut Self::Ty
[src]
impl PartialEq<BuildRequest> for BuildRequest
[src]
fn eq(&self, other: &BuildRequest) -> bool
[src]
fn ne(&self, other: &BuildRequest) -> bool
[src]
impl Resource for BuildRequest
[src]
const API_VERSION: &'static str
[src]
const GROUP: &'static str
[src]
const KIND: &'static str
[src]
const VERSION: &'static str
[src]
impl Serialize for BuildRequest
[src]
impl StructuralPartialEq for BuildRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for BuildRequest
[src]
impl Send for BuildRequest
[src]
impl Sync for BuildRequest
[src]
impl Unpin for BuildRequest
[src]
impl UnwindSafe for BuildRequest
[src]
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,