-spec pre_autocluster(fun((cluster_info(),
Discovered) -> Discovered),
classy_hook:conf()) -> classy_hook:hook() when Discovered ::
[{cluster_id(),
[node()]}].
Register a hook that filters and ranks nodes for autocluster. It allows the business code to pick the most appropriate cluster for automatic join.
WARNING: this hook cannot have side effects.