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