Class Image

    • 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" and OCI images (oci://).
      • setChecksum

        public void setChecksum​(String checksum)
        Checksum is the checksum for the image. Required for all formats except for "live-iso" and OCI images (oci://).
      • 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.
      • getOciAuthSecretName

        public String getOciAuthSecretName()
        OCIAuthSecretName optionally names a Docker-config secret containing registry credentials for oci:// images. Must be in the same namespace as the BareMetalHost. Allowed types: kubernetes.io/dockerconfigjson|dockercfg. Only used when Image.URL has the oci:// scheme.
      • setOciAuthSecretName

        public void setOciAuthSecretName​(String ociAuthSecretName)
        OCIAuthSecretName optionally names a Docker-config secret containing registry credentials for oci:// images. Must be in the same namespace as the BareMetalHost. Allowed types: kubernetes.io/dockerconfigjson|dockercfg. Only used when Image.URL has the oci:// scheme.
      • 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.
      • getAdditionalProperties

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

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

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