Documentation
¶
Index ¶
- func Compact(args ...string) []string
- func ExtendTimeout(ctx context.Context, extra_time time.Duration)
- func IntersectHoles(list *[]string, list2 []string)
- func NewSystemdClient(ctx context.Context) (*dbus.Conn, error)
- func SetCloseOnExec(fd int, close bool) (err error)
- func SortedStringKeys[Value any](m map[string]Value) []string
- func UnitsStatus(ctx context.Context, sd *dbus.Conn, specs UnitStatusSpecs) ([]dbus.UnitStatus, error)
- type Tabbed
- type UnitStatusSpec
- type UnitStatusSpecs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IntersectHoles ¶
func NewSystemdClient ¶ added in v0.0.45
func SetCloseOnExec ¶ added in v0.0.45
func SortedStringKeys ¶ added in v0.0.15
func UnitsStatus ¶ added in v0.0.45
func UnitsStatus(ctx context.Context, sd *dbus.Conn, specs UnitStatusSpecs) ([]dbus.UnitStatus, error)
Types ¶
type UnitStatusSpec ¶ added in v0.0.45
type UnitStatusSpec struct {
Name string
Pattern string
Units []dbus.UnitStatus
// contains filtered or unexported fields
}
type UnitStatusSpecs ¶ added in v0.0.45
type UnitStatusSpecs []*UnitStatusSpec
func (UnitStatusSpecs) ToTable ¶ added in v0.0.45
func (specs UnitStatusSpecs) ToTable() table.Table
Click to show internal directories.
Click to hide internal directories.