MCPcopy
hub / github.com/tailscale/tailscale / availableFeatures

Function availableFeatures

client/web/web.go:993–1002  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

991}
992
993func availableFeatures() map[string]bool {
994 features := map[string]bool{
995 "advertise-exit-node": true, // available on all platforms
996 "advertise-routes": true, // available on all platforms
997 "use-exit-node": featureknob.CanUseExitNode() == nil,
998 "ssh": featureknob.CanRunTailscaleSSH() == nil,
999 "auto-update": version.IsUnstableBuild() && feature.CanAutoUpdate(),
1000 }
1001 return features
1002}
1003
1004// aclsAllowAccess returns whether tailnet ACLs (as expressed in the provided filter rules)
1005// permit any devices to access the local web client.

Callers 1

serveGetNodeDataMethod · 0.85

Calls 4

CanUseExitNodeFunction · 0.92
CanRunTailscaleSSHFunction · 0.92
IsUnstableBuildFunction · 0.92
CanAutoUpdateFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…