sendLogsV1 writes a bare ReportBoundaryLogsRequest using TagV1, the legacy framing that existing boundary deployments use.
(t *testing.T, conn net.Conn, req *agentproto.ReportBoundaryLogsRequest)
| 24 | // sendLogsV1 writes a bare ReportBoundaryLogsRequest using TagV1, the |
| 25 | // legacy framing that existing boundary deployments use. |
| 26 | func sendLogsV1(t *testing.T, conn net.Conn, req *agentproto.ReportBoundaryLogsRequest) { |
| 27 | t.Helper() |
| 28 | |
| 29 | err := codec.WriteMessage(conn, codec.TagV1, req) |
| 30 | if err != nil { |
| 31 | t.Errorf("write v1 logs: %s", err) |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | // sendLogs writes a BoundaryMessage envelope containing logs to the |
| 36 | // connection using TagV2. |
no test coverage detected