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/control/controlclient
Brad Fitzpatrick ddfcc4326c types/persist: split controlclient.Persist into a small leaf package
This one alone doesn't modify the global dependency map much
(depaware.txt if anything looks slightly worse), but it leave
controlclient as only containing NetworkMap:

bradfitz@tsdev:~/src/tailscale.com/ipn$ grep -F "controlclient." *.go
backend.go:     NetMap        *controlclient.NetworkMap // new netmap received
fake_test.go:   b.notify(Notify{NetMap: &controlclient.NetworkMap{}})
fake_test.go:   b.notify(Notify{NetMap: &controlclient.NetworkMap{}})
handle.go:      netmapCache       *controlclient.NetworkMap
handle.go:func (h *Handle) NetMap() *controlclient.NetworkMap {

Once that goes into a leaf package, then ipn doesn't depend on
controlclient at all, and then the client gets smaller.

Updates #1278
4 years ago
..
auto.go types/persist: split controlclient.Persist into a small leaf package 4 years ago
controlclient_test.go cover one more case in TestStatusEqual. 4 years ago
direct.go types/persist: split controlclient.Persist into a small leaf package 4 years ago
direct_test.go Add more tests for Direct. 4 years ago
filter.go wgengine/filter: remove the Matches type. 4 years ago
hostinfo_linux.go control/controlclient, version/distro: detect NixOS explicitly 4 years ago
hostinfo_windows.go control/controlclient: deal with localized 'Version' string getting Windows version 4 years ago
netmap.go wgengine/wgcfg/nmcfg: split control/controlclient/netmap.go into own package 4 years ago
netmap_test.go all: replace wgcfg.IP and wgcfg.CIDR with netaddr types 4 years ago