Documentation ¶
Index ¶
- type Unit
- func (u *Unit) GetProperty(path string) (dbus.Variant, error)
- func (u *Unit) GetPropertyBool(path string) (bool, error)
- func (u *Unit) GetPropertyInt32ToInt(path string) (int, error)
- func (u *Unit) GetPropertyString(path string) (string, error)
- func (u *Unit) GetPropertyUInt64ToInt(path string) (int, error)
- func (u *Unit) GetPropertyUInt64ToUnix(path string) (time.Time, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Unit ¶
type Unit struct { UnitPath dbus.ObjectPath DbusObject dbus.BusObject ID string LoadState string ActiveState string SubState string UnitFileState string ActiveEnterTimestamp time.Time ActiveExitTimestamp time.Time InactiveEnterTimestamp time.Time InactiveExitTimestamp time.Time }
Unit struct providing some properties from dbus interface org.freedesktop.systemd1.Unit
func (*Unit) GetPropertyUInt64ToInt ¶
Click to show internal directories.
Click to hide internal directories.