(ctx context.Context)
| 160 | } |
| 161 | |
| 162 | func IsRunning(ctx context.Context) bool { |
| 163 | if !testenv.HasState[registryState](ctx) { |
| 164 | return false |
| 165 | } |
| 166 | |
| 167 | state := testenv.FetchState[registryState](ctx) |
| 168 | return state.Up() |
| 169 | } |
| 170 | |
| 171 | // Url returns the host:port needed to interact with the registry |
| 172 | func Url(ctx context.Context) (string, error) { |
no test coverage detected