Function: useClustersConf()
function useClustersConf(): ConfigState["allClusters"]
Hook for getting or fetching the clusters configuration. This gets the clusters from the redux store. The redux store is updated when the user changes the configuration. The configuration is stored in the local storage. When stateless clusters are present, it combines the stateless clusters with the clusters from the redux store.
Returns
ConfigState
["allClusters"
]
the clusters configuration.