(t *testing.T, ctx context.Context, ns *docker.Namespace, settings docker.ApplicationSettings)
| 890 | } |
| 891 | |
| 892 | func deployApp(t *testing.T, ctx context.Context, ns *docker.Namespace, settings docker.ApplicationSettings) *docker.Application { |
| 893 | t.Helper() |
| 894 | app := docker.NewApplication(ns, settings) |
| 895 | require.NoError(t, app.Deploy(ctx, nil)) |
| 896 | require.NoError(t, ns.Refresh(ctx)) |
| 897 | return ns.Application(settings.Name) |
| 898 | } |
| 899 | |
| 900 | func getFreePort(t *testing.T) int { |
| 901 | t.Helper() |
no test coverage detected
searching dependent graphs…