Package io.fabric8.openshift.api.model
Class DeploymentTriggerImageChangeParams
- java.lang.Object
-
- io.fabric8.openshift.api.model.DeploymentTriggerImageChangeParams
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<DeploymentTriggerImageChangeParamsBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class DeploymentTriggerImageChangeParams extends Object implements io.fabric8.kubernetes.api.builder.Editable<DeploymentTriggerImageChangeParamsBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
DeploymentTriggerImageChangeParams represents the parameters to the ImageChange trigger.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeploymentTriggerImageChangeParams()No args constructor for use in serializationDeploymentTriggerImageChangeParams(Boolean automatic, List<String> containerNames, io.fabric8.kubernetes.api.model.ObjectReference from, String lastTriggeredImage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentTriggerImageChangeParamsBuilderedit()Map<String,Object>getAdditionalProperties()BooleangetAutomatic()automatic means that the detection of a new tag value should result in an image update inside the pod template.List<String>getContainerNames()containerNames is used to restrict tag updates to the specified set of container names in a pod.io.fabric8.kubernetes.api.model.ObjectReferencegetFrom()DeploymentTriggerImageChangeParams represents the parameters to the ImageChange trigger.StringgetLastTriggeredImage()lastTriggeredImage is the last image to be triggered.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAutomatic(Boolean automatic)automatic means that the detection of a new tag value should result in an image update inside the pod template.voidsetContainerNames(List<String> containerNames)containerNames is used to restrict tag updates to the specified set of container names in a pod.voidsetFrom(io.fabric8.kubernetes.api.model.ObjectReference from)DeploymentTriggerImageChangeParams represents the parameters to the ImageChange trigger.voidsetLastTriggeredImage(String lastTriggeredImage)lastTriggeredImage is the last image to be triggered.DeploymentTriggerImageChangeParamsBuildertoBuilder()
-
-
-
Method Detail
-
getAutomatic
public Boolean getAutomatic()
automatic means that the detection of a new tag value should result in an image update inside the pod template.
-
setAutomatic
public void setAutomatic(Boolean automatic)
automatic means that the detection of a new tag value should result in an image update inside the pod template.
-
getContainerNames
public List<String> getContainerNames()
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.
-
setContainerNames
public void setContainerNames(List<String> containerNames)
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.
-
getFrom
public io.fabric8.kubernetes.api.model.ObjectReference getFrom()
DeploymentTriggerImageChangeParams represents the parameters to the ImageChange trigger.
-
setFrom
public void setFrom(io.fabric8.kubernetes.api.model.ObjectReference from)
DeploymentTriggerImageChangeParams represents the parameters to the ImageChange trigger.
-
getLastTriggeredImage
public String getLastTriggeredImage()
lastTriggeredImage is the last image to be triggered.
-
setLastTriggeredImage
public void setLastTriggeredImage(String lastTriggeredImage)
lastTriggeredImage is the last image to be triggered.
-
edit
public DeploymentTriggerImageChangeParamsBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<DeploymentTriggerImageChangeParamsBuilder>
-
toBuilder
public DeploymentTriggerImageChangeParamsBuilder toBuilder()
-
-