You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
2 weeks ago
..
testcontainers ssh/tailssh: only chdir incubator process to user's homedir when necessary and possible 3 months ago
accept_env.go ssh: Add logic to set accepted environment variables in SSH session (#13559) 2 months ago
accept_env_test.go ssh: Add logic to set accepted environment variables in SSH session (#13559) 2 months ago
incubator.go ssh/tailssh: calculate passthrough environment at latest possible stage 1 month ago
incubator_linux.go ssh/tailssh: fall back to using su when no TTY available on Linux 6 months ago
privs_test.go ssh/tailssh: only chdir incubator process to user's homedir when necessary and possible 3 months ago
tailssh.go ssh: Add logic to set accepted environment variables in SSH session (#13559) 2 months ago
tailssh_integration_test.go ssh: Add logic to set accepted environment variables in SSH session (#13559) 2 months ago
tailssh_test.go types/result, util/lineiter: add package for a result type, use it 2 weeks ago
user.go types/result, util/lineiter: add package for a result type, use it 2 weeks ago