Interface SaharaPluginService

    • Method Detail

      • list

        List<? extends Plugin> list()
        List all plugins
        Returns:
        list of plugins registered in Sahara or empty
      • get

        Plugin get​(String name)
        Get a plugin by name
        Parameters:
        name - the plugin name
        Returns:
        the plugin or null if not found
      • get

        Plugin get​(String name,
                   String version)
        Get a specific plugin with all details by name and version
        Parameters:
        name - the plugin name
        version - the plugin version
        Returns:
        the plugin or null if not found
      • convertConfig

        ClusterTemplate convertConfig​(String name,
                                      String version,
                                      String templateName,
                                      Payload<?> payload)
        Convert plugin specific config file into cluster template
        Parameters:
        name - the plugin name
        version - the plugin version
        templateName - the cluster template name
        payload - the config file for the specific plugin
        Returns:
        the cluster template