dbus

package
Version: v0.0.0-...-c41844d Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: GPL-3.0 Imports: 7 Imported by: 59

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBus

type DBus interface {
	proxy.Object
	// contains filtered or unexported methods
}

func NewDBus

func NewDBus(conn *dbus.Conn) DBus

type MockDBus

type MockDBus struct {
	MockInterfaceDbusIfc // interface org.freedesktop.DBus
	proxy.MockObject
}

type MockInterfaceDbusIfc

type MockInterfaceDbusIfc struct {
	mock.Mock
}

func (*MockInterfaceDbusIfc) AddMatch

func (v *MockInterfaceDbusIfc) AddMatch(flags dbus.Flags, arg0 string) error

func (*MockInterfaceDbusIfc) ConnectNameAcquired

func (v *MockInterfaceDbusIfc) ConnectNameAcquired(cb func(arg0 string)) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceDbusIfc) ConnectNameLost

func (v *MockInterfaceDbusIfc) ConnectNameLost(cb func(arg0 string)) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceDbusIfc) ConnectNameOwnerChanged

func (v *MockInterfaceDbusIfc) ConnectNameOwnerChanged(cb func(arg0 string, arg1 string, arg2 string)) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceDbusIfc) GetAdtAuditSessionData

func (v *MockInterfaceDbusIfc) GetAdtAuditSessionData(flags dbus.Flags, arg0 string) ([]uint8, error)

func (*MockInterfaceDbusIfc) GetConnectionCredentials

func (v *MockInterfaceDbusIfc) GetConnectionCredentials(flags dbus.Flags, arg0 string) (map[string]dbus.Variant, error)

func (*MockInterfaceDbusIfc) GetConnectionSELinuxSecurityContext

func (v *MockInterfaceDbusIfc) GetConnectionSELinuxSecurityContext(flags dbus.Flags, arg0 string) ([]uint8, error)

func (*MockInterfaceDbusIfc) GetConnectionUnixProcessID

func (v *MockInterfaceDbusIfc) GetConnectionUnixProcessID(flags dbus.Flags, arg0 string) (uint32, error)

func (*MockInterfaceDbusIfc) GetConnectionUnixUser

func (v *MockInterfaceDbusIfc) GetConnectionUnixUser(flags dbus.Flags, arg0 string) (uint32, error)

func (*MockInterfaceDbusIfc) GetId

func (v *MockInterfaceDbusIfc) GetId(flags dbus.Flags) (string, error)

func (*MockInterfaceDbusIfc) GetNameOwner

func (v *MockInterfaceDbusIfc) GetNameOwner(flags dbus.Flags, arg0 string) (string, error)

func (*MockInterfaceDbusIfc) GoAddMatch

