public class SaharaPluginServiceImpl extends BaseSaharaServices implements SaharaPluginService
BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
SaharaPluginServiceImpl() |
Modifier and Type | Method and Description |
---|---|
ClusterTemplate |
convertConfig(String name,
String version,
String templateName,
Payload<?> payload)
Convert plugin specific config file into cluster template
|
Plugin |
get(String name)
Get a plugin by name
|
Plugin |
get(String name,
String version)
Get a specific plugin with all details by name and version
|
List<? extends Plugin> |
list()
List all plugins
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public List<? extends Plugin> list()
list
in interface SaharaPluginService
public Plugin get(String name)
get
in interface SaharaPluginService
name
- the plugin namepublic Plugin get(String name, String version)
get
in interface SaharaPluginService
name
- the plugin nameversion
- the plugin versionpublic ClusterTemplate convertConfig(String name, String version, String templateName, Payload<?> payload)
convertConfig
in interface SaharaPluginService
name
- the plugin nameversion
- the plugin versiontemplateName
- the cluster template namepayload
- the config file for the specific pluginCopyright © 2017. All rights reserved.