David Crawshaw
33dfb8999e
controlclient, ipn: update tests for key pointer change
...
Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
2020-02-11 04:55:07 -05:00
David Anderson
2f9cdd0aac
wgengine: fix error string.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-11 00:01:58 -08:00
David Anderson
43becc4334
wgengine/packet: fix minor lint errors.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-11 00:01:14 -08:00
David Anderson
8a339a6819
stunner: correct minor lint errors.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-11 00:00:07 -08:00
David Anderson
9ac1dda0d9
portlist: add a lint ignore for unused function.
...
The function is indeed unused on linux, but we want it around
so that unit tests exercise the netstat logic even on linux,
even if it's only used on !linux.
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-10 23:50:06 -08:00
David Anderson
520e96afd1
portlist: simplify slice expression.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-10 23:40:56 -08:00
David Anderson
be6bcd59cd
logtail: don't pass in nil contexts.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-10 23:36:17 -08:00
David Anderson
250dfc9016
logtail: remove unused struct fields.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-10 23:34:03 -08:00
David Anderson
80ecb8342f
logtail/filch: use io's seek constants.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-10 23:32:14 -08:00
David Anderson
c3f9f74247
ipn: fix lint complaints in tests.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-10 23:28:44 -08:00
David Anderson
1cd278aa0b
control/policy: make error strings staticcheck-compliant.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-10 23:23:57 -08:00
David Anderson
542f46ed4d
controlclient: remove unused function.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-10 23:21:08 -08:00
David Anderson
2227ede8af
controlclient: fix staticcheck lint.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-10 23:16:13 -08:00
David Anderson
fe9af19da9
controlclient: remove unnecessary comparison to bool.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-10 23:14:38 -08:00
David Anderson
14af0c4eb3
taillogin: check err in controlclient.New.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-10 23:13:28 -08:00
David Anderson
452b81d56b
Add a code of conduct.
...
It's verbatim from https://www.contributor-covenant.org/ , except for
adding in the contact info for reports.
Fixes #20 .
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-10 22:16:30 -08:00
David Anderson
a07906d1d8
wgengine: make SetRoutesFunc less appealing to use.
...
It exists as a way to glue the mac-specific xcode logic with the OSS
logic, and shouldn't be used by anything but the xcode glue.
2020-02-10 21:40:00 -08:00
Jimmy Zelinskie
41d94cdcaa
init dockerfile
...
Signed-off-by: Jimmy Zelinskie <jimmy.zelinskie+git@gmail.com>
2020-02-10 21:22:38 -08:00
wardn
aef438dfa7
.gitignore: ignore compiled binaries in the cmd folders
...
Signed-off-by: wardn <wardn@users.noreply.github.com>
2020-02-10 21:21:03 -08:00
David Anderson
3dd4471036
Add a build+test github action, as a quick and cheerful CI.
...
Signed-Off-By: David Anderson <dave@natulte.net>
2020-02-10 21:15:47 -08:00
David Crawshaw
87334fb332
wgengine, controlclient: fewer pointers in wgcfg key types
...
Signed-off-by: David Crawshaw <david@zentus.com>
2020-02-10 22:09:59 -05:00
Brad Fitzpatrick
fef2548981
README: https, links, mention Go version, DCO
2020-02-10 14:01:37 -08:00
Brad Fitzpatrick
516a15ee58
cmd: add import comments
...
See https://golang.org/cmd/go/#hdr-Import_path_checking
2020-02-10 13:32:37 -08:00
David Crawshaw
d539a950ca
README.md: add content
2020-02-10 14:56:04 -05:00
Brad Fitzpatrick
1f1dc3ad14
version: fix path for git describe of version for redo
2020-02-10 09:19:57 -08:00
Brad Fitzpatrick
a1fbf25f77
version: add stub; use rsc.io/goversion/version later
2020-02-10 09:00:30 -08:00
Earl Lee
a8d8b8719a
Move Linux client & common packages into a public repo.
2020-02-09 09:32:57 -08:00
Earl Lee
c955043dfe
Initial commit
2020-01-31 22:04:10 -08:00