tailscale/control/controlclient
Brad Fitzpatrick fb96137d79 net/{netx,memnet},all: add netx.DialFunc, move memnet Network impl
This adds netx.DialFunc, unifying a type we have a bazillion other
places, giving it now a nice short name that's clickable in
editors, etc.

That highlighted that my earlier move (03b47a55c7) of stuff from
nettest into netx moved too much: it also dragged along the memnet
impl, meaning all users of netx.DialFunc who just wanted netx for the
type definition were instead also pulling in all of memnet.

So move the memnet implementation netx.Network into memnet, a package
we already had.

Then use netx.DialFunc in a bunch of places. I'm sure I missed some.
And plenty remain in other repos, to be updated later.

Updates tailscale/corp#27636

Change-Id: I7296cd4591218e8624e214f8c70dab05fb884e95
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2025-04-08 10:07:47 -07:00
..
auto.go control/controlclient, ipn: add client audit logging (#14950) 2025-03-12 10:37:03 -04:00
client.go control/controlclient: delete unused Client.Login Oauth2Token field 2024-05-17 19:51:18 -07:00
controlclient_test.go control/controlclient, ipn: add client audit logging (#14950) 2025-03-12 10:37:03 -04:00
direct_test.go tka: test SigCredential signatures and netmap filtering 2024-06-27 19:28:57 +01:00
direct.go net/{netx,memnet},all: add netx.DialFunc, move memnet Network impl 2025-04-08 10:07:47 -07:00
errors.go control/controlclient, ipn: add client audit logging (#14950) 2025-03-12 10:37:03 -04:00
map_test.go tailcfg,control/controlclient: treat nil AllowedIPs as Addresses [capver 112] 2025-01-15 07:28:25 -08:00
map.go all: use network less when running in v86 emulator 2025-04-02 07:36:04 -07:00
noise_test.go nettest, *: add option to run HTTP tests with in-memory network 2025-04-07 11:11:45 -07:00
noise.go controlclient: do not set HTTPS port for any private coordination server IP (#14564) 2025-01-07 10:24:32 -08:00
sign_supported_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
sign_supported.go control/controlclient: use the most recent syspolicy.MachineCertificateSubject value 2024-11-22 14:50:32 -06:00
sign_unsupported.go control/controlclient: support certstore without cgo 2023-10-20 15:17:32 -04:00
sign.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
status.go all: implement AppendText alongside MarshalText (#9207) 2023-09-01 18:15:19 -07:00