Skip to main content

family_add

Function family_add 

Source
pub fn family_add(
    vault: &mut Value,
    name: &str,
    hosts: &[String],
) -> Result<(), String>
Expand description

Adds hosts to the named family (creating it). Hosts are normalised to a bare host; a scheme, port or path in the input is dropped, because a family is a set of hosts.