Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cleanup ¶
type Cleanup struct {
// contains filtered or unexported fields
}
Cleanup implements garbage collection for systemd journals
type Config ¶
type Config struct { // Config specifies the common pruner configuration prune.Config // LogDir optionally specifies the directory with journal log files. // If unspecified, defaults to defaults.SystemdLogDir LogDir string // MachineIDFile optionally specifies the file to read the machine ID. // Machine ID is used to tell between active and redundant log directories. // If unspecified, defaults to defaults.SystemdMachineIDFile MachineIDFile string }
Config defines the configuration for the cleaner of obsolete journal files/directories
Click to show internal directories.
Click to hide internal directories.