Skip to main content

valid_label_id

Function valid_label_id 

Source
pub fn valid_label_id(id: &str) -> bool
Expand description

A label id must be a filesystem-safe lowercase slug: it is used as a map key in YAML and shown as a chip. Same character class as valid_fleet_name, so a hand-edited ../evil can never enter the registry.