package
22.5.0
Repository: https://github.com/coreos/go-systemd.git
Documentation: pkg.go.dev

# Functions

Deprecated: use NewWithContext instead.
NewConnection establishes a connection to a bus using a caller-supplied function.
Deprecated: use NewSystemConnectionContext instead.
NewSystemConnectionContext establishes a connection to the system bus and authenticates.
Deprecated: use NewSystemdConnectionContext instead.
NewSystemdConnectionContext establishes a private, direct connection to systemd.
Deprecated: use NewUserConnectionContext instead.
NewUserConnectionContext establishes a connection to the session bus and authenticates.
NewWithContext establishes a connection to any available bus and authenticates.
PathBusEscape sanitizes a constituent string of a dbus ObjectPath using the rules that systemd uses for serializing special characters.
PropAfter sets the After unit property.
PropBefore sets the Before unit property.
PropBindsTo sets the BindsTo unit property.
PropBoundBy sets the BoundBy unit property.
PropConflictedBy sets the ConflictedBy unit property.
PropConflicts sets the Conflicts unit property.
PropDescription sets the Description unit property.
PropExecStart sets the ExecStart service property.
PropOnFailure sets the OnFailure unit property.
PropPids sets the PIDs field of scope units used in the initial construction of the scope only and specifies the initial PIDs to add to the scope object.
PropPropagatesReloadTo sets the PropagatesReloadTo unit property.
PropRemainAfterExit sets the RemainAfterExit service property.
PropRequiredBy sets the RequiredBy unit property.
PropRequiredByOverridable sets the RequiredByOverridable unit property.
PropRequires sets the Requires unit property.
PropRequiresMountsFor sets the RequiresMountsFor unit property.
PropRequiresOverridable sets the RequiresOverridable unit property.
PropRequisite sets the Requisite unit property.
PropRequisiteOverridable sets the RequisiteOverridable unit property.
PropSlice sets the Slice unit property.
PropTriggeredBy sets the TriggeredBy unit property.
PropTriggers sets the Triggers unit property.
PropType sets the Type service property.
PropWantedBy sets the WantedBy unit property.
PropWants sets the Wants unit property.

# Constants

All sends the signal to all processes in the unit.
Control sends the signal to the control process of the unit.
Main sends the signal to the main process of the unit.

# Structs

Conn is a connection to systemd's dbus endpoint.
No description provided by the author
No description provided by the author
JobStatus holds a currently queued job definition.
No description provided by the author
PropertiesUpdate holds a map of a unit's changed properties.
No description provided by the author
No description provided by the author
SubscriptionSet returns a subscription set which is like conn.Subscribe but can filter to only return events for a set of units.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
Who can be used to specify which process to kill in the unit via the KillUnitWithTarget API.