tailperf: register feature tag

This commit is contained in:
Ubuntu committed 2026-05-19 17:08:18 +00:00
1 parent 815cbc0cd6
commit 4f4f915e04
7 files changed
+33

No files matched your search

+1
View File
@@ -233,6 +233,7 @@ tailscale.com/cmd/tailscale dependencies: (generated by github.com/tailscale/dep
💣 tailscale.com/safesocket from tailscale.com/client/local+
tailscale.com/syncs from tailscale.com/control/controlhttp+
tailscale.com/tailcfg from tailscale.com/client/local+
tailscale.com/tailperf from tailscale.com/cmd/tailscale/cli
tailscale.com/tempfork/spf13/cobra from tailscale.com/cmd/tailscale/cli/ffcomplete+
tailscale.com/tka from tailscale.com/client/local+
tailscale.com/tsconst from tailscale.com/net/netmon+
+1
View File
@@ -140,6 +140,7 @@ tailscale.com/cmd/tailscaled dependencies: (generated by github.com/tailscale/de
tailscale.com/safesocket from tailscale.com/cmd/tailscaled+
tailscale.com/syncs from tailscale.com/cmd/tailscaled+
tailscale.com/tailcfg from tailscale.com/client/tailscale/apitype+
tailscale.com/tailperf from tailscale.com/cmd/tailscale/cli
tailscale.com/tempfork/heap from tailscale.com/wgengine/magicsock
tailscale.com/tempfork/spf13/cobra from tailscale.com/cmd/tailscale/cli/ffcomplete+
tailscale.com/tka from tailscale.com/control/controlclient+
+2
View File
@@ -309,6 +309,7 @@ tailscale.com/cmd/tailscaled dependencies: (generated by github.com/tailscale/de
tailscale.com/feature/syspolicy from tailscale.com/feature/condregister+
tailscale.com/feature/taildrop from tailscale.com/feature/condregister
tailscale.com/feature/tailnetlock from tailscale.com/feature/condregister
tailscale.com/feature/tailperf from tailscale.com/feature/condregister
L tailscale.com/feature/tap from tailscale.com/feature/condregister
tailscale.com/feature/tpm from tailscale.com/feature/condregister
L 💣 tailscale.com/feature/tundevstats from tailscale.com/feature/condregister
@@ -395,6 +396,7 @@ tailscale.com/cmd/tailscaled dependencies: (generated by github.com/tailscale/de
LD 💣 tailscale.com/ssh/tailssh from tailscale.com/feature/ssh
tailscale.com/syncs from tailscale.com/cmd/tailscaled+
tailscale.com/tailcfg from tailscale.com/client/local+
tailscale.com/tailperf from tailscale.com/feature/tailperf
tailscale.com/tempfork/acme from tailscale.com/ipn/ipnlocal
tailscale.com/tempfork/heap from tailscale.com/wgengine/magicsock
tailscale.com/tempfork/httprec from tailscale.com/feature/c2n
@@ -0,0 +1,13 @@
// Copyright (c) Tailscale Inc & contributors
// SPDX-License-Identifier: BSD-3-Clause
// Code generated by gen.go; DO NOT EDIT.
//go:build ts_omit_tailperf
package buildfeatures
// HasTailperf is whether the binary was built with support for modular feature "Tailperf performance testing support".
// Specifically, it's whether the binary was NOT built with the "ts_omit_tailperf" build tag.
// It's a const so it can be used for dead code elimination.
const HasTailperf = false
@@ -0,0 +1,13 @@
// Copyright (c) Tailscale Inc & contributors
// SPDX-License-Identifier: BSD-3-Clause
// Code generated by gen.go; DO NOT EDIT.
//go:build !ts_omit_tailperf
package buildfeatures
// HasTailperf is whether the binary was built with support for modular feature "Tailperf performance testing support".
// Specifically, it's whether the binary was NOT built with the "ts_omit_tailperf" build tag.
// It's a const so it can be used for dead code elimination.
const HasTailperf = true
+2
View File
@@ -1,6 +1,8 @@
// Copyright (c) Tailscale Inc & contributors
// SPDX-License-Identifier: BSD-3-Clause
//go:build !ts_omit_tailperf
package condregister
import _ "tailscale.com/feature/tailperf"
+1
View File
@@ -270,6 +270,7 @@ var Features = map[FeatureTag]FeatureMeta{
"peerapiclient", "peerapiserver", // assume Taildrop is both sides for now
},
},
"tailperf": {Sym: "Tailperf", Desc: "Tailperf performance testing support", Deps: []FeatureTag{"peerapiserver"}},
"tailnetlock": {Sym: "TailnetLock", Desc: "Tailnet Lock support"},
"tap": {Sym: "Tap", Desc: "Experimental Layer 2 (ethernet) support"},
"tpm": {Sym: "TPM", Desc: "TPM support"},