get_record_name_annotation

Function get_record_name_annotation 

Source
pub fn get_record_name_annotation(
    annotations: &BTreeMap<String, String>,
) -> Option<String>
Expand description

Returns the explicit DNS record name override from bindy.firestoned.io/record-name.

The annotation value is trimmed of surrounding whitespace. Returns None if the annotation is absent, empty, or whitespace-only.