dockerNetworkContainerHostPort return the host:port address of a container within the network.
(networkName, containerName string, port int)
| 545 | |
| 546 | // dockerNetworkContainerHostPort return the host:port address of a container within the network. |
| 547 | func dockerNetworkContainerHostPort(networkName, containerName string, port int) string { |
| 548 | return fmt.Sprintf("%s:%d", dockerNetworkContainerHost(networkName, containerName), port) |
| 549 | } |
| 550 | |
| 551 | func (d *dockerRunnable) Ready() error { |
| 552 | if !d.IsRunning() { |
no test coverage detected
searching dependent graphs…