mirror of
https://github.com/coder/coder.git
synced 2026-11-14 17:11:04 +08:00
Add the AgentAPI changes to support the feature that transmits boundary logs from workspaces to coderd via the agent API for eventual re-emission to stderr. The API handlers are stubs for now because I'm trying to land this feature from multiple smaller PRs. High level architecture: - Boundary records resource access in batches and sends proto message to agent - Agent proxies messages to coderd **(captured by the API changes in this PR)** - coderd re-emits logs to stderr RFC: https://www.notion.so/coderhq/Agent-Boundary-Logs-2afd579be59280f29629fc9823ac41ba
8 lines
300 B
Go
8 lines
300 B
Go
// Package boundarylogproxy provides a Unix socket server that receives boundary
|
|
// audit logs and forwards them to coderd via the agent API.
|
|
package boundarylogproxy
|
|
|
|
// Server a placeholder for the server that will listen on a Unix socket for
|
|
// boundary logs to be forwarded.
|
|
type Server struct{}
|