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

pub struct DeploymentTriggerImageChangeParams {
    pub automatic: Option<bool>,
    pub container_names: Option<Vec<String>>,
    pub from: ObjectReference,
    pub last_triggered_image: Option<String>,
}

DeploymentTriggerImageChangeParams represents the parameters to the ImageChange trigger.

Fields

automatic: Option<bool>

Automatic means that the detection of a new tag value should result in an image update inside the pod template.

container_names: Option<Vec<String>>

ContainerNames is used to restrict tag updates to the specified set of container names in a pod. If multiple triggers point to the same containers, the resulting behavior is undefined. Future API versions will make this a validation error. If ContainerNames does not point to a valid container, the trigger will be ignored. Future API versions will make this a validation error.

from: ObjectReference

From is a reference to an image stream tag to watch for changes. From.Name is the only required subfield - if From.Namespace is blank, the namespace of the current deployment trigger will be used.

last_triggered_image: Option<String>

LastTriggeredImage is the last image to be triggered.

Trait Implementations

impl Clone for DeploymentTriggerImageChangeParams[src]

impl Debug for DeploymentTriggerImageChangeParams[src]

impl Default for DeploymentTriggerImageChangeParams[src]

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

impl PartialEq<DeploymentTriggerImageChangeParams> for DeploymentTriggerImageChangeParams[src]

impl Serialize for DeploymentTriggerImageChangeParams[src]

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