mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 19:15:34 +00:00
1302bd1181
Run `staticcheck` with `U1000` to find unused code. This cleans up about a half of it. I'll do the other half separately to keep PRs manageable. Updates #cleanup Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
35 lines
645 B
Go
35 lines
645 B
Go
// Copyright (c) Tailscale Inc & AUTHORS
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
package syspolicy
|
|
|
|
var stringKeys = []Key{
|
|
ControlURL,
|
|
LogTarget,
|
|
Tailnet,
|
|
ExitNodeID,
|
|
ExitNodeIP,
|
|
EnableIncomingConnections,
|
|
EnableServerMode,
|
|
ExitNodeAllowLANAccess,
|
|
EnableTailscaleDNS,
|
|
EnableTailscaleSubnets,
|
|
AdminConsoleVisibility,
|
|
NetworkDevicesVisibility,
|
|
TestMenuVisibility,
|
|
UpdateMenuVisibility,
|
|
RunExitNodeVisibility,
|
|
PreferencesMenuVisibility,
|
|
ExitNodeMenuVisibility,
|
|
AutoUpdateVisibility,
|
|
KeyExpirationNoticeTime,
|
|
PostureChecking,
|
|
}
|
|
|
|
var boolKeys = []Key{
|
|
LogSCMInteractions,
|
|
FlushDNSOnSessionUnlock,
|
|
}
|
|
|
|
var uint64Keys = []Key{}
|