systemctl

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActionEnvironmentVariables

func ActionEnvironmentVariables(user bool) carapace.Action

ActionEnvironmentVariables completes environment variables

SWAYSOCK (/run/user/1000/sway-ipc.1000.978.sock)
WAYLAND_DISPLAY (wayland-1)

func ActionLogLevels

func ActionLogLevels() carapace.Action

ActionLogLevels completes log levels

0
emerg

func ActionProperties

func ActionProperties(opts PropertiesOpts) carapace.Action

ActionProperties completes properties for given unit

Architecture (x86-64)
ConfirmSpawn (no)

func ActionServices

func ActionServices(user bool) carapace.Action

ActionServices completes services

NetworkManager.service (Network Manager)
apparmor.service (Load AppArmor profiles)

func ActionStates

func ActionStates() carapace.Action

ActionStates completes states

dead
running

func ActionTargets

func ActionTargets(user bool) carapace.Action

ActionTargets completes targets

basic.target (Basic System)
bluetooth.target (Bluetooth Support)

func ActionUnitTypes

func ActionUnitTypes() carapace.Action

ActionUnitTypes completes unit types

service
mount

func ActionUnits

func ActionUnits(opts UnitOpts) carapace.Action

ActionUnits completes units

NetworkManager.service (Network Manager)
apparmor.service (Load AppArmor profiles)

Types

type PropertiesOpts

type PropertiesOpts struct {
	User  bool
	Units []string
}

type UnitOpts added in v1.3.2

type UnitOpts struct {
	User     bool
	Active   bool
	Inactive bool
}

func (UnitOpts) Default added in v1.3.2

func (o UnitOpts) Default() UnitOpts

Jump to

Keyboard shortcuts

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