tailscale/ssh/tailssh
Brad Fitzpatrick 01185e436f types/result, util/lineiter: add package for a result type, use it
This adds a new generic result type (motivated by golang/go#70084) to
try it out, and uses it in the new lineutil package (replacing the old
lineread package), changing that package to return iterators:
sometimes over []byte (when the input is all in memory), but sometimes
iterators over results of []byte, if errors might happen at runtime.

Updates #12912
Updates golang/go#70084

Change-Id: Iacdc1070e661b5fb163907b1e8b07ac7d51d3f83
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2024-11-05 10:27:52 -08:00
..
testcontainers ssh/tailssh: only chdir incubator process to user's homedir when necessary and possible 2024-08-21 13:20:12 -05:00
accept_env_test.go ssh: Add logic to set accepted environment variables in SSH session (#13559) 2024-09-30 21:47:45 -06:00
accept_env.go ssh: Add logic to set accepted environment variables in SSH session (#13559) 2024-09-30 21:47:45 -06:00
incubator_linux.go ssh/tailssh: fall back to using su when no TTY available on Linux 2024-05-29 13:15:17 -05:00
incubator.go ssh/tailssh: calculate passthrough environment at latest possible stage 2024-10-11 15:25:30 -05:00
privs_test.go ssh/tailssh: only chdir incubator process to user's homedir when necessary and possible 2024-08-21 13:20:12 -05:00
tailssh_integration_test.go ssh: Add logic to set accepted environment variables in SSH session (#13559) 2024-09-30 21:47:45 -06:00
tailssh_test.go types/result, util/lineiter: add package for a result type, use it 2024-11-05 10:27:52 -08:00
tailssh.go ssh: Add logic to set accepted environment variables in SSH session (#13559) 2024-09-30 21:47:45 -06:00
user.go types/result, util/lineiter: add package for a result type, use it 2024-11-05 10:27:52 -08:00