(ctx context.Context, t testing.TB, client agent.Client, startup *agentproto.Startup)
| 3184 | } |
| 3185 | |
| 3186 | func postStartup(ctx context.Context, t testing.TB, client agent.Client, startup *agentproto.Startup) error { |
| 3187 | aAPI, _, err := client.ConnectRPC29(ctx) |
| 3188 | require.NoError(t, err) |
| 3189 | defer func() { |
| 3190 | cErr := aAPI.DRPCConn().Close() |
| 3191 | require.NoError(t, cErr) |
| 3192 | }() |
| 3193 | _, err = aAPI.UpdateStartup(ctx, &agentproto.UpdateStartupRequest{Startup: startup}) |
| 3194 | return err |
| 3195 | } |
| 3196 | |
| 3197 | type workspace struct { |
| 3198 | Status tailnetproto.Workspace_Status |
no test coverage detected