Class 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
    • Constructor Detail

      • Image

        public Image()
        No args constructor for use in serialization
    • 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:
        edit in interface io.fabric8.kubernetes.api.builder.Editable<ImageBuilder>
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)