Map a port on the host to a port in the container so that traffic to the host port is forwarded to the container port. This is deprecated in favour of passing NetIn configuration in the ContainerSpec at creation time. If a host port is not given, a port will be acquired from the server's port pool.
(hostPort, containerPort uint32)
| 69 | // Errors: |
| 70 | // * When no port can be acquired from the server's port pool. |
| 71 | NetIn(hostPort, containerPort uint32) (uint32, uint32, error) |
| 72 | |
| 73 | // Whitelist outbound network traffic. This is deprecated in favour of passing |
| 74 | // NetOut configuration in the ContainerSpec at creation time. |
no outgoing calls
no test coverage detected