systemd

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const PropertyActiveState = "ActiveState"
View Source
const PropertyLoadState = "LoadState"

Variables

IsEnabledOutputs provides a list of valid outputs from `systemctl is-enabled UNIT…` https://www.freedesktop.org/software/systemd/man/systemctl.html#is-enabled%20UNIT%E2%80%A6

Functions

This section is empty.

Types

type ActiveState

type ActiveState string
const (
	// ActiveStateActive indicates that unit is active.
	ActiveStateActive ActiveState = "active"

	// ActiveStateReloading indicates that the unit is active and currently reloading its configuration.
	ActiveStateReloading ActiveState = "reloading"

	// ActiveStateInactive indicates that it is inactive and the previous run was successful or no previous run has taken place yet.
	ActiveStateInactive ActiveState = "inactive"

	// ActiveStateFailed indicates that it is inactive and the previous run was not successful.
	ActiveStateFailed ActiveState = "failed"

	// ActiveStateActivating indicates that the unit has previously been inactive but is currently in the process of entering an active state.
	ActiveStateActivating ActiveState = "activating"

	// ActiveStateDeactivating indicates that the unit is currently in the process of deactivation.
	ActiveStateDeactivating ActiveState = "deactivating"
)

type IsEnabledOutput

type IsEnabledOutput string
const (
	Enabled IsEnabledOutput = "enabled"

	EnabledRuntime IsEnabledOutput = "enabled-runtime"

	Linked IsEnabledOutput = "linked"

	LinkedRuntime IsEnabledOutput = "linked-runtime"

	Masked IsEnabledOutput = "masked"

	MaskedRuntime IsEnabledOutput = "masked-runtime"

	Static IsEnabledOutput = "static"

	Indirect IsEnabledOutput = "indirect"

	Disabled IsEnabledOutput = "disabled"

	Generated IsEnabledOutput = "generated"

	Transient IsEnabledOutput = "transient"
)

type LoadState

type LoadState string
const (
	LoadStateNotFound LoadState = "not-found"

	LoadStateLoaded LoadState = "loaded"

	LoadStateError LoadState = "error"

	LoadStateMasked LoadState = "masked"
)

Jump to

Keyboard shortcuts

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