Class Update
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.Update
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<UpdateBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Update extends Object implements io.fabric8.kubernetes.api.builder.Editable<UpdateBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
Update represents an administrator update request.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateBuilderedit()Map<String,Object>getAdditionalProperties()StringgetArchitecture()architecture is an optional field that indicates the desired value of the cluster architecture.BooleangetForce()force allows an administrator to update to an image that has failed verification or upgradeable checks.StringgetImage()image is a container image location that contains the update. image should be used when the desired version does not exist in availableUpdates or history.StringgetVersion()version is a semantic version identifying the update version. version is required if architecture is specified.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetArchitecture(String architecture)architecture is an optional field that indicates the desired value of the cluster architecture.voidsetForce(Boolean force)force allows an administrator to update to an image that has failed verification or upgradeable checks.voidsetImage(String image)image is a container image location that contains the update. image should be used when the desired version does not exist in availableUpdates or history.voidsetVersion(String version)version is a semantic version identifying the update version. version is required if architecture is specified.UpdateBuildertoBuilder()
-
-
-
Method Detail
-
getArchitecture
public String getArchitecture()
architecture is an optional field that indicates the desired value of the cluster architecture. In this context cluster architecture means either a single architecture or a multi architecture. architecture can only be set to Multi thereby only allowing updates from single to multi architecture. If architecture is set, image cannot be set and version must be set. Valid values are 'Multi' and empty.
-
setArchitecture
public void setArchitecture(String architecture)
architecture is an optional field that indicates the desired value of the cluster architecture. In this context cluster architecture means either a single architecture or a multi architecture. architecture can only be set to Multi thereby only allowing updates from single to multi architecture. If architecture is set, image cannot be set and version must be set. Valid values are 'Multi' and empty.
-
getForce
public Boolean getForce()
force allows an administrator to update to an image that has failed verification or upgradeable checks. This option should only be used when the authenticity of the provided image has been verified out of band because the provided image will run with full administrative access to the cluster. Do not use this flag with images that comes from unknown or potentially malicious sources.
-
setForce
public void setForce(Boolean force)
force allows an administrator to update to an image that has failed verification or upgradeable checks. This option should only be used when the authenticity of the provided image has been verified out of band because the provided image will run with full administrative access to the cluster. Do not use this flag with images that comes from unknown or potentially malicious sources.
-
getImage
public String getImage()
image is a container image location that contains the update. image should be used when the desired version does not exist in availableUpdates or history. When image is set, architecture cannot be specified. If both version and image are set, the version extracted from the referenced image must match the specified version.
-
setImage
public void setImage(String image)
image is a container image location that contains the update. image should be used when the desired version does not exist in availableUpdates or history. When image is set, architecture cannot be specified. If both version and image are set, the version extracted from the referenced image must match the specified version.
-
getVersion
public String getVersion()
version is a semantic version identifying the update version. version is required if architecture is specified. If both version and image are set, the version extracted from the referenced image must match the specified version.
-
setVersion
public void setVersion(String version)
version is a semantic version identifying the update version. version is required if architecture is specified. If both version and image are set, the version extracted from the referenced image must match the specified version.
-
edit
public UpdateBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<UpdateBuilder>
-
toBuilder
public UpdateBuilder toBuilder()
-
-