Documentation
¶
Overview ¶
Package debug provides structured debug dump collection.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiskSnapshot ¶
type DiskSnapshot struct {
Lsblk string `json:"lsblk"`
Mounts string `json:"mounts"`
Fdisk string `json:"fdisk"`
Df string `json:"df"`
}
DiskSnapshot captures disk layout and state.
type Dump ¶
type Dump struct {
System SystemSnapshot `json:"system"`
Disk DiskSnapshot `json:"disk"`
Network NetworkSnapshot `json:"network"`
Kernel KernelSnapshot `json:"kernel"`
}
Dump holds a structured debug snapshot collected on failure.
type KernelSnapshot ¶
type KernelSnapshot struct {
Dmesg string `json:"dmesg"`
Lsmod string `json:"lsmod"`
Cmdline string `json:"cmdline"`
EFIBootmgr string `json:"efibootmgr"`
}
KernelSnapshot captures kernel and boot state.
Click to show internal directories.
Click to hide internal directories.