Function juju::unit_get_private_addr
[−]
[src]
pub fn unit_get_private_addr() -> Result<IpAddr, JujuError>
This will return the private IP address associated with the unit. It can be very useful for services that require communicating with the other units related to it.
Failures
Will return a String of the stderr if the call fails