coder/agent/agentssh
Mathias Fredriksson c63f569174
refactor(agent/agentssh): move envs to agent and add agentssh config struct (#12204)
This commit refactors where custom environment variables are set in the
workspace and decouples agent specific configs from the `agentssh.Server`.
To reproduce all functionality, `agentssh.Config` is introduced.

The custom environment variables are now configured in `agent/agent.go`
and the agent retains control of the final state. This will allow for
easier extension in the future and keep other modules decoupled.
2024-02-19 16:30:00 +02:00
..
agentssh.go refactor(agent/agentssh): move envs to agent and add agentssh config struct (#12204) 2024-02-19 16:30:00 +02:00
agentssh_internal_test.go refactor(agent/agentssh): move envs to agent and add agentssh config struct (#12204) 2024-02-19 16:30:00 +02:00
agentssh_test.go refactor(agent/agentssh): move envs to agent and add agentssh config struct (#12204) 2024-02-19 16:30:00 +02:00
bicopy.go refactor(agent): Move SSH server into agentssh package (#7004) 2023-04-06 19:39:22 +03:00
forward.go fix(agent/agentssh): allow remote forwarding a socket multiple times (#11631) 2024-01-16 21:26:13 +02:00
jetbrainstrack.go feat: add logging to agent stats and JetBrains tracking (#11364) 2024-01-02 13:34:49 +04:00
metrics.go fix: case insensitve agent ssh session env var (#9675) 2023-09-13 14:18:00 -05:00
portinspection_supported.go fix: detect JetBrains running on local ipv6 (#11676) 2024-01-17 14:08:15 -09:00
portinspection_unsupported.go fix: appease linter on darwin (#11154) 2023-12-12 17:02:28 +04:00
signal_other.go feat(agent/agentssh): handle session signals (#10842) 2023-11-23 19:55:36 +02:00
signal_windows.go feat(agent/agentssh): handle session signals (#10842) 2023-11-23 19:55:36 +02:00
x11.go refactor(agent/agentssh): move envs to agent and add agentssh config struct (#12204) 2024-02-19 16:30:00 +02:00
x11_internal_test.go fix(agent/agentssh): fix X11 forwarding by improving Xauthority management (#11550) 2024-01-10 19:04:44 +02:00
x11_test.go refactor(agent/agentssh): move envs to agent and add agentssh config struct (#12204) 2024-02-19 16:30:00 +02:00