Package com.morpheusdata.core.providers
Interface ClusterTabProvider
- All Superinterfaces:
PluginProvider
,UIExtensionProvider
- All Known Subinterfaces:
ClusterTabProvider
- All Known Implementing Classes:
AbstractClusterTabProvider
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 Summary
Modifier and TypeMethodDescriptionrenderTemplate
(ComputeServerGroup cluster) Cluster details provided to your rendering engineshow
(ComputeServerGroup cluster, User user, Account account) Provide logic when tab should be displayed.Methods inherited from interface com.morpheusdata.core.providers.PluginProvider
getCode, getMorpheus, getName, getPlugin, isPlugin
Methods inherited from interface com.morpheusdata.core.providers.UIExtensionProvider
getContentSecurityPolicy, getRenderer
-
Method Details
-
renderTemplate
Cluster details provided to your rendering engine- Parameters:
cluster
- details- Returns:
- result of rendering a template
-
show
Provide logic when tab should be displayed. This logic is checked after permissions are validated.- Parameters:
cluster
- Cluster detailsuser
- current User detailsaccount
- Account details- Returns:
- whether the tab should be displayed
-