tailcfg: add suggest exit node UI node attribute (#11918)

Add node attribute to determine whether or not to show suggested exit
node in UI.
Updates tailscale/corp#19515

Signed-off-by: Claire Wang <claire@tailscale.com>
This commit is contained in:
Claire Wang 2024-04-29 15:20:52 -04:00 committed by GitHub
parent ce5c80d0fe
commit 5254f6de06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2256,6 +2256,9 @@ type Oauth2Token struct {
// NodeAttrStoreAppCRoutes configures the node to store app connector routes persistently. // NodeAttrStoreAppCRoutes configures the node to store app connector routes persistently.
NodeAttrStoreAppCRoutes NodeCapability = "store-appc-routes" NodeAttrStoreAppCRoutes NodeCapability = "store-appc-routes"
// NodeAttrSuggestExitNodeUI allows the currently suggested exit node to appear in the client GUI.
NodeAttrSuggestExitNodeUI NodeCapability = "suggest-exit-node-ui"
) )
// SetDNSRequest is a request to add a DNS record. // SetDNSRequest is a request to add a DNS record.