get_restricted_boot_parameters

Function get_restricted_boot_parameters 

Source
pub fn get_restricted_boot_parameters(
    group_available_vec: &[Group],
    boot_parameter_vec: &[BootParameters],
) -> Vec<BootParameters>
Expand description

Return the subset of boot_parameter_vec whose hosts list includes at least one member of the groups in group_available_vec. Used by service::image to scope image-deletion safety checks to the boot parameters that name nodes the caller can actually see.