Documentation

Index

Constants

View Source
const (
	ActiveStateActive   = "active"
	ActiveStateInactive = "inactive"
	SubStateRunning     = "running"
	SubStateDead        = "dead"
)

Variables

This section is empty.

Functions

func StartUnit

func StartUnit(name string) error

func StopUnit

func StopUnit(name string) error

func UnitIsReady

func UnitIsReady(status *dbus.UnitStatus) bool

func UnitStatus

func UnitStatus(name string) (*dbus.UnitStatus, error)

Types

This section is empty.

Source Files