Function juju::relation_get[][src]

pub fn relation_get(key: &str) -> Result<Option<String>, JujuError>

Get relation information for the current unit

Failures

Will return a String of the stderr if the call fails