func (v *MockInterfaceDbusIfc) GoAddMatch(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call

func (*MockInterfaceDbusIfc) GoGetAdtAuditSessionData

func (v *MockInterfaceDbusIfc) GoGetAdtAuditSessionData(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call

func (*MockInterfaceDbusIfc) GoGetConnectionCredentials

func (v *MockInterfaceDbusIfc) GoGetConnectionCredentials(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call

func (*MockInterfaceDbusIfc) GoGetConnectionSELinuxSecurityContext

func (v *MockInterfaceDbusIfc) GoGetConnectionSELinuxSecurityContext(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call

func (*MockInterfaceDbusIfc) GoGetConnectionUnixProcessID

func (v *MockInterfaceDbusIfc) GoGetConnectionUnixProcessID(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call

func (*MockInterfaceDbusIfc) GoGetConnectionUnixUser

func (v *MockInterfaceDbusIfc) GoGetConnectionUnixUser(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call

func (*MockInterfaceDbusIfc) GoGetId

func (v *MockInterfaceDbusIfc) GoGetId(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceDbusIfc) GoGetNameOwner

func (v *MockInterfaceDbusIfc) GoGetNameOwner(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call

func (*MockInterfaceDbusIfc) GoHello

func (v *MockInterfaceDbusIfc) GoHello(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceDbusIfc) GoListActivatableNames

func (v *MockInterfaceDbusIfc) GoListActivatableNames(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceDbusIfc) GoListNames

func (v *MockInterfaceDbusIfc) GoListNames(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceDbusIfc) GoListQueuedOwners

func (v *MockInterfaceDbusIfc) GoListQueuedOwners(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call

func (*MockInterfaceDbusIfc) GoNameHasOwner

func (v *MockInterfaceDbusIfc) GoNameHasOwner(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call

func (*MockInterfaceDbusIfc) GoReleaseName

func (v *MockInterfaceDbusIfc) GoReleaseName(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call

func (*MockInterfaceDbusIfc) GoReloadConfig

func (v *MockInterfaceDbusIfc) GoReloadConfig(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceDbusIfc) GoRemoveMatch

func (v *MockInterfaceDbusIfc) GoRemoveMatch(flags dbus.Flags, ch chan *dbus.Call, arg0 string) *dbus.Call

func (*MockInterfaceDbusIfc) GoRequestName

func (v *MockInterfaceDbusIfc) GoRequestName(flags dbus.Flags, ch chan *dbus.Call, arg0 string, arg1 uint32) *dbus.Call

func (*MockInterfaceDbusIfc) GoStartServiceByName

func (v *MockInterfaceDbusIfc) GoStartServiceByName(flags dbus.Flags, ch chan *dbus.Call, arg0 string, arg1 uint32) *dbus.Call

func (*MockInterfaceDbusIfc) GoUpdateActivationEnvironment

func (v *MockInterfaceDbusIfc) GoUpdateActivationEnvironment(flags dbus.Flags, ch chan *dbus.Call, arg0 map[string]string) *dbus.Call

func (*MockInterfaceDbusIfc) Hello

func (v *MockInterfaceDbusIfc) Hello(flags dbus.Flags) (string, error)

func (*MockInterfaceDbusIfc) ListActivatableNames

func (v *MockInterfaceDbusIfc) ListActivatableNames(flags dbus.Flags) ([]string, error)

func (*MockInterfaceDbusIfc) ListNames

func (v *MockInterfaceDbusIfc) ListNames(flags dbus.Flags) ([]string, error)

func (*MockInterfaceDbusIfc) ListQueuedOwners

func (v *MockInterfaceDbusIfc) ListQueuedOwners(flags dbus.Flags, arg0 string) ([]string, error)

func (*MockInterfaceDbusIfc) NameHasOwner

func (v *MockInterfaceDbusIfc) NameHasOwner(flags dbus.Flags, arg0 string) (bool, error)

func (*MockInterfaceDbusIfc) ReleaseName

func (v *MockInterfaceDbusIfc) ReleaseName(flags dbus.Flags, arg0 string) (uint32, error)

func (*MockInterfaceDbusIfc) ReloadConfig

func (v *MockInterfaceDbusIfc) ReloadConfig(flags dbus.Flags) error

func (*MockInterfaceDbusIfc) RemoveMatch

func (v *MockInterfaceDbusIfc) RemoveMatch(flags dbus.Flags, arg0 string) error

func (*MockInterfaceDbusIfc) RequestName

func (v *MockInterfaceDbusIfc) RequestName(flags dbus.Flags, arg0 string, arg1 uint32) (uint32, error)

func (*MockInterfaceDbusIfc) StartServiceByName

func (v *MockInterfaceDbusIfc) StartServiceByName(flags dbus.Flags, arg0 string, arg1 uint32) (uint32, error)

func (*MockInterfaceDbusIfc) UpdateActivationEnvironment

func (v *MockInterfaceDbusIfc) UpdateActivationEnvironment(flags dbus.Flags, arg0 map[string]string) error

Jump to

Keyboard shortcuts

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