Skip to main content

parse_labels

Function parse_labels 

Source
pub fn parse_labels(entries: &[String]) -> Result<Vec<(String, String)>, String>
Expand description

The labels of a deployment, as the configuration has them (basic.labels): each key:value. The key is made of letters, digits, _ and -, which is what every place that names one can write: a template, a placeholder of the access log, a tag.