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

pub struct RecreateDeploymentStrategyParams {
    pub mid: Option<LifecycleHook>,
    pub post: Option<LifecycleHook>,
    pub pre: Option<LifecycleHook>,
    pub timeout_seconds: Option<i64>,
}

RecreateDeploymentStrategyParams are the input to the Recreate deployment strategy.

Fields

mid: Option<LifecycleHook>

Mid is a lifecycle hook which is executed while the deployment is scaled down to zero before the first new pod is created. All LifecycleHookFailurePolicy values are supported.

post: Option<LifecycleHook>

Post is a lifecycle hook which is executed after the strategy has finished all deployment logic. All LifecycleHookFailurePolicy values are supported.

pre: Option<LifecycleHook>

Pre is a lifecycle hook which is executed before the strategy manipulates the deployment. All LifecycleHookFailurePolicy values are supported.

timeout_seconds: Option<i64>

TimeoutSeconds is the time to wait for updates before giving up. If the value is nil, a default will be used.

Trait Implementations

impl Clone for RecreateDeploymentStrategyParams[src]

impl Debug for RecreateDeploymentStrategyParams[src]

impl Default for RecreateDeploymentStrategyParams[src]

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

impl PartialEq<RecreateDeploymentStrategyParams> for RecreateDeploymentStrategyParams[src]

impl Serialize for RecreateDeploymentStrategyParams[src]

impl StructuralPartialEq for RecreateDeploymentStrategyParams[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.