Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CleanupResult ¶
type CleanupResult struct {
Before DiskUsage
After DiskUsage
DockerPruneOut string
LogRotationOut string
JournalVacuumOut string
Errors []error
}
CleanupResult summarises what disk-cleanup did.
type DiskUsage ¶
type DiskUsage struct {
// UsedPercent is the percentage of the disk that is in use (0-100).
UsedPercent int
// TotalGB is the total disk capacity in gigabytes.
TotalGB float64
// UsedGB is the used disk space in gigabytes.
UsedGB float64
// FreeGB is the free disk space in gigabytes.
FreeGB float64
}
DiskUsage holds before/after disk utilisation for a cleanup run.
Click to show internal directories.
Click to hide internal directories.