(_ context.Context, req *agentproto.UpdateLifecycleRequest)
| 341 | } |
| 342 | |
| 343 | func (f *FakeAgentAPI) UpdateLifecycle(_ context.Context, req *agentproto.UpdateLifecycleRequest) (*agentproto.Lifecycle, error) { |
| 344 | f.Lock() |
| 345 | defer f.Unlock() |
| 346 | s, err := agentsdk.LifecycleStateFromProto(req.GetLifecycle().GetState()) |
| 347 | if assert.NoError(f.t, err) { |
| 348 | f.lifecycleStates = append(f.lifecycleStates, s) |
| 349 | } |
| 350 | return req.GetLifecycle(), nil |
| 351 | } |
| 352 | |
| 353 | func (f *FakeAgentAPI) BatchUpdateAppHealths(ctx context.Context, req *agentproto.BatchUpdateAppHealthRequest) (*agentproto.BatchUpdateAppHealthResponse, error) { |
| 354 | f.logger.Debug(ctx, "batch update app health", slog.F("req", req)) |
nothing calls this directly
no test coverage detected