Function juju::open_port
[−]
[src]
pub fn open_port(port: usize, transport: Transport) -> Result<i32, JujuError>
This will expose a port on the unit. The transport argument will indicate whether tcp or udp should be exposed
Failures
Will return a String of the stderr if the call fails