| 82 | } |
| 83 | |
| 84 | type coderLogSender interface { |
| 85 | Enqueue(uuid.UUID, ...agentsdk.Log) |
| 86 | SendLoop(context.Context, agentsdk.LogDest) error |
| 87 | Flush(uuid.UUID) |
| 88 | WaitUntilEmpty(context.Context) error |
| 89 | } |
| 90 | |
| 91 | func initClient(coderURL *url.URL, token string) *agentsdk.Client { |
| 92 | client := agentsdk.New(coderURL) |
no outgoing calls
no test coverage detected