| Modifier and Type | Method and Description |
|---|---|
Image |
ImageService.create(Image image,
Payload<?> payload)
Creates a new Image
|
Image |
ImageService.upload(String imageId,
Payload<?> payload,
Image image)
Upload image data for a previously-reserved image
If an image was previously reserved, and thus is in the queued state, then image data can be added using this method. |
| Modifier and Type | Method and Description |
|---|---|
ClusterTemplate |
SaharaPluginService.convertConfig(String name,
String version,
String templateName,
Payload<?> payload)
Convert plugin specific config file into cluster template
|
| Modifier and Type | Method and Description |
|---|---|
String |
ObjectStorageObjectService.put(String containerName,
String name,
Payload<?> payload)
Adds/Updates a file to the specified container
|
String |
ObjectStorageObjectService.put(String containerName,
String name,
Payload<?> payload,
ObjectPutOptions options)
Adds/Updates a file to the specified container
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest.RequestBuilder<R> |
HttpRequest.RequestBuilder.entity(Payload<?> entity) |
| Modifier and Type | Method and Description |
|---|---|
static Payload<File> |
Payloads.create(File file)
Creates a new File based Payload
|
static Payload<InputStream> |
Payloads.create(InputStream stream)
Creates a new Input Stream based Payload
|
static Payload<URL> |
Payloads.create(URL url)
Creates a new URL based Payload allowing direct upload from the URL
|
| Modifier and Type | Class and Description |
|---|---|
class |
FilePayload
A File based Payload
|
class |
InputStreamPayload
Input Stream Payload
|
class |
URLPayload
URL based Payload
|
| Modifier and Type | Method and Description |
|---|---|
Image |
ImageServiceImpl.create(Image image,
Payload<?> payload)
Creates a new Image
|
Image |
ImageServiceImpl.upload(String imageId,
Payload<?> payload,
Image image)
Upload image data for a previously-reserved image
If an image was previously reserved, and thus is in the queued state, then image data can be added using this method. |
| Modifier and Type | Method and Description |
|---|---|
ClusterTemplate |
SaharaPluginServiceImpl.convertConfig(String name,
String version,
String templateName,
Payload<?> payload)
Convert plugin specific config file into cluster template
|
| Modifier and Type | Method and Description |
|---|---|
String |
ObjectStorageObjectServiceImpl.put(String containerName,
String name,
Payload<?> payload)
Adds/Updates a file to the specified container
|
String |
ObjectStorageObjectServiceImpl.put(String containerName,
String name,
Payload<?> payload,
ObjectPutOptions options)
Adds/Updates a file to the specified container
|