Function juju::unit_get_public_addr [] [src]

pub fn unit_get_public_addr() -> Result<IpAddr, JujuError>

This will return the public IP address associated with the unit.

Failures

Will return a String of the stderr if the call fails