Documentation ¶
Index ¶
Constants ¶
View Source
const (
AnalyzeLogsName = "AnalyzeLogs"
)
View Source
const UnitStatusName = "UnitStatus"
Variables ¶
This section is empty.
Functions ¶
func GetSystemdUnits ¶
func GetSystemdUnits(logger *log.Logger) map[string]types.SystemdUnit
Types ¶
type AnalyzeLogs ¶
type AnalyzeLogs struct {
SystemdUnits map[string]types.SystemdUnit
}
AnalyzeLogs is a Diagnostic to check for recent problems in systemd service logs
func (AnalyzeLogs) CanRun ¶
func (d AnalyzeLogs) CanRun() (bool, error)
func (AnalyzeLogs) Check ¶
func (d AnalyzeLogs) Check() types.DiagnosticResult
func (AnalyzeLogs) Description ¶
func (d AnalyzeLogs) Description() string
func (AnalyzeLogs) Name ¶
func (d AnalyzeLogs) Name() string
type UnitStatus ¶
type UnitStatus struct {
SystemdUnits map[string]types.SystemdUnit
}
UnitStatus is a Diagnostic to check status of systemd units that are related to each other.
func (UnitStatus) CanRun ¶
func (d UnitStatus) CanRun() (bool, error)
func (UnitStatus) Check ¶
func (d UnitStatus) Check() types.DiagnosticResult
func (UnitStatus) Description ¶
func (d UnitStatus) Description() string
func (UnitStatus) Name ¶
func (d UnitStatus) Name() string
Click to show internal directories.
Click to hide internal directories.