Class Image
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.Image
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ImageBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Image extends Object implements io.fabric8.kubernetes.api.builder.Editable<ImageBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
Image holds the details of an image either to provisioned or that has been provisioned.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageBuilderedit()Map<String,Object>getAdditionalProperties()StringgetChecksum()Checksum is the checksum for the image.StringgetChecksumType()ChecksumType is the checksum algorithm for the image, e.g md5, sha256 or sha512.StringgetFormat()Format contains the format of the image (raw, qcow2, ...).StringgetUrl()URL is a location of an image to deploy.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetChecksum(String checksum)Checksum is the checksum for the image.voidsetChecksumType(String checksumType)ChecksumType is the checksum algorithm for the image, e.g md5, sha256 or sha512.voidsetFormat(String format)Format contains the format of the image (raw, qcow2, ...).voidsetUrl(String url)URL is a location of an image to deploy.ImageBuildertoBuilder()
-
-
-
Method Detail
-
getChecksum
public String getChecksum()
Checksum is the checksum for the image. Required for all formats except for "live-iso".
-
setChecksum
public void setChecksum(String checksum)
Checksum is the checksum for the image. Required for all formats except for "live-iso".
-
getChecksumType
public String getChecksumType()
ChecksumType is the checksum algorithm for the image, e.g md5, sha256 or sha512. The special value "auto" can be used to detect the algorithm from the checksum. If missing, MD5 is used. If in doubt, use "auto".
-
setChecksumType
public void setChecksumType(String checksumType)
ChecksumType is the checksum algorithm for the image, e.g md5, sha256 or sha512. The special value "auto" can be used to detect the algorithm from the checksum. If missing, MD5 is used. If in doubt, use "auto".
-
getFormat
public String getFormat()
Format contains the format of the image (raw, qcow2, ...). When set to "live-iso", an ISO 9660 image referenced by the url will be live-booted and not deployed to disk.
-
setFormat
public void setFormat(String format)
Format contains the format of the image (raw, qcow2, ...). When set to "live-iso", an ISO 9660 image referenced by the url will be live-booted and not deployed to disk.
-
getUrl
public String getUrl()
URL is a location of an image to deploy.
-
setUrl
public void setUrl(String url)
URL is a location of an image to deploy.
-
edit
public ImageBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ImageBuilder>
-
toBuilder
public ImageBuilder toBuilder()
-
-