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/ipn
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
3 years ago
..
ipnlocal types/persist: split controlclient.Persist into a small leaf package 3 years ago
ipnserver ipn: split LocalBackend off into new ipn/ipnlocal package 3 years ago
ipnstate cmd/tailscale/cli: display currently active exit node in `tailscale status`. 3 years ago
policy ipn, ipn/policy: filter portlist to a short list of "interesting" ports 4 years ago
backend.go ipn: split LocalBackend off into new ipn/ipnlocal package 3 years ago
doc.go Move Linux client & common packages into a public repo. 4 years ago
fake_test.go cmd/tailscale/cli: add basic 'down' subcommand 4 years ago
handle.go all: replace wgcfg.IP and wgcfg.CIDR with netaddr types 3 years ago
message.go cmd/tailscale/cli: recommend sudo for 'tailscale up' on failure 3 years ago
message_test.go tstest: simplify goroutine leak tests 3 years ago
prefs.go types/persist: split controlclient.Persist into a small leaf package 3 years ago
prefs_clone.go types/persist: split controlclient.Persist into a small leaf package 3 years ago
prefs_test.go types/persist: split controlclient.Persist into a small leaf package 3 years ago
store.go wgkey: new package 3 years ago
store_test.go Add tstest.PanicOnLog(), and fix various problems detected by this. 4 years ago