Documentation ¶
Overview ¶
Package doctor contains more in-depth healthchecks that can be run to aid in diagnosing Tailscale issues.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Check ¶
type Check interface { // Name should return a name describing this check, in lower-kebab-case // (i.e. "my-check", not "MyCheck" or "my_check"). Name() string // Run executes the check, logging diagnostic information to the // provided logger function. Run(context.Context, logger.Logf) error }
Check is the interface defining a singular check.
A check should log information that it gathers using the provided log function, and should attempt to make as much progress as possible in error conditions.
Directories ¶
Path | Synopsis |
---|---|
Package ethtool provides a doctor.Check that prints diagnostic information obtained from the 'ethtool' utility on the current system.
|
Package ethtool provides a doctor.Check that prints diagnostic information obtained from the 'ethtool' utility on the current system. |
Package permissions provides a doctor.Check that prints the process permissions for the running process.
|
Package permissions provides a doctor.Check that prints the process permissions for the running process. |
Package routetable provides a doctor.Check that dumps the current system's route table to the log.
|
Package routetable provides a doctor.Check that dumps the current system's route table to the log. |
Click to show internal directories.
Click to hide internal directories.