teleport/lib/utils
Andrew Lytvynov 7ccdd87496 Enable more Go linters: varcheck,bodyclose,structcheck
All changes should be noop, except for
`integration/integration_test.go`.

The integration test was ignoring `recordingMode` test case parameter
and always used `RecordAtNode`. When switching to `recordingMode`, test
cases with `RecordAtProxy` fail with a confusing error about missing
user agent. Filed https://github.com/gravitational/teleport/issues/3606
to track that separately and unblock enabling `structcheck` linter.
2020-04-24 15:52:43 +00:00
..
agentconn Added tsh for Windows. 2018-08-03 11:06:08 -07:00
parse Adds support for kubernetes_users, extend interpolation (#3404) (#3418) 2020-03-07 16:32:37 -08:00
proxy Enable more Go linters: varcheck,bodyclose,structcheck 2020-04-24 15:52:43 +00:00
socks Fix a bug in socks5 when rendering remote address 2019-11-05 12:02:34 -08:00
workpool cache event fanout & reversetunnel improvements 2020-04-23 14:03:52 -07:00
addr.go Remote tctl execution. (#2991) 2019-09-24 14:01:30 -07:00
addr_test.go Remote tctl execution. (#2991) 2019-09-24 14:01:30 -07:00
anonymizer.go Fix comment 2018-01-09 12:26:48 -08:00
anonymizer_test.go Add anonymizer 2018-01-09 10:30:19 -08:00
broadcaster.go add resize sync and detection on tsh on both sides, fixes #235 2016-03-15 17:16:58 -07:00
buf.go Fix a data race in utils.SyncBuffer 2020-04-17 20:05:38 +00:00
cap.go Better error message for IdP initated logins. 2019-08-06 16:40:29 -07:00
certs.go Always validate certificate (or key) algorithm. 2019-03-19 17:47:53 -07:00
certs_test.go Always validate certificate (or key) algorithm. 2019-03-19 17:47:53 -07:00
checker.go Only check certificate algorithms in FIPS mode. 2019-07-26 13:25:18 -07:00
checker_test.go Only check certificate algorithms in FIPS mode. 2019-07-26 13:25:18 -07:00
cli.go Improve help text and error messages for tctl rm, fixes #2594 (#2724) 2019-05-28 19:18:28 -03:00
cli_test.go Fix scp client vulnerabilities. 2019-02-11 14:57:57 -08:00
conn.go Emit data transfer events. 2019-03-08 19:22:20 +00:00
conv.go Log events to multiple destinations 2018-07-16 18:34:13 -07:00
copy.go Kubernetes SNI proxy improvements, implements #2614 2019-03-21 14:05:33 -07:00
disk.go Build fixes to support Windows. 2019-05-07 14:17:11 -07:00
disk_windows.go Build fixes to support Windows. 2019-05-07 14:17:11 -07:00
environment.go Migrate to golang/dep for dependency management 2017-08-22 15:30:30 -07:00
environment_test.go Added support for allowing the reading of a users environment when 2017-05-26 17:06:49 -07:00
equals.go Code review comments on RoleV3. 2017-07-18 11:20:49 -07:00
fakeconn.go Connect to tunnel nodes through recording proxy. 2019-06-12 16:26:06 -07:00
fs.go Added tsh for Windows. 2018-08-03 11:06:08 -07:00
fs_unix.go Added tsh for Windows. 2018-08-03 11:06:08 -07:00
fs_windows.go Added tsh for Windows. 2018-08-03 11:06:08 -07:00
jsontools.go Enable linters: deadcode,goimports,govet,typecheck 2020-04-17 17:46:51 +00:00
kernel.go Fix kernel verson lookup for RHEL/CentOS 8. 2020-01-20 14:04:36 -08:00
kernel_test.go Fix kernel verson lookup for RHEL/CentOS 8. 2020-01-20 14:04:36 -08:00
linking.go Use pagination when pulling back list of teams from GitHub. 2018-03-21 23:58:31 +00:00
linking_test.go Use pagination when pulling back list of teams from GitHub. 2018-03-21 23:58:31 +00:00
listener.go Teleport signal handling and live reload. 2018-02-13 15:18:47 -08:00
loadbalancer.go cache event fanout & reversetunnel improvements 2020-04-23 14:03:52 -07:00
loadbalancer_test.go Clean up dead code across the codebase 2020-04-09 21:10:12 +00:00
node.go continue work on roles 2016-12-08 18:43:37 -08:00
otp.go Moved Check* methods into auth package. 2017-01-17 14:17:03 -08:00
proxyjump.go Add support for ProxyJump. 2019-07-26 10:58:11 -07:00
proxyjump_test.go Add support for ProxyJump. 2019-07-26 10:58:11 -07:00
rand.go add resize sync and detection on tsh on both sides, fixes #235 2016-03-15 17:16:58 -07:00
replace.go Refactor regexp node labels. 2018-10-15 11:59:17 -07:00
retry.go cache event fanout & reversetunnel improvements 2020-04-23 14:03:52 -07:00
roles_test.go Mutual TLS Auth server and clients. 2017-12-27 11:37:19 -08:00
round.go Build fixes to support legacy builds. 2019-05-07 14:17:11 -07:00
schema.go continue work on roles 2016-12-08 18:43:37 -08:00
spki.go Improved error when CA pin does not match. 2019-03-12 17:57:19 +00:00
srv.go continue work on roles 2016-12-08 18:43:37 -08:00
storage.go Migrate to golang/dep for dependency management 2017-08-22 15:30:30 -07:00
syslog.go Do not override syslog target, fixes #2550 (#2551) 2019-02-09 21:39:40 -08:00
time.go Removed namespaces and expires from user interface. 2017-08-30 18:11:13 +00:00
timeout.go Semi-serious connection overhaul of Teleport SSH 2016-12-30 01:21:28 -08:00
timeout_test.go Enable more Go linters: varcheck,bodyclose,structcheck 2020-04-24 15:52:43 +00:00
tls.go Update default ciphersuites. 2019-10-24 15:15:55 -07:00
tlsdial.go Add framework for trusted cluster K8s access 2018-06-22 12:56:58 -07:00
token.go Read join tokens from file, fixes #2515. (#2864) 2019-07-17 12:51:18 -07:00
uid.go [Forward-port] Add unique ids to all audit events. (#2606) 2019-03-18 15:08:43 -07:00
unpack.go Validate incoming events against x509 identity. 2019-09-03 13:44:20 -07:00
unpack_test.go Sanitize tar paths before extraction. 2019-09-03 13:44:20 -07:00
uri.go Added S3 third party support (#3054) 2020-01-02 17:56:53 -08:00
utils.go Adds support for kubernetes_users, extend interpolation (#3404) (#3418) 2020-03-07 16:32:37 -08:00
utils_test.go Adds support for kubernetes_users, extend interpolation (#3404) (#3418) 2020-03-07 16:32:37 -08:00
ver.go Advertise a minimum version for clients. 2018-11-16 16:34:19 -08:00
websocketwriter.go Correct various typos 2017-10-20 10:20:26 +02:00
writer.go Initial implementation of Kubernetes support 2018-06-03 12:55:13 -07:00