control

package
v0.0.0-...-51513de Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2017 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package systemd/control interacts with systemd units.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintUnits

func PrintUnits(w io.Writer, infos []UnitInfo)

Types

type UnitInfo

type UnitInfo struct {
	Id          string
	Description string
	LoadState   string
	ActiveState string
	SubState    string
	Following   string
	UnitPath    string
	JobId       uint32
	JobType     string
	JobPath     string
}

func ListUnits

func ListUnits(bus *dbus.Connection) (infos []UnitInfo, err error)

Jump to

Keyboard shortcuts

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