Class JibContainer


  • public class JibContainer
    extends java.lang.Object
    The container built by Jib.
    • Method Detail

      • getTargetImage

        public ImageReference getTargetImage()
        Get the target image that was built.
        Returns:
        the target image reference.
      • isImagePushed

        public boolean isImagePushed()
        Returns true if we pushed this image all the way to a registry.
        Returns:
        true if pushed.
      • getDigest

        public DescriptorDigest getDigest()
        Gets the digest of the registry image manifest built by Jib. This digest can be used to fetch a specific image from the registry in the form myregistry/myimage@digest.
        Returns:
        the image digest
      • getImageId

        public DescriptorDigest getImageId()
        Gets the digest of the container configuration built by Jib.
        Returns:
        the image ID
      • getTags

        public java.util.Set<java.lang.String> getTags()
        Get the tags applied to the container.
        Returns:
        the set of all tags
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object