systemd

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	config.InternalConfig

	Units               []string        `toml:"units"`
	ExpectedActiveState string          `toml:"expected_active_state"`
	Timeout             config.Duration `toml:"timeout"`
	Concurrency         int             `toml:"concurrency"`
	State               StateCheck      `toml:"state"`
	// contains filtered or unexported fields
}

func (*Instance) Gather

func (ins *Instance) Gather(q *safe.Queue[*types.Event])

func (*Instance) Init

func (ins *Instance) Init() error

type StateCheck

type StateCheck struct {
	Severity string `toml:"severity"`
}

type SystemdPlugin

type SystemdPlugin struct {
	config.InternalConfig
	Instances []*Instance `toml:"instances"`
}

func (*SystemdPlugin) GetInstances

func (p *SystemdPlugin) GetInstances() []plugins.Instance

func (*SystemdPlugin) RegisterDiagnoseTools added in v0.10.0

func (p *SystemdPlugin) RegisterDiagnoseTools(registry *diagnose.ToolRegistry)

Jump to

Keyboard shortcuts

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