Movatterモバイル変換


[0]ホーム

URL:


buildfeatures

package
v1.92.2Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2025 License:BSD-3-ClauseImports:0Imported by:0

Details

Repository

github.com/tailscale/tailscale

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

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp