buildfeatures
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
The buildfeatures package contains boolean constants indicating whichfeatures were included in the binary (via build tags), for use in dead codeelimination when using separate build tag protected files is impracticalor undesirable.
Index¶
Constants¶
const HasACE =trueHasACE 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 =trueHasACME 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 =trueHasAWS 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 =trueHasAdvertiseExitNode 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 =trueHasAdvertiseRoutes 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 =trueHasAppConnectors 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 =trueHasBakedRoots 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 =trueHasBird 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 =trueHasC2N 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 =trueHasCLIConnDiag 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 =trueHasCacheNetMap 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 =trueHasCaptivePortal 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 =trueHasCapture 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 =trueHasClientMetrics 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 =trueHasClientUpdate 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 =trueHasCloud 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 =trueHasCompletion 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 =trueHasDBus 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 =trueHasDNS 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 =trueHasDebug 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 =trueHasDebugEventBus 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 =trueHasDebugPortMapper 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 =trueHasDesktopSessions 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 =trueHasDoctor 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 =trueHasDrive 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 =trueHasGRO 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 =trueHasHealth 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 =trueHasHuJSONConf 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 =trueHasIPTables 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 =trueHasIdentityFederation 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 =trueHasKube 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 =trueHasLazyWG 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 =trueHasLinkSpeed 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 =trueHasLinuxDNSFight 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 =trueHasListenRawDisco 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 =trueHasLogTail 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 =trueHasNetLog 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 =trueHasNetstack 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 =trueHasNetworkManager 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 =trueHasOAuthKey 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 =trueHasOSRouter 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 =trueHasOutboundProxy 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 =trueHasPeerAPIClient 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 =trueHasPeerAPIServer 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 =trueHasPortList 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 =trueHasPortMapper 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 =trueHasPosture 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 =trueHasRelayServer 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 =trueHasResolved 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 =trueHasSDNotify 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 =trueHasSSH 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 =trueHasServe 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 =trueHasSynology 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 =trueHasSysTray 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 =trueHasSystemPolicy 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 =trueHasTPM 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 =trueHasTaildrop 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 =trueHasTailnetLock 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 =trueHasTap 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 =trueHasUnixSocketIdentity 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 =trueHasUseExitNode 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 =trueHasUseProxy 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 =trueHasUseRoutes 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 =trueHasUserMetrics 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 =trueHasWakeOnLAN 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 =trueHasWebClient 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