Documentation ¶
Overview ¶
Package hostinfo answers questions about the host environment that Tailscale is running on.
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func DisabledEtcAptSource ¶
func DisabledEtcAptSource() bool
DisabledEtcAptSource reports whether Ubuntu (or similar) has disabled the /etc/apt/sources.list.d/tailscale.list file contents upon upgrade to a new release of the distro.
func GetOSVersion ¶
func GetOSVersion() string
GetOSVersion returns the OSVersion of current host if available.
func SetDeviceModel ¶
func SetDeviceModel(model string)
SetDeviceModel sets the device model for use in Hostinfo updates.
func SetPackage ¶
func SetPackage(v string)
SetPackage sets the packaging type for the app.
As of 2022-03-25, this is used by Android ("nogoogle" for the F-Droid build) and tsnet (set to "tsnet").
Types ¶
Click to show internal directories.
Click to hide internal directories.