Documentation
¶
Index ¶
- type BusObject
- func (_m *BusObject) AddMatchSignal(iface string, member string, options ...dbus.MatchOption) *dbus.Call
- func (_m *BusObject) Call(method string, flags dbus.Flags, args ...interface{}) *dbus.Call
- func (_m *BusObject) CallWithContext(ctx context.Context, method string, flags dbus.Flags, args ...interface{}) *dbus.Call
- func (_m *BusObject) Destination() string
- func (_m *BusObject) GetProperty(p string) (dbus.Variant, error)
- func (_m *BusObject) Go(method string, flags dbus.Flags, ch chan *dbus.Call, args ...interface{}) *dbus.Call
- func (_m *BusObject) GoWithContext(ctx context.Context, method string, flags dbus.Flags, ch chan *dbus.Call, ...) *dbus.Call
- func (_m *BusObject) Path() dbus.ObjectPath
- func (_m *BusObject) RemoveMatchSignal(iface string, member string, options ...dbus.MatchOption) *dbus.Call
- func (_m *BusObject) SetProperty(p string, v interface{}) error
- func (_m *BusObject) StoreProperty(p string, value interface{}) error
- type IConn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BusObject ¶
BusObject is an autogenerated mock type for the BusObject type
func NewBusObject ¶
func NewBusObject(t mockConstructorTestingTNewBusObject) *BusObject
NewBusObject creates a new instance of BusObject. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*BusObject) AddMatchSignal ¶
func (_m *BusObject) AddMatchSignal(iface string, member string, options ...dbus.MatchOption) *dbus.Call
AddMatchSignal provides a mock function with given fields: iface, member, options
func (*BusObject) CallWithContext ¶
func (_m *BusObject) CallWithContext(ctx context.Context, method string, flags dbus.Flags, args ...interface{}) *dbus.Call
CallWithContext provides a mock function with given fields: ctx, method, flags, args
func (*BusObject) Destination ¶
Destination provides a mock function with given fields:
func (*BusObject) GetProperty ¶
GetProperty provides a mock function with given fields: p
func (*BusObject) Go ¶
func (_m *BusObject) Go(method string, flags dbus.Flags, ch chan *dbus.Call, args ...interface{}) *dbus.Call
Go provides a mock function with given fields: method, flags, ch, args
func (*BusObject) GoWithContext ¶
func (_m *BusObject) GoWithContext(ctx context.Context, method string, flags dbus.Flags, ch chan *dbus.Call, args ...interface{}) *dbus.Call
GoWithContext provides a mock function with given fields: ctx, method, flags, ch, args
func (*BusObject) Path ¶
func (_m *BusObject) Path() dbus.ObjectPath
Path provides a mock function with given fields:
func (*BusObject) RemoveMatchSignal ¶
func (_m *BusObject) RemoveMatchSignal(iface string, member string, options ...dbus.MatchOption) *dbus.Call
RemoveMatchSignal provides a mock function with given fields: iface, member, options
func (*BusObject) SetProperty ¶
SetProperty provides a mock function with given fields: p, v
func (*BusObject) StoreProperty ¶
StoreProperty provides a mock function with given fields: p, value
type IConn ¶
IConn is an autogenerated mock type for the IConn type
func NewIConn ¶
func NewIConn(t mockConstructorTestingTNewIConn) *IConn
NewIConn creates a new instance of IConn. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*IConn) AddMatchSignal ¶
func (_m *IConn) AddMatchSignal(options ...dbus.MatchOption) error
AddMatchSignal provides a mock function with given fields: options