(t testing.TB, cli *CLI, service string, targetPort int)
| 128 | } |
| 129 | |
| 130 | func urlForService(t testing.TB, cli *CLI, service string, targetPort int) string { |
| 131 | t.Helper() |
| 132 | return fmt.Sprintf( |
| 133 | "http://localhost:%d", |
| 134 | publishedPortForService(t, cli, service, targetPort), |
| 135 | ) |
| 136 | } |
| 137 | |
| 138 | func publishedPortForService(t testing.TB, cli *CLI, service string, targetPort int) int { |
| 139 | t.Helper() |
no test coverage detected