Skip to main content

get_needed_components_for_request

Function get_needed_components_for_request 

Source
pub fn get_needed_components_for_request(
    protocol: &WebUIProtocol,
    entry_id: &str,
    request_path: &str,
    inventory_hex: &str,
) -> (Vec<String>, String)
Expand description

Walk the protocol from the persistent entry_id and return the component templates needed for the current request_path.

Returns (needed_names, updated_inventory_hex).