Module target_set

Source
Expand description

Shared helpers for target-set validation.

Functionsยง

build_refresh_plan_from_targets
Build and validate a refresh plan from target IDs.
build_withdraw_plan_from_target_principals
Build a withdraw plan from target principals.
find_duplicate_target_id
Returns the first duplicate target ID in insertion order.
find_first_duplicate
Returns the first duplicate item found in insertion order.
find_locked_targets
Return locked target IDs from a candidate target list.
get_locked_targets
Return all currently locked target IDs.
has_unique_items
Returns true when all items are unique.
is_target_locked
Check if a target is currently locked.
validate_no_duplicate_targets
Returns true when all target IDs are unique.