debug

package
v0.64.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: BSD-3-Clause Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UploadDebugBundle added in v0.64.0

func UploadDebugBundle(ctx context.Context, url, managementURL, filePath string) (key string, err error)

Types

type BundleConfig

type BundleConfig struct {
	Anonymize         bool
	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
	LogPath        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