Function juju::unit_get_private_addr
[−]
[src]
pub fn unit_get_private_addr() -> Result<String, 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.