pub struct DeploymentTriggerImageChangeParams {
pub automatic: Option<bool>,
pub container_names: Option<Vec<String>>,
pub from: ObjectReference,
pub last_triggered_image: Option<String>,
}
Expand description
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§
Source§impl Clone for DeploymentTriggerImageChangeParams
impl Clone for DeploymentTriggerImageChangeParams
Source§fn clone(&self) -> DeploymentTriggerImageChangeParams
fn clone(&self) -> DeploymentTriggerImageChangeParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for DeploymentTriggerImageChangeParams
impl Default for DeploymentTriggerImageChangeParams
Source§fn default() -> DeploymentTriggerImageChangeParams
fn default() -> DeploymentTriggerImageChangeParams
Source§impl<'de> Deserialize<'de> for DeploymentTriggerImageChangeParams
impl<'de> Deserialize<'de> for DeploymentTriggerImageChangeParams
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Source§impl PartialEq for DeploymentTriggerImageChangeParams
impl PartialEq for DeploymentTriggerImageChangeParams
Source§fn eq(&self, other: &DeploymentTriggerImageChangeParams) -> bool
fn eq(&self, other: &DeploymentTriggerImageChangeParams) -> bool
self
and other
values to be equal, and is used by ==
.