package
0.0.0-20250312152250-ea85ec9d2454
Repository: https://github.com/snapcore/snapd.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
netplantest provides a fake implementation of the netplan dbus API for testing.
# Functions
MockConnections mocks the connection functions system and session buses.
MockOnlySessionBusAvailable makes SessionBus return the given connection.
MockOnlySystemBusAvailable makes SystemBus return the given connection.
SessionBusPrivate opens a connection to the D-Bus session bus independent of the default shared connection.
# Variables
SessionBus is like dbus.SessionBus but it avoids auto-starting a new dbus-daemon when a bus is not already available.
SystemBus is like dbus.SystemBus and is provided for completeness.