# Functions

GetProcessGroupsToRemove returns a list of process groups to be removed based on the removal mode.
GetRemainingMap returns a map that indicates if a process group is fully excluded in the cluster.
GetZonedRemovals returns a map with the zone as key and a list of process groups IDs to be removed.
RemovalAllowed returns if we are allowed to remove the process group or if we have to wait to ensure a safe deletion.

# Constants

TerminatingZone maps all process groups that have the condition ResourcesTerminating.
UnknownZone maps all process groups that are not known to the FoundationDB status.