(ctx context.Context)
| 806 | } |
| 807 | |
| 808 | func (a *AgentClient) GetRecentAppLogs(ctx context.Context) string { |
| 809 | app, err := a.getApp() |
| 810 | if err != nil { |
| 811 | a.logger.Debug("failed to get app for recent logs", zap.Error(err)) |
| 812 | return "" |
| 813 | } |
| 814 | |
| 815 | return app.RecentLogs(ctx) |
| 816 | } |
| 817 | |
| 818 | // startAgent starts the keploy agent process and handles its lifecycle |
| 819 | func (a *AgentClient) startAgent(ctx context.Context, isDockerCmd bool, opts models.SetupOptions) error { |
nothing calls this directly
no test coverage detected