Interface ImageExtension

    • Method Detail

      • buildImageTemplateFromNode

        ImageTemplate buildImageTemplateFromNode​(String name,
                                                 String id)
        Build an ImageTemplate from a running node, to use later to create a new Image.
        Parameters:
        name - name to give the new image
        id - node to base the template on
        Returns:
        an image template that can be used to create a new image
      • createImage

        com.google.common.util.concurrent.ListenableFuture<Image> createImage​(ImageTemplate template)
        Transform the ImageTemplate on an Image that can be used to create nodes.
        Parameters:
        template - template to base the new image on
        Returns:
        the image that was just built *after* it is registered on the provider
      • deleteImage

        boolean deleteImage​(String id)
        Delete an Image on the provider.
        Parameters:
        id - the id of the image to delete
        Returns: