(t testing.TB, logger slog.Logger, manifest *agentproto.Manifest, statsCh chan *agentproto.Stats)
| 584 | } |
| 585 | |
| 586 | func NewFakeAgentAPI(t testing.TB, logger slog.Logger, manifest *agentproto.Manifest, statsCh chan *agentproto.Stats) *FakeAgentAPI { |
| 587 | return &FakeAgentAPI{ |
| 588 | t: t, |
| 589 | logger: logger.Named("FakeAgentAPI"), |
| 590 | manifest: manifest, |
| 591 | statsCh: statsCh, |
| 592 | startupCh: make(chan *agentproto.Startup, 100), |
| 593 | appHealthCh: make(chan *agentproto.BatchUpdateAppHealthRequest, 100), |
| 594 | } |
| 595 | } |