You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nick Khyl
f28c8d0ec0
ipn/ipn{ext,local}: allow extension lookup by name or type
...
In this PR, we add two methods to facilitate extension lookup by both extensions,
and non-extensions (e.g., PeerAPI or LocalAPI handlers):
- FindExtensionByName returns an extension with the specified name.
It can then be type asserted to a given type.
- FindMatchingExtension is like errors.As, but for extensions.
It returns the first extension that matches the target type (either a specific extension
or an interface).
Updates tailscale/corp#27645
Updates tailscale/corp#27502
Signed-off-by: Nick Khyl <nickk@tailscale.com>
1 year ago
..
auditlog
cmd/tailscaled,ipn/{auditlog,desktop,ipnext,ipnlocal},tsd: extract LocalBackend extension interfaces and implementation
1 year ago
conffile
ipn/conffile: don't depend on hujson on iOS/Android
2 years ago
desktop
cmd/tailscaled,ipn/{auditlog,desktop,ipnext,ipnlocal},tsd: extract LocalBackend extension interfaces and implementation
1 year ago
ipnauth
control/controlclient, ipn: add client audit logging ( #14950 )
1 year ago
ipnext
ipn/ipn{ext,local}: allow extension lookup by name or type
1 year ago
ipnlocal
ipn/ipn{ext,local}: allow extension lookup by name or type
1 year ago
ipnserver
ipn/ipnserver: treat all plan9 safesocket connections as permitted
1 year ago
ipnstate
Revert "ipn/ipnstate: add home DERP to tailscale status JSON"
1 year ago
localapi
ipn/{ipnserver,localapi},tsnet: use ipnauth.Self as the actor in tsnet localapi handlers
1 year ago
policy
ipn,tailconfig: clean up unreleased and removed app connector service
2 years ago
store
ipn/store/kubestore: skip cache for the write replica in cert share mode ( #15417 )
1 year ago
backend.go
ipn: declare NotifyWatchOpt consts without using iota
1 year ago
conf.go
ipn: ensure that conffile is source of truth for advertised services. ( #15361 )
1 year ago
doc.go
ipn: generate LoginProfileView and use it instead of *LoginProfile where appropriate
1 year ago
ipn_clone.go
cmd/tailscale,ipn: add relay-server-port "tailscale set" flag and Prefs field ( #15594 )
1 year ago
ipn_test.go
all: do not depend on the testing package
2 years ago
ipn_view.go
cmd/tailscale,ipn: add relay-server-port "tailscale set" flag and Prefs field ( #15594 )
1 year ago
prefs.go
ipn, ipn/ipnlocal: reduce coupling between LocalBackend/profileManager and the Windows-specific "current user" model
1 year ago
prefs_test.go
cmd/tailscale,ipn: add relay-server-port "tailscale set" flag and Prefs field ( #15594 )
1 year ago
serve.go
tailcfg: add ServiceName
1 year ago
serve_test.go
ipn: [serve] warn that foreground funnel won't work if shields are up ( #14685 )
1 year ago
store.go
ipn: add comment about thread-safety to StateStore
2 years ago
store_test.go
ipn: avoid useless no-op WriteState calls
3 years ago