Movatterモバイル変換


[0]ホーム

URL:


doctor

package
v1.92.2Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2025 License:BSD-3-ClauseImports:3Imported by:3

Details

Repository

github.com/tailscale/tailscale

Links

Documentation

Overview

Package doctor contains more in-depth healthchecks that can be run to aid indiagnosing Tailscale issues.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcRunChecks

func RunChecks(ctxcontext.Context, loglogger.Logf, checks ...Check)

RunChecks runs a list of checks in parallel, and logs any returned errorsafter all checks have returned.

Types

typeCheck

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 logfunction, and should attempt to make as much progress as possible in errorconditions.

funcCheckFunc

func CheckFunc(namestring, run func(context.Context,logger.Logf)error)Check

CheckFunc creates a Check from a name and a function.

Source Files

View all Source files

Directories

PathSynopsis
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp