debug

package
v0.55.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2025 License: BSD-3-Clause Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BundleConfig

type BundleConfig struct {
	Anonymize         bool
	ClientStatus      string
	IncludeSystemInfo bool
	LogFileCount      uint32
}

type BundleGenerator

type BundleGenerator struct {
	// contains filtered or unexported fields
}

func NewBundleGenerator

func NewBundleGenerator(deps GeneratorDependencies, cfg BundleConfig) *BundleGenerator

func (*BundleGenerator) Generate

func (g *BundleGenerator) Generate() (resp string, err error)

Generate creates a debug bundle and returns the location.

type GeneratorDependencies

type GeneratorDependencies struct {
	InternalConfig *profilemanager.Config
	StatusRecorder *peer.Status
	SyncResponse   *mgmProto.SyncResponse
	LogFile        string
}

type WGIface added in v0.46.0

type WGIface interface {
	FullStats() (*configurer.Stats, error)
}

Jump to

Keyboard shortcuts

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