Documentation
¶
Overview ¶
The buildfeatures package contains boolean constants indicating which features were included in the binary (via build tags), for use in dead code elimination when using separate build tag protected files is impractical or undesirable.
Index ¶
Constants ¶
const HasACE = true
HasACE is whether the binary was built with support for modular feature "Alternate Connectivity Endpoints". Specifically, it's whether the binary was NOT built with the "ts_omit_ace" build tag. It's a const so it can be used for dead code elimination.
const HasACME = true
HasACME is whether the binary was built with support for modular feature "ACME TLS certificate management". Specifically, it's whether the binary was NOT built with the "ts_omit_acme" build tag. It's a const so it can be used for dead code elimination.
const HasAWS = true
HasAWS is whether the binary was built with support for modular feature "AWS integration". Specifically, it's whether the binary was NOT built with the "ts_omit_aws" build tag. It's a const so it can be used for dead code elimination.
const HasAdvertiseExitNode = true
HasAdvertiseExitNode is whether the binary was built with support for modular feature "Run an exit node". Specifically, it's whether the binary was NOT built with the "ts_omit_advertiseexitnode" build tag. It's a const so it can be used for dead code elimination.
const HasAdvertiseRoutes = true
HasAdvertiseRoutes is whether the binary was built with support for modular feature "Advertise routes for other nodes to use". Specifically, it's whether the binary was NOT built with the "ts_omit_advertiseroutes" build tag. It's a const so it can be used for dead code elimination.
const HasAppConnectors = true
HasAppConnectors is whether the binary was built with support for modular feature "App Connectors support". Specifically, it's whether the binary was NOT built with the "ts_omit_appconnectors" build tag. It's a const so it can be used for dead code elimination.
const HasBakedRoots = true
HasBakedRoots is whether the binary was built with support for modular feature "Embed CA (LetsEncrypt) x509 roots to use as fallback". Specifically, it's whether the binary was NOT built with the "ts_omit_bakedroots" build tag. It's a const so it can be used for dead code elimination.
const HasBird = true
HasBird is whether the binary was built with support for modular feature "Bird BGP integration". Specifically, it's whether the binary was NOT built with the "ts_omit_bird" build tag. It's a const so it can be used for dead code elimination.
const HasC2N = true
HasC2N is whether the binary was built with support for modular feature "Control-to-node (C2N) support". Specifically, it's whether the binary was NOT built with the "ts_omit_c2n" build tag. It's a const so it can be used for dead code elimination.
const HasCLIConnDiag = true
HasCLIConnDiag is whether the binary was built with support for modular feature "CLI connection error diagnostics". Specifically, it's whether the binary was NOT built with the "ts_omit_cliconndiag" build tag. It's a const so it can be used for dead code elimination.
const HasCacheNetMap = true
HasCacheNetMap is whether the binary was built with support for modular feature "Cache the netmap on disk between runs". Specifically, it's whether the binary was NOT built with the "ts_omit_cachenetmap" build tag. It's a const so it can be used for dead code elimination.
const HasCaptivePortal = true
HasCaptivePortal is whether the binary was built with support for modular feature "Captive portal detection". Specifically, it's whether the binary was NOT built with the "ts_omit_captiveportal" build tag. It's a const so it can be used for dead code elimination.
const HasCapture = true
HasCapture is whether the binary was built with support for modular feature "Packet capture". Specifically, it's whether the binary was NOT built with the "ts_omit_capture" build tag. It's a const so it can be used for dead code elimination.
const HasClientMetrics = true
HasClientMetrics is whether the binary was built with support for modular feature "Client metrics support". Specifically, it's whether the binary was NOT built with the "ts_omit_clientmetrics" build tag. It's a const so it can be used for dead code elimination.
const HasClientUpdate = true
HasClientUpdate is whether the binary was built with support for modular feature "Client auto-update support". Specifically, it's whether the binary was NOT built with the "ts_omit_clientupdate" build tag. It's a const so it can be used for dead code elimination.
const HasCloud = true
HasCloud is whether the binary was built with support for modular feature "detect cloud environment to learn instances IPs and DNS servers". Specifically, it's whether the binary was NOT built with the "ts_omit_cloud" build tag. It's a const so it can be used for dead code elimination.
const HasCompletion = true
HasCompletion is whether the binary was built with support for modular feature "CLI shell completion". Specifically, it's whether the binary was NOT built with the "ts_omit_completion" build tag. It's a const so it can be used for dead code elimination.
const HasDBus = true
HasDBus is whether the binary was built with support for modular feature "Linux DBus support". Specifically, it's whether the binary was NOT built with the "ts_omit_dbus" build tag. It's a const so it can be used for dead code elimination.
const HasDNS = true
HasDNS is whether the binary was built with support for modular feature "MagicDNS and system DNS configuration support". Specifically, it's whether the binary was NOT built with the "ts_omit_dns" build tag. It's a const so it can be used for dead code elimination.
const HasDebug = true
HasDebug is whether the binary was built with support for modular feature "various debug support, for things that don't have or need their own more specific feature". Specifically, it's whether the binary was NOT built with the "ts_omit_debug" build tag. It's a const so it can be used for dead code elimination.
const HasDebugEventBus = true
HasDebugEventBus is whether the binary was built with support for modular feature "eventbus debug support". Specifically, it's whether the binary was NOT built with the "ts_omit_debugeventbus" build tag. It's a const so it can be used for dead code elimination.
const HasDebugPortMapper = true
HasDebugPortMapper is whether the binary was built with support for modular feature "portmapper debug support". Specifically, it's whether the binary was NOT built with the "ts_omit_debugportmapper" build tag. It's a const so it can be used for dead code elimination.
const HasDesktopSessions = true
HasDesktopSessions is whether the binary was built with support for modular feature "Desktop sessions support". Specifically, it's whether the binary was NOT built with the "ts_omit_desktop_sessions" build tag. It's a const so it can be used for dead code elimination.
const HasDoctor = true
HasDoctor is whether the binary was built with support for modular feature "Diagnose possible issues with Tailscale and its host environment". Specifically, it's whether the binary was NOT built with the "ts_omit_doctor" build tag. It's a const so it can be used for dead code elimination.
const HasDrive = true
HasDrive is whether the binary was built with support for modular feature "Tailscale Drive (file server) support". Specifically, it's whether the binary was NOT built with the "ts_omit_drive" build tag. It's a const so it can be used for dead code elimination.
const HasGRO = true
HasGRO is whether the binary was built with support for modular feature "Generic Receive Offload support (performance)". Specifically, it's whether the binary was NOT built with the "ts_omit_gro" build tag. It's a const so it can be used for dead code elimination.
const HasHealth = true
HasHealth is whether the binary was built with support for modular feature "Health checking support". Specifically, it's whether the binary was NOT built with the "ts_omit_health" build tag. It's a const so it can be used for dead code elimination.
const HasHuJSONConf = true
HasHuJSONConf is whether the binary was built with support for modular feature "HuJSON config file support". Specifically, it's whether the binary was NOT built with the "ts_omit_hujsonconf" build tag. It's a const so it can be used for dead code elimination.
const HasIPTables = true
HasIPTables is whether the binary was built with support for modular feature "Linux iptables support". Specifically, it's whether the binary was NOT built with the "ts_omit_iptables" build tag. It's a const so it can be used for dead code elimination.
const HasIdentityFederation = true
HasIdentityFederation is whether the binary was built with support for modular feature "Auth key generation via identity federation support". Specifically, it's whether the binary was NOT built with the "ts_omit_identityfederation" build tag. It's a const so it can be used for dead code elimination.
const HasKube = true
HasKube is whether the binary was built with support for modular feature "Kubernetes integration". Specifically, it's whether the binary was NOT built with the "ts_omit_kube" build tag. It's a const so it can be used for dead code elimination.
const HasLazyWG = true
HasLazyWG is whether the binary was built with support for modular feature "Lazy WireGuard configuration for memory-constrained devices with large netmaps". Specifically, it's whether the binary was NOT built with the "ts_omit_lazywg" build tag. It's a const so it can be used for dead code elimination.
const HasLinkSpeed = true
HasLinkSpeed is whether the binary was built with support for modular feature "Set link speed on TUN device for better OS integration (Linux only)". Specifically, it's whether the binary was NOT built with the "ts_omit_linkspeed" build tag. It's a const so it can be used for dead code elimination.
const HasLinuxDNSFight = true
HasLinuxDNSFight is whether the binary was built with support for modular feature "Linux support for detecting DNS fights (inotify watching of /etc/resolv.conf)". Specifically, it's whether the binary was NOT built with the "ts_omit_linuxdnsfight" build tag. It's a const so it can be used for dead code elimination.
const HasListenRawDisco = true
HasListenRawDisco is whether the binary was built with support for modular feature "Use raw sockets for more robust disco (NAT traversal) message receiving (Linux only)". Specifically, it's whether the binary was NOT built with the "ts_omit_listenrawdisco" build tag. It's a const so it can be used for dead code elimination.
const HasLogTail = true
HasLogTail is whether the binary was built with support for modular feature "upload logs to log.tailscale.com (debug logs for bug reports and also by network flow logs if enabled)". Specifically, it's whether the binary was NOT built with the "ts_omit_logtail" build tag. It's a const so it can be used for dead code elimination.
const HasNetLog = true
HasNetLog is whether the binary was built with support for modular feature "Network flow logging support". Specifically, it's whether the binary was NOT built with the "ts_omit_netlog" build tag. It's a const so it can be used for dead code elimination.
const HasNetstack = true
HasNetstack is whether the binary was built with support for modular feature "gVisor netstack (userspace networking) support". Specifically, it's whether the binary was NOT built with the "ts_omit_netstack" build tag. It's a const so it can be used for dead code elimination.
const HasNetworkManager = true
HasNetworkManager is whether the binary was built with support for modular feature "Linux NetworkManager integration". Specifically, it's whether the binary was NOT built with the "ts_omit_networkmanager" build tag. It's a const so it can be used for dead code elimination.
const HasOAuthKey = true
HasOAuthKey is whether the binary was built with support for modular feature "OAuth secret-to-authkey resolution support". Specifically, it's whether the binary was NOT built with the "ts_omit_oauthkey" build tag. It's a const so it can be used for dead code elimination.
const HasOSRouter = true
HasOSRouter is whether the binary was built with support for modular feature "Configure the operating system's network stack, IPs, and routing tables". Specifically, it's whether the binary was NOT built with the "ts_omit_osrouter" build tag. It's a const so it can be used for dead code elimination.
const HasOutboundProxy = true
HasOutboundProxy is whether the binary was built with support for modular feature "Support running an outbound localhost HTTP/SOCK5 proxy support that sends traffic over Tailscale". Specifically, it's whether the binary was NOT built with the "ts_omit_outboundproxy" build tag. It's a const so it can be used for dead code elimination.
const HasPeerAPIClient = true
HasPeerAPIClient is whether the binary was built with support for modular feature "PeerAPI client support". Specifically, it's whether the binary was NOT built with the "ts_omit_peerapiclient" build tag. It's a const so it can be used for dead code elimination.
const HasPeerAPIServer = true
HasPeerAPIServer is whether the binary was built with support for modular feature "PeerAPI server support". Specifically, it's whether the binary was NOT built with the "ts_omit_peerapiserver" build tag. It's a const so it can be used for dead code elimination.
const HasPortList = true
HasPortList is whether the binary was built with support for modular feature "Optionally advertise listening service ports". Specifically, it's whether the binary was NOT built with the "ts_omit_portlist" build tag. It's a const so it can be used for dead code elimination.
const HasPortMapper = true
HasPortMapper is whether the binary was built with support for modular feature "NAT-PMP/PCP/UPnP port mapping support". Specifically, it's whether the binary was NOT built with the "ts_omit_portmapper" build tag. It's a const so it can be used for dead code elimination.
const HasPosture = true
HasPosture is whether the binary was built with support for modular feature "Device posture checking support". Specifically, it's whether the binary was NOT built with the "ts_omit_posture" build tag. It's a const so it can be used for dead code elimination.
const HasRelayServer = true
HasRelayServer is whether the binary was built with support for modular feature "Relay server". Specifically, it's whether the binary was NOT built with the "ts_omit_relayserver" build tag. It's a const so it can be used for dead code elimination.
const HasResolved = true
HasResolved is whether the binary was built with support for modular feature "Linux systemd-resolved integration". Specifically, it's whether the binary was NOT built with the "ts_omit_resolved" build tag. It's a const so it can be used for dead code elimination.
const HasSDNotify = true
HasSDNotify is whether the binary was built with support for modular feature "systemd notification support". Specifically, it's whether the binary was NOT built with the "ts_omit_sdnotify" build tag. It's a const so it can be used for dead code elimination.
const HasSSH = true
HasSSH is whether the binary was built with support for modular feature "Tailscale SSH support". Specifically, it's whether the binary was NOT built with the "ts_omit_ssh" build tag. It's a const so it can be used for dead code elimination.
const HasServe = true
HasServe is whether the binary was built with support for modular feature "Serve and Funnel support". Specifically, it's whether the binary was NOT built with the "ts_omit_serve" build tag. It's a const so it can be used for dead code elimination.
const HasSynology = true
HasSynology is whether the binary was built with support for modular feature "Synology NAS integration (applies to Linux builds only)". Specifically, it's whether the binary was NOT built with the "ts_omit_synology" build tag. It's a const so it can be used for dead code elimination.
const HasSysTray = true
HasSysTray is whether the binary was built with support for modular feature "Linux system tray". Specifically, it's whether the binary was NOT built with the "ts_omit_systray" build tag. It's a const so it can be used for dead code elimination.
const HasSystemPolicy = true
HasSystemPolicy is whether the binary was built with support for modular feature "System policy configuration (MDM) support". Specifically, it's whether the binary was NOT built with the "ts_omit_syspolicy" build tag. It's a const so it can be used for dead code elimination.
const HasTPM = true
HasTPM is whether the binary was built with support for modular feature "TPM support". Specifically, it's whether the binary was NOT built with the "ts_omit_tpm" build tag. It's a const so it can be used for dead code elimination.
const HasTaildrop = true
HasTaildrop is whether the binary was built with support for modular feature "Taildrop (file sending) support". Specifically, it's whether the binary was NOT built with the "ts_omit_taildrop" build tag. It's a const so it can be used for dead code elimination.
const HasTailnetLock = true
HasTailnetLock is whether the binary was built with support for modular feature "Tailnet Lock support". Specifically, it's whether the binary was NOT built with the "ts_omit_tailnetlock" build tag. It's a const so it can be used for dead code elimination.
const HasTap = true
HasTap is whether the binary was built with support for modular feature "Experimental Layer 2 (ethernet) support". Specifically, it's whether the binary was NOT built with the "ts_omit_tap" build tag. It's a const so it can be used for dead code elimination.
const HasUnixSocketIdentity = true
HasUnixSocketIdentity is whether the binary was built with support for modular feature "differentiate between users accessing the LocalAPI over unix sockets (if omitted, all users have full access)". Specifically, it's whether the binary was NOT built with the "ts_omit_unixsocketidentity" build tag. It's a const so it can be used for dead code elimination.
const HasUseExitNode = true
HasUseExitNode is whether the binary was built with support for modular feature "Use exit nodes". Specifically, it's whether the binary was NOT built with the "ts_omit_useexitnode" build tag. It's a const so it can be used for dead code elimination.
const HasUseProxy = true
HasUseProxy is whether the binary was built with support for modular feature "Support using system proxies as specified by env vars or the system configuration to reach Tailscale servers.". Specifically, it's whether the binary was NOT built with the "ts_omit_useproxy" build tag. It's a const so it can be used for dead code elimination.
const HasUseRoutes = true
HasUseRoutes is whether the binary was built with support for modular feature "Use routes advertised by other nodes". Specifically, it's whether the binary was NOT built with the "ts_omit_useroutes" build tag. It's a const so it can be used for dead code elimination.
const HasUserMetrics = true
HasUserMetrics is whether the binary was built with support for modular feature "Usermetrics (documented, stable) metrics support". Specifically, it's whether the binary was NOT built with the "ts_omit_usermetrics" build tag. It's a const so it can be used for dead code elimination.
const HasWakeOnLAN = true
HasWakeOnLAN is whether the binary was built with support for modular feature "Wake-on-LAN support". Specifically, it's whether the binary was NOT built with the "ts_omit_wakeonlan" build tag. It's a const so it can be used for dead code elimination.
const HasWebClient = true
HasWebClient is whether the binary was built with support for modular feature "Web client support". Specifically, it's whether the binary was NOT built with the "ts_omit_webclient" build tag. It's a const so it can be used for dead code elimination.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Source Files
¶
- buildfeatures.go
- feature_ace_enabled.go
- feature_acme_enabled.go
- feature_advertiseexitnode_enabled.go
- feature_advertiseroutes_enabled.go
- feature_appconnectors_enabled.go
- feature_aws_enabled.go
- feature_bakedroots_enabled.go
- feature_bird_enabled.go
- feature_c2n_enabled.go
- feature_cachenetmap_enabled.go
- feature_captiveportal_enabled.go
- feature_capture_enabled.go
- feature_cliconndiag_enabled.go
- feature_clientmetrics_enabled.go
- feature_clientupdate_enabled.go
- feature_cloud_enabled.go
- feature_completion_enabled.go
- feature_dbus_enabled.go
- feature_debug_enabled.go
- feature_debugeventbus_enabled.go
- feature_debugportmapper_enabled.go
- feature_desktop_sessions_enabled.go
- feature_dns_enabled.go
- feature_doctor_enabled.go
- feature_drive_enabled.go
- feature_gro_enabled.go
- feature_health_enabled.go
- feature_hujsonconf_enabled.go
- feature_identityfederation_enabled.go
- feature_iptables_enabled.go
- feature_kube_enabled.go
- feature_lazywg_enabled.go
- feature_linkspeed_enabled.go
- feature_linuxdnsfight_enabled.go
- feature_listenrawdisco_enabled.go
- feature_logtail_enabled.go
- feature_netlog_enabled.go
- feature_netstack_enabled.go
- feature_networkmanager_enabled.go
- feature_oauthkey_enabled.go
- feature_osrouter_enabled.go
- feature_outboundproxy_enabled.go
- feature_peerapiclient_enabled.go
- feature_peerapiserver_enabled.go
- feature_portlist_enabled.go
- feature_portmapper_enabled.go
- feature_posture_enabled.go
- feature_relayserver_enabled.go
- feature_resolved_enabled.go
- feature_sdnotify_enabled.go
- feature_serve_enabled.go
- feature_ssh_enabled.go
- feature_synology_enabled.go
- feature_syspolicy_enabled.go
- feature_systray_enabled.go
- feature_taildrop_enabled.go
- feature_tailnetlock_enabled.go
- feature_tap_enabled.go
- feature_tpm_enabled.go
- feature_unixsocketidentity_enabled.go
- feature_useexitnode_enabled.go
- feature_useproxy_enabled.go
- feature_usermetrics_enabled.go
- feature_useroutes_enabled.go
- feature_wakeonlan_enabled.go
- feature_webclient_enabled.go