Function: useClustersVersion()
function useClustersVersion(clusters: Cluster[]): [object, object]
Hook to get the version of the clusters given by the parameter.
Parameters
| Parameter | Type | Description |
|---|---|---|
clusters | Cluster[] |
Returns
[object, object]
a map with cluster -> version-info, and a map with cluster -> error.