[][src]Struct openshift_openapi::api::apps::v1::DeploymentRequest

pub struct DeploymentRequest {
    pub exclude_triggers: Option<Vec<String>>,
    pub force: bool,
    pub latest: bool,
    pub name: String,
}

DeploymentRequest is a request to a deployment config for a new deployment.

Fields

exclude_triggers: Option<Vec<String>>

ExcludeTriggers instructs the instantiator to avoid processing the specified triggers. This field overrides the triggers from latest and allows clients to control specific logic. This field is ignored if not specified.

force: bool

Force will try to force a new deployment to run. If the deployment config is paused, then setting this to true will return an Invalid error.

latest: bool

Latest will update the deployment config with the latest state from all triggers.

name: String

Name of the deployment config for requesting a new deployment.

Implementations

impl DeploymentRequest[src]

pub fn create_namespaced_deployment_config_instantiate(
    name: &str,
    namespace: &str,
    body: &DeploymentRequest,
    optional: CreateOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateResponse<Self>>), RequestError>
[src]

create instantiate of a DeploymentConfig

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 DeploymentRequest

  • 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 DeploymentRequest[src]

impl Debug for DeploymentRequest[src]

impl Default for DeploymentRequest[src]

impl<'de> Deserialize<'de> for DeploymentRequest[src]

impl PartialEq<DeploymentRequest> for DeploymentRequest[src]

impl Resource for DeploymentRequest[src]

impl Serialize for DeploymentRequest[src]

impl StructuralPartialEq for DeploymentRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.