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
Nick Khyl fc28c8e7f3 cmd/cloner, cmd/viewer, util/codegen: add support for generic types and interfaces
This adds support for generic types and interfaces to our cloner and viewer codegens.
It updates these packages to determine whether to make shallow or deep copies based
on the type parameter constraints. Additionally, if a template parameter or an interface
type has View() and Clone() methods, we'll use them for getters and the cloner of the
owning structure.

Updates #12736

Signed-off-by: Nick Khyl <nickk@tailscale.com>
1 year ago
..
conffile cmd/tailscaled, ipn/conffile: support ec2 user-data config file 2 years ago
ipnauth go.mod, all: move away from inet.af domain seized by Taliban 2 years ago
ipnlocal posture: add network hardware addresses to posture identity 1 year ago
ipnserver all: add test for package comments, fix, add comments as needed 1 year ago
ipnstate cmd/tailscale/cli: print node signature in `tailscale lock status` 2 years ago
localapi proxymap, various: distinguish between different protocols 2 years ago
policy ipn,tailconfig: clean up unreleased and removed app connector service 2 years ago
store all: add test for package comments, fix, add comments as needed 1 year ago
backend.go health: begin work to use structured health warnings instead of strings, pipe changes into ipn.Notify (#12406) 2 years ago
conf.go cmd/k8s-operator,cmd/containerboot,ipn,k8s-operator: turn off stateful filter for egress proxies. (#12075) 2 years ago
doc.go all: update copyright and license headers 3 years ago
ipn_clone.go cmd/cloner, cmd/viewer, util/codegen: add support for generic types and interfaces 1 year ago
ipn_test.go all: do not depend on the testing package 2 years ago
ipn_view.go ipn,wgengine: remove vestigial Prefs.AllowSingleHosts 2 years ago
prefs.go various: disable stateful filtering by default (#12197) 2 years ago
prefs_test.go ipn,wgengine: remove vestigial Prefs.AllowSingleHosts 2 years ago
serve.go cmd/serve: don't convert localhost to 127.0.0.1 2 years ago
serve_test.go cmd/serve: don't convert localhost to 127.0.0.1 2 years ago
store.go ipn: add comment about thread-safety to StateStore 2 years ago
store_test.go ipn: avoid useless no-op WriteState calls 2 years ago