Documentation
¶
Index ¶
- func ActionEnvironmentVariables(user bool) carapace.Action
- func ActionLogLevels() carapace.Action
- func ActionProperties(opts PropertiesOpts) carapace.Action
- func ActionServices(user bool) carapace.Action
- func ActionStates() carapace.Action
- func ActionTargets(user bool) carapace.Action
- func ActionUnitFiles(opts UnitFileOpts) carapace.Action
- func ActionUnitTypes() carapace.Action
- func ActionUnits(opts UnitOpts) carapace.Action
- type PropertiesOpts
- type UnitFileOpts
- type UnitOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActionEnvironmentVariables ¶
ActionEnvironmentVariables completes environment variables
SWAYSOCK (/run/user/1000/sway-ipc.1000.978.sock) WAYLAND_DISPLAY (wayland-1)
func ActionProperties ¶
func ActionProperties(opts PropertiesOpts) carapace.Action
ActionProperties completes properties for given unit
Architecture (x86-64) ConfirmSpawn (no)
func ActionServices ¶
ActionServices completes services
NetworkManager.service (Network Manager) apparmor.service (Load AppArmor profiles)
func ActionTargets ¶
ActionTargets completes targets
basic.target (Basic System) bluetooth.target (Bluetooth Support)
func ActionUnitFiles ¶ added in v1.4.0
func ActionUnitFiles(opts UnitFileOpts) carapace.Action
ActionUnitFiles completes unit files
NetworkManager.service apparmor.service
func ActionUnits ¶
ActionUnits completes units
NetworkManager.service (Network Manager) apparmor.service (Load AppArmor profiles)
Types ¶
type PropertiesOpts ¶
type UnitFileOpts ¶ added in v1.4.0
type UnitFileOpts struct {
User bool
// type
Automount bool
Mount bool
Path bool
Scope bool
Service bool
Slice bool
Socket bool
Target bool
Timer bool
// state
Alias bool
Disabled bool
Enabled bool
EnabledRuntime bool
Generated bool
Indirect bool
Static bool
Transient bool
}
func (UnitFileOpts) Default ¶ added in v1.4.0
func (o UnitFileOpts) Default() UnitFileOpts
Click to show internal directories.
Click to hide internal directories.