systemd

package
v4.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectToDBUS

func ConnectToDBUS() (*dbus.Conn, error)

ConnectToDBUS returns a DBUS connection. It works both as root and non-root users.

func GetLogindConnection

func GetLogindConnection(uid int) (*godbus.Conn, error)

GetDbusConnection returns a user connection to D-BUS

func IsSystemdSessionValid

func IsSystemdSessionValid(uid int) bool

IsSystemdSessionValid checks if sessions is valid for provided rootless uid.

func SocketActivated

func SocketActivated() bool

SocketActivated determine if podman is running under the socket activation protocol Criteria is based on the expectations of "github.com/coreos/go-systemd/v22/activation"

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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