Struct k8s_openapi::v1_9::api::apps::v1::DeploymentStrategy[][src]

pub struct DeploymentStrategy {
    pub rolling_update: Option<RollingUpdateDeployment>,
    pub type_: Option<String>,
}

DeploymentStrategy describes how to replace existing pods with new ones.

Fields

Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.

Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.

Trait Implementations

impl Clone for DeploymentStrategy
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for DeploymentStrategy
[src]

Formats the value using the given formatter. Read more

impl Default for DeploymentStrategy
[src]

Returns the "default value" for a type. Read more

impl PartialEq for DeploymentStrategy
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for DeploymentStrategy
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations