(ctx context.Context, t testing.TB, aAPI agentproto.DRPCAgentClient)
| 3176 | } |
| 3177 | |
| 3178 | func requireGetManifest(ctx context.Context, t testing.TB, aAPI agentproto.DRPCAgentClient) agentsdk.Manifest { |
| 3179 | mp, err := aAPI.GetManifest(ctx, &agentproto.GetManifestRequest{}) |
| 3180 | require.NoError(t, err) |
| 3181 | manifest, err := agentsdk.ManifestFromProto(mp) |
| 3182 | require.NoError(t, err) |
| 3183 | return manifest |
| 3184 | } |
| 3185 | |
| 3186 | func postStartup(ctx context.Context, t testing.TB, client agent.Client, startup *agentproto.Startup) error { |
| 3187 | aAPI, _, err := client.ConnectRPC29(ctx) |
no test coverage detected