public interface SaharaImageService extends RestService
| Modifier and Type | Method and Description |
|---|---|
Image |
get(String imageId)
Get an image by ID
|
List<? extends Image> |
list()
List all images
|
List<? extends Image> |
list(String... tags)
List images with specified tag(s)
|
Image |
register(String imageId,
String username,
String description)
Register a new image into Sahara image registry
|
Image |
tag(String imageId,
String... tags)
Add Tag(s) to image
|
ActionResponse |
unregister(String imageId)
Unregister the specified image from Sahara image registry
|
Image |
untag(String imageId,
String... tags)
Remove Tag(s) from image
|
List<? extends Image> list(String... tags)
tags - one or more tagsImage get(String imageId)
imageId - the image identifierImage register(String imageId, String username, String description)
imageId - the image to registerusername - the usernamedescription - the descriptionActionResponse unregister(String imageId)
imageId - the image identifierImage tag(String imageId, String... tags)
tags - one or more tags to addCopyright © 2017. All rights reserved.