osdiag

package
v1.66.4 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: BSD-3-Clause Imports: 0 Imported by: 2

Documentation

Overview

Package osdiag provides loggers for OS-specific diagnostic information.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SupportInfo added in v1.66.0

func SupportInfo(reason LogSupportInfoReason) map[string]any

SupportInfo obtains OS-specific diagnostic information for troubleshooting and support. The reason governs the verbosity of the output.

Types

type LogSupportInfoReason

type LogSupportInfoReason int

LogSupportInfoReason is an enumeration indicating the reason for logging support info.

const (
	LogSupportInfoReasonStartup   LogSupportInfoReason = iota + 1 // tailscaled is starting up.
	LogSupportInfoReasonBugReport                                 // a bugreport is in the process of being gathered.
)

Directories

Path Synopsis
internal
wsc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL