systemd

package
v3.4.7 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 8 Imported by: 3

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 added in v3.4.0

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

GetDbusConnection returns a user connection to D-BUS

func IsSystemdSessionValid added in v3.4.0

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