Interface ClusterTabProvider

All Superinterfaces:
PluginProvider, UIExtensionProvider
All Known Subinterfaces:
ClusterTabProvider
All Known Implementing Classes:
AbstractClusterTabProvider

public interface ClusterTabProvider extends UIExtensionProvider
Renders tabs within a custom Cluster in Morpheus. This could be useful for providing additional information on a Kubernetes/Docker or KVM Cluster. Say for example some type of Prometheus data could be displayed. this could assist with that.
Since:
0.15.2
  • Method Details

    • renderTemplate

      HTMLResponse renderTemplate(ComputeServerGroup cluster)
      Cluster details provided to your rendering engine
      Parameters:
      cluster - details
      Returns:
      result of rendering a template
    • show

      Boolean show(ComputeServerGroup cluster, User user, Account account)
      Provide logic when tab should be displayed. This logic is checked after permissions are validated.
      Parameters:
      cluster - Cluster details
      user - current User details
      account - Account details
      Returns:
      whether the tab should be displayed