systemd

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2015 License: Apache-2.0 Imports: 13 Imported by: 0

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 (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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL